From 57a2ce8f097f469edf43f29fef0e23c3ebda18d4 Mon Sep 17 00:00:00 2001 From: Loc Mai Date: Sun, 21 Apr 2024 01:51:31 +0700 Subject: [PATCH] test oauth2-proxy --- platform/templates/coroot.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/platform/templates/coroot.yaml b/platform/templates/coroot.yaml index 85dd74d8..a077c124 100644 --- a/platform/templates/coroot.yaml +++ b/platform/templates/coroot.yaml @@ -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: @@ -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: