From 056e7c573707d0dda161d7815c5994c7cb9bddd1 Mon Sep 17 00:00:00 2001 From: juan131 Date: Sat, 8 Feb 2020 11:25:29 +0100 Subject: [PATCH] [bitnami/prometheus-thanos] Thanos ports Signed-off-by: juan131 --- bitnami/prometheus-operator/Chart.yaml | 2 +- .../prometheus-operator/templates/prometheus/prometheus.yaml | 4 ++-- .../templates/prometheus/thanos-service.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bitnami/prometheus-operator/Chart.yaml b/bitnami/prometheus-operator/Chart.yaml index abb875d2635933..45105c47b947fe 100644 --- a/bitnami/prometheus-operator/Chart.yaml +++ b/bitnami/prometheus-operator/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 0.35.1 description: The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of Prometheus instances. name: prometheus-operator -version: 0.12.0 +version: 0.12.1 keywords: - prometheus - alertmanager diff --git a/bitnami/prometheus-operator/templates/prometheus/prometheus.yaml b/bitnami/prometheus-operator/templates/prometheus/prometheus.yaml index fc024bc091fb1c..c4abc52f7bb402 100644 --- a/bitnami/prometheus-operator/templates/prometheus/prometheus.yaml +++ b/bitnami/prometheus-operator/templates/prometheus/prometheus.yaml @@ -153,10 +153,10 @@ spec: - --grpc-address=0.0.0.0:10901 - --http-address=0.0.0.0:10902 ports: - - name: grpc-thanos + - name: grpc containerPort: 10901 protocol: TCP - - name: http-thanos + - name: http containerPort: 10902 protocol: TCP {{- end }} diff --git a/bitnami/prometheus-operator/templates/prometheus/thanos-service.yaml b/bitnami/prometheus-operator/templates/prometheus/thanos-service.yaml index d4cecb33c0541a..cb4a61e54a19ec 100644 --- a/bitnami/prometheus-operator/templates/prometheus/thanos-service.yaml +++ b/bitnami/prometheus-operator/templates/prometheus/thanos-service.yaml @@ -22,9 +22,9 @@ spec: clusterIP: {{ .Values.prometheus.thanos.service.clusterIP }} {{- end }} ports: - - name: grpc-thanos + - name: grpc port: {{ .Values.prometheus.thanos.service.port }} - targetPort: grpc-thanos + targetPort: grpc protocol: TCP {{- if and .Values.prometheus.thanos.service.nodePort (or (eq .Values.prometheus.thanos.service.type "NodePort") (eq .Values.prometheus.thanos.service.type "LoadBalancer")) }} nodePort: {{ .Values.prometheus.thanos.service.nodePort }}