No way to provide more set input headers on request other than snippet annotations in ingress.
I am currently using configuration-snippet to set input headers and clear input headers. annotations: nginx.ingress.kubernetes.io/configuration-snippet: | more_clear_input_headers "WL-Proxy-Client-IP" "WL-Proxy-SSL"; more_set_input_headers "X-Forwarded-Proto: https"; more_set_input_headers "WL-Proxy-SSL: true";
There's a CVE reported on this https://github.com/kubernetes/kubernetes/issues/126811 and the CVE occurs only when SnippetAnnotations are allowed
I am looking for alternate solution and I did not find any.
Can we have annotations for set input headers anc clear input headers as well like we have custom-headers?