feat(deploy): add cors ingress headers
This commit is contained in:
parent
df41b45905
commit
5e1149d1ff
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,9 @@ ingress:
|
|||
host: staging.yggdrasil.vmdevel.cz
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-dns-production
|
||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||
nginx.ingress.kubernetes.io/cors-allow-origin: "https://staging.midgard.vmdevel.cz,http://localhost:5173"
|
||||
nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, PUT, DELETE"
|
||||
|
||||
replicas: 2
|
||||
|
||||
|
|
|
|||
Reference in a new issue