skip to Main Content

nginx ingress use k8s secret as HTTP header

I am using nginx ingress with a setup like this: nginx.ingress.kubernetes.io/auth-url: http://api/v1/introspect nginx.ingress.kubernetes.io/auth-method: POST nginx.ingress.kubernetes.io/auth-response-headers: X-User-Auth nginx.ingress.kubernetes.io/auth-snippet: | proxy_set_header auth-header "authheaderhere=="; My question is simple but not sure if the answer is: how can I define the ingress without hardcoding…

VIEW QUESTION
Back To Top
Search