From b5600383bcc9adae34cfd8d6ab426a72dd0a1fa0 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Fri, 1 Feb 2019 01:13:57 -0700 Subject: [PATCH] [stable/prometheus-operator] Removed duplicate nodePort in prometheus service (#9684) * Removed duplicate nodePort in prometheus service Signed-off-by: Benjamin Lee * Bumped version Signed-off-by: Benjamin Lee * [stable/prometheus-operator] Merged upstream master and bumped version again Signed-off-by: Benjamin Lee --- stable/prometheus-operator/Chart.yaml | 2 +- stable/prometheus-operator/templates/prometheus/service.yaml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/stable/prometheus-operator/Chart.yaml b/stable/prometheus-operator/Chart.yaml index a13ef3d699..ec58a3e2cf 100644 --- a/stable/prometheus-operator/Chart.yaml +++ b/stable/prometheus-operator/Chart.yaml @@ -9,7 +9,7 @@ name: prometheus-operator sources: - https://github.com/coreos/prometheus-operator - https://coreos.com/operators/prometheus -version: 2.1.3 +version: 2.1.4 appVersion: 0.26.0 home: https://github.com/coreos/prometheus-operator keywords: diff --git a/stable/prometheus-operator/templates/prometheus/service.yaml b/stable/prometheus-operator/templates/prometheus/service.yaml index 831a881425..fa53aece4c 100644 --- a/stable/prometheus-operator/templates/prometheus/service.yaml +++ b/stable/prometheus-operator/templates/prometheus/service.yaml @@ -33,9 +33,6 @@ spec: nodePort: {{ .Values.prometheus.service.nodePort }} {{- end }} port: 9090 - {{- if eq .Values.prometheus.service.type "NodePort" }} - nodePort: {{ .Values.prometheus.service.nodePort }} - {{- end }} targetPort: web selector: app: prometheus