Skip to content

Commit

Permalink
test oauth2-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
locmai committed Apr 20, 2024
1 parent ce00981 commit 57a2ce8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions platform/templates/coroot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ spec:
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
nginx.ingress.kubernetes.io/auth-url: "https://coroot.{{ .Values.global.domain }}/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://coroot.{{ .Values.global.domain }}/oauth2/start?rd=$escaped_request_uri"
# external-dns.alpha.kubernetes.io/cloudflare-proxied: 'true'
# external-dns.alpha.kubernetes.io/target: {{ .Values.global.env }}-humble-tunnel.{{ .Values.global.domain }}
hosts:
- host: &host coroot.{{ .Values.global.domain }}
paths:
Expand All @@ -69,8 +67,8 @@ kind: Ingress
metadata:
name: "coroot-auth-proxy"
annotations:
external-dns.alpha.kubernetes.io/target: "{{ .Values.global.env }}-humble-tunnel.{{ .Values.global.domain }}"
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
# external-dns.alpha.kubernetes.io/target: "{{ .Values.global.env }}-humble-tunnel.{{ .Values.global.domain }}"
# external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
nginx.ingress.kubernetes.io/proxy-body-size: 50m
namespace: dex
spec:
Expand Down

0 comments on commit 57a2ce8

Please sign in to comment.