Has anyone setup an ingress yml file to use a secret? I authenticate using a client cert but then I need to authenticate to Kibana using basic authentication. (fyi - i send the client cert info as run_user_as in a different header). So instead of hard coding the Authorization part i’d like to grab the username and password from a cert. Has anyone been able to make this work?
Specifically i’m sending to Kibana the Authentication header:
nginx.ingress.kubernetes..io/configuration-snippet: | proxy_set_header Authorization 'Basic @#$@$@#$@#@#';
What i’d like is:
nginx.ingress.kubernetes..io/configuration-snippet: | proxy_set_header Authentication <some value from a secret>