Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Nov 18, 2024
1 parent b24c990 commit d6ecb4d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions kubernetes/system/monitoring/base/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/auth-url: "https://oauth2.ninebasetwo.net/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://oauth2.ninebasetwo.net/oauth2/start?rd=$scheme://$host$request_uri"
nginx.ingress.kubernetes.io/configuration-snippet: |
auth_request_set $token $upstream_http_x_auth_request_access_token;
proxy_set_header X-Access-Token $token;
spec:
ingressClassName: nginx
rules:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/system/oauth2-proxy/base/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
- host: oauth2.ninebasetwo.net
http:
paths:
- path: /oauth2
- path: /
pathType: Prefix
backend:
service:
Expand Down
1 change: 1 addition & 0 deletions kubernetes/system/oauth2-proxy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ config:
cookie_domains = [ ".ninebasetwo.net" ]
cookie_secure = true
redirect_url = "https://oauth2.ninebasetwo.net/oauth2/callback"
proxy_prefix = "/oauth2"
# Custom configuration file: oauth2_proxy.cfg
# configFile: |-
# pass_basic_auth = false
Expand Down

0 comments on commit d6ecb4d

Please sign in to comment.