From 05c57f7ea39a0336cdc97e2e7b0803cbc9ad5d85 Mon Sep 17 00:00:00 2001 From: boernd Date: Fri, 26 Nov 2021 17:09:01 +0100 Subject: [PATCH] [bitnami/thanos] Fix thanos query grpc nodeport (#8250) --- bitnami/thanos/Chart.yaml | 2 +- bitnami/thanos/templates/query/service.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/thanos/Chart.yaml b/bitnami/thanos/Chart.yaml index 9ab604e9f..7e2c27c83 100644 --- a/bitnami/thanos/Chart.yaml +++ b/bitnami/thanos/Chart.yaml @@ -28,4 +28,4 @@ name: thanos sources: - https://github.com/bitnami/bitnami-docker-thanos - https://thanos.io -version: 8.1.0 +version: 8.1.1 diff --git a/bitnami/thanos/templates/query/service.yaml b/bitnami/thanos/templates/query/service.yaml index f994dffcf..49f3366bc 100644 --- a/bitnami/thanos/templates/query/service.yaml +++ b/bitnami/thanos/templates/query/service.yaml @@ -45,8 +45,8 @@ spec: targetPort: grpc protocol: TCP name: grpc - {{- if and (or (eq $query.service.type "NodePort") (eq $query.service.type "LoadBalancer")) $query.service.nodePorts.http }} - nodePort: {{ $query.service.nodePorts.http }} + {{- if and (or (eq $query.service.type "NodePort") (eq $query.service.type "LoadBalancer")) $query.service.nodePorts.grpc }} + nodePort: {{ $query.service.nodePorts.grpc }} {{- else if eq $query.service.type "ClusterIP" }} nodePort: null {{- end }}