diff --git a/stable/prometheus-operator/Chart.yaml b/stable/prometheus-operator/Chart.yaml index 212dfa8302..1a6fecfbae 100644 --- a/stable/prometheus-operator/Chart.yaml +++ b/stable/prometheus-operator/Chart.yaml @@ -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 diff --git a/stable/prometheus-operator/templates/prometheus-operator/service.yaml b/stable/prometheus-operator/templates/prometheus-operator/service.yaml index eca78ff8cd..2a47686cda 100644 --- a/stable/prometheus-operator/templates/prometheus-operator/service.yaml +++ b/stable/prometheus-operator/templates/prometheus-operator/service.yaml @@ -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 }}