amazon-apigateway-ingress-controller
amazon-apigateway-ingress-controller copied to clipboard
Cors?
Is there a way to add the nginx cors annotations using the apigateway ingress? I've tried adding the following annotations:
apigateway.ingress.kubernetes.io/enable-cors: "true"
apigateway.ingress.kubernetes.io/cors-allow-methods: "DELETE, PUT, GET, POST, OPTIONS"
apigateway.ingress.kubernetes.io/cors-allow-origin: "*"
apigateway.ingress.kubernetes.io/cors-allow-credentials: "true"
And
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-methods: "DELETE, PUT, GET, POST, OPTIONS"
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
But neither result in the cors headers coming through.
Thanks, Craig
No this feature is not supported yet.