fix(ente): properly implement CORS policy
All checks were successful
Renovate / renovate (push) Successful in 1m28s
All checks were successful
Renovate / renovate (push) Successful in 1m28s
This commit is contained in:
parent
1b593c6f9c
commit
10a2941b36
4 changed files with 2 additions and 30 deletions
|
@ -1,15 +1,9 @@
|
|||
{
|
||||
"CORSRules": [
|
||||
{
|
||||
"AllowedOrigins": ["https://ente.icb4dc0.de"],
|
||||
"AllowedOrigins": ["*"],
|
||||
"AllowedMethods": ["GET", "PUT", "POST"],
|
||||
"AllowedHeaders": [
|
||||
"Authorization",
|
||||
"Content-Type",
|
||||
"x-amz-date",
|
||||
"x-amz-content-sha256",
|
||||
"x-amz-user-agent"
|
||||
],
|
||||
"AllowedHeaders": ["*"],
|
||||
"ExposeHeaders": [
|
||||
"x-amz-server-side-encryption",
|
||||
"x-amz-request-id",
|
||||
|
|
|
@ -27,8 +27,6 @@ labels:
|
|||
|
||||
resources:
|
||||
- resources/namespace.yaml
|
||||
- resources/cors-proxy/spinexecutor.yaml
|
||||
- resources/cors-proxy/spinapp.yaml
|
||||
- resources/museum/db/db.yaml
|
||||
- resources/museum/db/user.yaml
|
||||
- resources/museum/cache.yaml
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
apiVersion: core.spinkube.dev/v1alpha1
|
||||
kind: SpinApp
|
||||
metadata:
|
||||
name: s3-cors-proxy
|
||||
spec:
|
||||
image: "code.icb4dc0.de/infrastructure/functions:latest"
|
||||
executor: ente-containerd-shim-spin
|
||||
replicas: 2
|
||||
variables:
|
||||
- name: s3_endpoint_url
|
||||
value: "https://fsn1.your-objectstorage.com"
|
|
@ -1,9 +0,0 @@
|
|||
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