-
Notifications
You must be signed in to change notification settings - Fork 303
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
How to enable Access-Control-Allow-Origin from gce-ingress #1646
Comments
Can you elaborate where did you get this error? When sending traffic to the ingress VIP? |
/triage needs-information |
NGINX ingress allows you to do this...
Is there an equivalent for the gce-ingress? I can't find any security features on it, the ingress is accessible to anyone externally. |
/kind feature |
+1 |
+1 :) |
+1 |
Work to allow users to specify custom response headers using the BackendConfig is in progress. I will update this ticket again once it it is available in GKE. |
+1 |
Custom response headers can now be configured through the BackendConfig CRD. This feature is available for new GKE 1.25+ clusters. dup #1106 |
I see that 1106 has been closed out, but it's unclear how this can be achieved as I'm not really seeing any documentation or examples for this new feature. Can anyone provide me an example so I don't have to check the box in the IAP console? (apologies for the repost, I deleted for a period where I convinced myself that my issues something else) |
Hi @swetharepakula, it appears this isn't documented yet here ? Is this definitely GA ? There's only a mention of request (not response) headers. Thanks. |
That is correct the field is not yet documented, but the field should be available for 1.25+ clusters. We will work to update GKE public docs |
The current solution using |
We are facing an error related of CORS policy:
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Is there any way to allow it from gce-ingress annotations ?
Please help.
The text was updated successfully, but these errors were encountered: