Hi all!
I have a cluster kubernetes running in the latest version and I'm trying to setup Custom Response Headers and Custom Request Headers via Backend Config. I followed the documentation from google to apply it but it's not working.
https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#request_headers
The manifest are beeing applyed but the configurations on google no.
Welcome to Google Cloud Community!
Since you're able to review this guide, you can also try to follow this exercise guide wherein you can try to implement the custom headers.
You may also check this link on creating custom headers in backend services via console or CLI.
You can also use below sample manifest file below for Ingress as a guide.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginx-ingress
annotations:
cloud.google.com/backend-config: '{"default": "my-backendconfig"}'
spec:
ingressClassName: gce
-
-
-
For reference added information, you can check this following links:
I hope this information is helpful.
If you need further assistance, you can always file a ticket on our support team.
Did you correctly annotate your Service?
Are the request headers not working as well?