feat: allow custom labels in server ingress (#575)

Signed-off-by: Artyom Bakhtin <a@bakhtin.net>
This commit is contained in:
Artyom Bakhtin 2021-02-11 13:40:56 +03:00 committed by GitHub
parent e141b401fe
commit 1aea2c4179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

@ -14,6 +14,9 @@ metadata:
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- range $key, $value := .Values.server.ingress.labels }}
{{ $key }}: {{ $value | quote }}
{{- end }}
annotations:
{{- range $key, $value := .Values.server.ingress.annotations }}
{{ $key }}: {{ $value | quote }}