Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cors? #13

Open
cmthomps opened this issue Apr 10, 2020 · 1 comment
Open

Cors? #13

cmthomps opened this issue Apr 10, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@cmthomps
Copy link

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

@Magizhchi Magizhchi added the enhancement New feature or request label May 10, 2020
@Magizhchi
Copy link

No this feature is not supported yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants