From a9e207d80dba89ad3f9d0b16ef2e376df585673f Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Fri, 22 Nov 2024 18:08:12 +0100 Subject: [PATCH] feat(ente): custom CORS proxy for s3 storage --- ente/resources/cors-proxy/spinapp.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ente/resources/cors-proxy/spinapp.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"