Skip to content

Commit 3732729

Browse files
misba7moabu
andauthored
fix: deploy protected endpoints ingresses when nginx-ingress is enabled (#2694)
* fix: deploy only when nginx ingress enabled Signed-off-by: Amro Misbah <amromisba7@gmail.com> * fix: add missing end Signed-off-by: Amro Misbah <amromisba7@gmail.com> --------- Signed-off-by: Amro Misbah <amromisba7@gmail.com> Co-authored-by: Mohammad Abudayyeh <47318409+moabu@users.noreply.github.com>
1 parent b6e855c commit 3732729

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

charts/gluu-all-in-one/templates/auth-server-protected-ingress.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{{ if index .Values "nginx-ingress" "enabled" -}}
2+
13
{{ if index .Values "auth-server" "ingress" "authServerProtectedToken" -}}
24
{{ $fullName := include "flex-all-in-one.fullname" . -}}
35
{{- $ingressPath := index .Values "nginx-ingress" "ingress" "path" -}}
@@ -105,3 +107,5 @@ spec:
105107
port:
106108
number: 8080
107109
{{- end }}
110+
111+
{{- end }}

0 commit comments

Comments
 (0)