|
|
|
@ -48,6 +48,12 @@ kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
|
nginx.ingress.kubernetes.io/Access-Control-Allow-Origin: '*'
|
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-auth-token,Pagination
|
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-methods: 'PUT, GET, POST, OPTIONS'
|
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-origin: '*'
|
|
|
|
|
nginx.ingress.kubernetes.io/enable-cors: 'true'
|
|
|
|
|
nginx.ingress.kubernetes.io/service-weight: ''
|
|
|
|
|
name: api-ingress
|
|
|
|
|
spec:
|
|
|
|
|
rules:
|
|
|
|
@ -67,6 +73,12 @@ kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
|
nginx.ingress.kubernetes.io/Access-Control-Allow-Origin: '*'
|
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-auth-token,Pagination
|
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-methods: 'PUT, GET, POST, OPTIONS'
|
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-origin: '*'
|
|
|
|
|
nginx.ingress.kubernetes.io/enable-cors: 'true'
|
|
|
|
|
nginx.ingress.kubernetes.io/service-weight: ''
|
|
|
|
|
name: demo-ingress
|
|
|
|
|
spec:
|
|
|
|
|
rules:
|
|
|
|
@ -86,6 +98,12 @@ kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/ingress.class: "nginx"
|
|
|
|
|
nginx.ingress.kubernetes.io/Access-Control-Allow-Origin: '*'
|
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization,x-auth-token,Pagination
|
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-methods: 'PUT, GET, POST, OPTIONS'
|
|
|
|
|
nginx.ingress.kubernetes.io/cors-allow-origin: '*'
|
|
|
|
|
nginx.ingress.kubernetes.io/enable-cors: 'true'
|
|
|
|
|
nginx.ingress.kubernetes.io/service-weight: ''
|
|
|
|
|
name: cms-api-ingress
|
|
|
|
|
spec:
|
|
|
|
|
rules:
|
|
|
|
|