--> <h1id=e2e-test-suite-for-ingress-nginx-controller>e2e test suite for <ahref=https://github.com/kubernetes/ingress-nginx/tree/main/>Ingress NGINX Controller</a><aclass=headerlinkhref=#e2e-test-suite-for-ingress-nginx-controllertitle="Permanent link"> ¶</a></h1><h3id=geoip2><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/geoip2.go#L37>Geoip2</a><aclass=headerlinkhref=#geoip2title="Permanent link"> ¶</a></h3><ul><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/geoip2.go#L46>should include geoip2 line in config when enabled and db file exists</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/geoip2.go#L70>should only allow requests from specific countries</a></li></ul><h3id=security-global-auth-url><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L34>[Security] global-auth-url</a><aclass=headerlinkhref=#security-global-auth-urltitle="Permanent link"> ¶</a></h3><ul><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L85>should return status code 401 when request any protected service</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L102>should return status code 200 when request whitelisted (via no-auth-locations) service and 401 when request protected service</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L126>should return status code 200 when request whitelisted (via ingress annotation) service and 401 when request protected service</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L155>should still return status code 200 after auth backend is deleted using cache</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L197>should proxy_method method when global-auth-method is configured</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L210>should add custom error page when global-auth-signin url is configured</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L223>should add auth headers when global-auth-response-headers is configured</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L237>should set request-redirect when global-auth-request-redirect is configured</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L250>should set snippet when global external auth is configured</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L326>user retains cookie by default</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L337>user does not retain cookie if upstream returns error status code</a></li><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/global_external_auth.go#L348>user with global-auth-always-set-cookie key in configmap retains cookie if upstream returns error status code</a></li></ul><h3id=security-pod-security-policies><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/pod_security_policy.go#L40>[Security] Pod Security Policies</a><aclass=headerlinkhref=#security-pod-security-policiestitle="Permanent link"> ¶</a></h3><ul><li><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/pod_security_policy.go#L43>should be running with a Pod Security Policy</a></li></ul><h3id=log-format-><ahref=https://github.com/kubernetes/ingress-nginx/tree/main/test/e2e/settings/log-format.go#L28>log-format-*</a><aclass=headerlinkhref=#log-f