feat(ente): custom CORS proxy for s3 storage
Some checks failed
Renovate / renovate (push) Failing after 1m13s

This commit is contained in:
Peter 2024-11-22 18:08:12 +01:00
parent dd042e7750
commit 8165a655ab
Signed by: prskr
GPG key ID: F56BED6903BC5E37
3 changed files with 22 additions and 0 deletions

View file

@ -27,6 +27,8 @@ labels:
resources: resources:
- resources/namespace.yaml - resources/namespace.yaml
- resources/cors-proxy/spinexecutor.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

View 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"

View 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