From 3f1534e5947e4331cbcb217d29ff24dcfdfd075a Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sun, 4 Feb 2024 11:59:20 +0100 Subject: [PATCH] fix(thanos): Use correct port for thanos query --- .../thanos/monitoring/templates/thanos-query-deployment.yaml | 2 +- argocd/thanos/monitoring/values.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/argocd/thanos/monitoring/templates/thanos-query-deployment.yaml b/argocd/thanos/monitoring/templates/thanos-query-deployment.yaml index bce771a..ded8652 100644 --- a/argocd/thanos/monitoring/templates/thanos-query-deployment.yaml +++ b/argocd/thanos/monitoring/templates/thanos-query-deployment.yaml @@ -49,7 +49,7 @@ spec: - --endpoint=dnssrv+_grpc._tcp.thanos-store.thanos.svc.cluster.local:10901 - --endpoint=dnssrv+_grpc._tcp.thanos-receive-ingestor-default.thanos.svc.cluster.local:10901 {{- range .Values.clusters }} - - --endpoint=_grpc._tcp.{{ .thanosEndpoint }}:10901 + - "--endpoint=_grpc._tcp.{{ .thanosEndpoint }}:{{ .thanosPort }}" {{- end }} - --query.auto-downsampling env: diff --git a/argocd/thanos/monitoring/values.yaml b/argocd/thanos/monitoring/values.yaml index d629d9f..c9f643e 100644 --- a/argocd/thanos/monitoring/values.yaml +++ b/argocd/thanos/monitoring/values.yaml @@ -1,2 +1,3 @@ clusters: - - thanosEndpoint: 10.0.0.4 \ No newline at end of file + - thanosEndpoint: 10.0.0.4 + thanosPort: 30901 \ No newline at end of file