[stable/oauth2-proxy] Avoid Ingress.metadata.annotations with a null value (#17618)

Signed-off-by: ayoub mrini <amrini@wiremind.fr>
This commit is contained in:
machine424
2019-10-11 05:33:41 -07:00
committed by Kubernetes Prow Robot
parent 1e866bd0e1
commit 0fb4c12b3a
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: oauth2-proxy
version: 1.0.0
version: 1.0.1
apiVersion: v1
appVersion: 4.0.0
home: http://www.videntity.com/
+3 -3
View File
@@ -11,10 +11,10 @@ metadata:
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
name: {{ template "oauth2-proxy.fullname" . }}
{{- with .Values.ingress.annotations }}
annotations:
{{- range $key, $value := .Values.ingress.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{ toYaml . | indent 4 }}
{{- end }}
spec:
rules:
{{- range $host := .Values.ingress.hosts }}