-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Description
OAuth2-Proxy Version
7.12.0
Provider
oidc
Current Behaviour of your Problem
For instances, we want to protect serviceA, serviceB, serviceC:
currently, we added followings for the above 3 ingress files:
nginx.ingress.kubernetes.io/auth-url: "https://mydomain/pauth2proxy/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://mydomain/pauth2proxyoauth2/start?rd=$escaped_request_uri"
if we want to protect all service in k8s, is it possible that configure it in ingress controller once and not configure it in each service ingress?
Thanks in advance
SImon
Configuration details or additional information
nginx.ingress.kubernetes.io/auth-url: "https://mydomain/pauth2proxy/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://mydomain/pauth2proxyoauth2/start?rd=$escaped_request_uri"
Steps To Reproduce
No response