File tree Expand file tree Collapse file tree 12 files changed +21
-19
lines changed
Expand file tree Collapse file tree 12 files changed +21
-19
lines changed Original file line number Diff line number Diff line change 88 tls :
99 - hosts :
1010 - " {{ $.Release.Name }}.local"
11+ annotations :
12+ nginx.ingress.kubernetes.io/default-backend : " {{ $.Release.Name }}-default-backend"
1113oauth2-proxy :
1214 checkDeprecation : false
1315 config :
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ metadata:
66 labels :
77 app : {{ template "oauth2-proxy.name" . }}
88{{- include "oauth2-proxy.labels" . | indent 4 }}
9- {{- if .Values.authenticatedEmailsFile.annotations }}
9+ {{- with .Values.authenticatedEmailsFile.annotations }}
1010 annotations :
11- {{ toYaml .Values.authenticatedEmailsFile.annotations | indent 4 }}
11+ {{ tpl ( toYaml . ) $ | indent 4 }}
1212{{- end }}
1313 name : {{ template "oauth2-proxy.fullname" . }}-accesslist
1414 namespace : {{ template "oauth2-proxy.namespace" $ }}
Original file line number Diff line number Diff line change 33apiVersion : v1
44kind : ConfigMap
55metadata :
6- {{- if .Values.config.annotations }}
6+ {{- with .Values.config.annotations }}
77 annotations :
8- {{ toYaml .Values.config.annotations | indent 4 }}
8+ {{ tpl ( toYaml . ) $ | indent 4 }}
99{{- end }}
1010 labels :
1111 app : {{ template "oauth2-proxy.name" . }}
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ metadata:
44 labels :
55 app : {{ template "oauth2-proxy.name" . }}
66{{- include "oauth2-proxy.labels" . | indent 4 }}
7- {{- if .Values.deploymentAnnotations }}
7+ {{- with .Values.deploymentAnnotations }}
88 annotations :
9- {{ toYaml .Values.deploymentAnnotations | indent 4 }}
9+ {{ tpl ( toYaml . ) $ | indent 4 }}
1010 {{- end }}
1111 name : {{ template "oauth2-proxy.fullname" . }}
1212 namespace : {{ template "oauth2-proxy.namespace" $ }}
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ metadata:
55 labels :
66 app : {{ template "oauth2-proxy.name" . }}
77{{- include "oauth2-proxy.labels" . | indent 4 }}
8- {{- if .Values.autoscaling.annotations }}
8+ {{- with .Values.autoscaling.annotations }}
99 annotations :
10- {{ toYaml .Values.autoscaling.annotations | indent 8 }}
10+ {{ tpl ( toYaml . ) $ | indent 8 }}
1111 {{- end }}
1212 name : {{ template "oauth2-proxy.fullname" . }}
1313 namespace : {{ template "oauth2-proxy.namespace" $ }}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ metadata:
1717 namespace : {{ template "oauth2-proxy.namespace" $ }}
1818{{- with .Values.ingress.annotations }}
1919 annotations :
20- {{ toYaml . | indent 4 }}
20+ {{ tpl ( toYaml . ) $ | indent 4 }}
2121{{- end }}
2222spec :
2323 {{- if and .Values.ingress.className ( eq "true" ( include "ingress.supportsIngressClassName" . ) ) }}
Original file line number Diff line number Diff line change 77apiVersion : v1
88kind : Secret
99metadata :
10- {{- if .Values.alphaConfig.annotations }}
11- annotations : {{- toYaml .Values.alphaConfig.annotations | nindent 4 }}
10+ {{- with .Values.alphaConfig.annotations }}
11+ {{ tpl ( toYaml . ) $ | indent 4 }}
1212{{- end }}
1313 labels :
1414 app : {{ template "oauth2-proxy.name" . }}
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ metadata:
77 labels :
88 app : {{ template "oauth2-proxy.name" . }}
99{{- include "oauth2-proxy.labels" . | indent 4 }}
10- {{- if .Values.authenticatedEmailsFile.annotations }}
10+ {{- with .Values.authenticatedEmailsFile.annotations }}
1111 annotations :
12- {{ toYaml .Values.authenticatedEmailsFile.annotations | indent 4 }}
12+ {{ tpl ( toYaml . ) $ | indent 4 }}
1313{{- end }}
1414 name : {{ template "oauth2-proxy.fullname" . }}-accesslist
1515 namespace : {{ template "oauth2-proxy.namespace" $ }}
Original file line number Diff line number Diff line change 22apiVersion : v1
33kind : Secret
44metadata :
5- {{- if .Values.config.annotations }}
5+ {{- with .Values.config.annotations }}
66 annotations :
7- {{ toYaml .Values.config.annotations | indent 4 }}
7+ {{ tpl ( toYaml . ) $ | indent 4 }}
88{{- end }}
99 labels :
1010 app : {{ template "oauth2-proxy.name" . }}
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ metadata:
66{{- include "oauth2-proxy.labels" . | indent 4 }}
77 name : {{ template "oauth2-proxy.fullname" . }}
88 namespace : {{ template "oauth2-proxy.namespace" $ }}
9- {{- if .Values.service.annotations }}
9+ {{- with .Values.service.annotations }}
1010 annotations :
11- {{ toYaml .Values.service.annotations | indent 4 }}
11+ {{ tpl ( toYaml . ) $ | indent 4 }}
1212{{- end }}
1313spec :
1414{{- if (or (eq .Values.service.type "ClusterIP") (empty .Values.service.type)) }}
You can’t perform that action at this time.
0 commit comments