-
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
BackendConfig support for user-defined response headers #1268
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Edit: I ended up deploying an nginx sidecar in the pod, used I'm trying to serve an app (Rocket chat) with ingress-gce/managed certs and need to be able to set content security policy response headers so it can be iframed at another domain. |
Hi, |
Would love to see this implemented please. |
Any progress in that? |
Everyone interested, please, add your stars to the correspondining issue here: https://issuetracker.google.com/issues/191700241 |
That issue is private (or deleted?). Added a thumb-up on this one. Hoping someone will notice it. Apparently, this is a dupe of an earlier request: #1106 |
👍 need :D |
Any progress or news on this by any chance? |
Any word on this? |
Hello guys, do you have a workaround to be able to headers like Content-Security-Policy ? It's really annoying |
This definitely would be great to have +1 |
Need this to add custom headers in response. |
Any updates on this? The level of engagement and support here is very frustrating. As previously stated the link is private so how can we even start it!? https://issuetracker.google.com/issues/191700241 This is a basic feature. I want to use GKE native ingresses to take advantage of the global GCE load balancing features but it still does not support custom response headers. |
An progress? This is the only feature that is lacking for us to migrate to ingress-gce. |
+1 |
1 similar comment
+1 |
+1. Any progress on that? |
+1 |
we all need it) |
+1 we also need this feature ;) |
Any updates? |
+1 |
It took me about one hour of trying to get this done until I finally reached this issue... It's such a common requirement to be able to set headers such as When using NGINX as Ingress we can simple set So there is really no way to do this with the A big +1 on this issue from me as well... |
Custom response headers can now be configured using the BackendConfig CRD. This feature is available in new GKE 1.25+ clusters. dup #1106 |
Great news! Could you please share a link to documentation or source code explaining how to use it? I checked https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration but it does not seem to mention this. |
I've just updated my cluster to 1.25.4-gke.2100, and as far as I can tell this feature is not yet available ( |
I gave an update in #1106 (comment). The initial rollout only was for newly created clusters that were at least 1.25. We have since rolled out the upgrade for existing 1.25 clusters. The upgrade will occur during your set maintenance windows. |
EDIT: actually it looks like it just takes some time? Will report back in a little while. EDIT2: it seemed to take a few more minutes than I expected but the above works. |
We have support for user-defined request headers for https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#request_headers
Would be great if BackendConfig also had support for user-defined response headers as per
https://cloud.google.com/load-balancing/docs/custom-headers#working-with-response
The text was updated successfully, but these errors were encountered: