1
0
Fork 0

feat(deploy): add cors ingress headers

This commit is contained in:
Vojtěch Mareš 2024-06-30 16:36:32 +02:00
parent df41b45905
commit 5e1149d1ff
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -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