diff --git a/ente/kustomization.yaml b/ente/kustomization.yaml index 292bacf..4f0d2bb 100644 --- a/ente/kustomization.yaml +++ b/ente/kustomization.yaml @@ -27,6 +27,7 @@ labels: resources: - resources/namespace.yaml + - resources/cors-proxy/spinapp.yaml - resources/museum/db/db.yaml - resources/museum/db/user.yaml - resources/museum/cache.yaml diff --git a/ente/resources/cors-proxy/spinapp.yaml b/ente/resources/cors-proxy/spinapp.yaml new file mode 100644 index 0000000..9742ffa --- /dev/null +++ b/ente/resources/cors-proxy/spinapp.yaml @@ -0,0 +1,11 @@ +apiVersion: core.spinoperator.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"