feat(ente): custom CORS proxy for s3 storage
Some checks failed
Renovate / renovate (push) Has been cancelled
Some checks failed
Renovate / renovate (push) Has been cancelled
This commit is contained in:
parent
dd042e7750
commit
b4fdc19005
3 changed files with 21 additions and 0 deletions
|
@ -27,6 +27,7 @@ labels:
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- resources/namespace.yaml
|
- resources/namespace.yaml
|
||||||
|
- resources/cors-proxy/spinapp.yaml
|
||||||
- resources/museum/db/db.yaml
|
- resources/museum/db/db.yaml
|
||||||
- resources/museum/db/user.yaml
|
- resources/museum/db/user.yaml
|
||||||
- resources/museum/cache.yaml
|
- resources/museum/cache.yaml
|
||||||
|
|
11
ente/resources/cors-proxy/spinapp.yaml
Normal file
11
ente/resources/cors-proxy/spinapp.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
apiVersion: core.spinkube.dev/v1alpha1
|
||||||
|
kind: SpinApp
|
||||||
|
metadata:
|
||||||
|
name: s3-cors-proxy
|
||||||
|
spec:
|
||||||
|
image: "code.icb4dc0.de/infrastructure/functions:latest"
|
||||||
|
executor: containerd-shim-spin
|
||||||
|
replicas: 2
|
||||||
|
variables:
|
||||||
|
- name: s3_endpoint_url
|
||||||
|
value: "https://fsn1.your-objectstorage.com"
|
9
ente/resources/cors-proxy/spinexecutor.yaml
Normal file
9
ente/resources/cors-proxy/spinexecutor.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
apiVersion: core.spinkube.dev/v1alpha1
|
||||||
|
kind: SpinAppExecutor
|
||||||
|
metadata:
|
||||||
|
name: containerd-shim-spin
|
||||||
|
spec:
|
||||||
|
createDeployment: true
|
||||||
|
deploymentConfig:
|
||||||
|
installDefaultCACerts: true
|
||||||
|
runtimeClassName: wasmtime-spin-v2
|
Loading…
Reference in a new issue