Configuring nginx-ingress for E2E tests Configuring nginx-ingress for E2E tests kubernetes kubernetes

Configuring nginx-ingress for E2E tests


It sounds like either configuration-snippet or a full-blown custom template may do what you want, along with the nginx if and add_header using something like:

if ($http_user_agent ~ "My Sekrit Agent/666") {    add_header Authentication "Basic dXNlcm5hbWU6cGFzc3dvcmQ=";}