Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Support]: how to configure in ingress controller for all services #3226

Copy link
Copy link
@SimonLiuhd

Description

@SimonLiuhd
Issue body actions

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.