Add bool to extraLabels. Fix tls indentation

This commit is contained in:
Stian Ovrevage 2019-10-02 14:09:55 +02:00 committed by Artem Navoiev
parent 4fb63d7d61
commit ef6e01b1fa
2 changed files with 6 additions and 2 deletions

View file

@ -8,7 +8,9 @@ metadata:
{{- end }}
labels:
{{- include "victoria-metrics.vminsert.labels" . | nindent 4 }}
{{ if .Values.vminsert.ingress.extraLabels }}
{{ toYaml .Values.vminsert.ingress.extraLabels | indent 4 }}
{{ end }}
name: {{ template "victoria-metrics.vminsert.fullname" . }}
spec:
rules:
@ -23,7 +25,7 @@ spec:
servicePort: http
{{- end -}}
{{- if .Values.vminsert.ingress.tls }}
tls:
tls:
{{ toYaml .Values.vminsert.ingress.tls | indent 4 }}
{{- end -}}
{{- end -}}

View file

@ -8,7 +8,9 @@ metadata:
{{- end }}
labels:
{{- include "victoria-metrics.vmselect.labels" . | nindent 4 }}
{{ if .Values.vmselect.ingress.extraLabels }}
{{ toYaml .Values.vmselect.ingress.extraLabels | indent 4 }}
{{ end }}
name: {{ template "victoria-metrics.vmselect.fullname" . }}
spec:
rules:
@ -23,7 +25,7 @@ spec:
servicePort: http
{{- end -}}
{{- if .Values.vmselect.ingress.tls }}
tls:
tls:
{{ toYaml .Values.vmselect.ingress.tls | indent 4 }}
{{- end -}}
{{- end -}}