Merge pull request #6401 from ivanov-aleksander/fix/annotations

Fix controller service annotations
This commit is contained in:
Kubernetes Prow Robot 2020-11-01 12:18:51 -08:00 committed by GitHub
commit 340850447f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,9 @@
apiVersion: v1
kind: Service
metadata:
{{- if .Values.controller.service.annotations }}
annotations: {{ toYaml .Values.controller.service.annotations | nindent 4 }}
annotations:
{{- range $key, $value := .Values.controller.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
labels:
{{- include "ingress-nginx.labels" . | nindent 4 }}