service labels shall also be reflected on prometheusOperator (#19360)

Signed-off-by: Karsten Ludwig Hauser <K.Hauser@intershop.de>
This commit is contained in:
Karsten Ludwig Hauser
2019-12-05 01:46:31 -08:00
committed by Kubernetes Prow Robot
parent 2eb6d2da61
commit c7fec74f0f
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ sources:
- https://github.com/coreos/kube-prometheus
- https://github.com/coreos/prometheus-operator
- https://coreos.com/operators/prometheus
version: 8.3.1
version: 8.3.2
appVersion: 0.34.0
tillerVersion: ">=2.12.0"
home: https://github.com/coreos/prometheus-operator
@@ -7,6 +7,9 @@ metadata:
labels:
app: {{ template "prometheus-operator.name" . }}-operator
{{ include "prometheus-operator.labels" . | indent 4 }}
{{- if .Values.prometheusOperator.service.labels }}
{{ toYaml .Values.prometheusOperator.service.labels | indent 4 }}
{{- end }}
{{- if .Values.prometheusOperator.service.annotations }}
annotations:
{{ toYaml .Values.prometheusOperator.service.annotations | indent 4 }}