Ability to add labels for ingress

This commit is contained in:
nirsv
2019-11-20 14:29:31 +02:00
committed by GitHub
parent 9f1ff85c74
commit 1ef9e121a8

View File

@@ -8,6 +8,9 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
{{- range $key, $value := .Values.ingress.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
annotations:
{{- if .Values.ingress.certManager }}
kubernetes.io/tls-acme: "true"