From d2de442e920b01b7e7a8d1a0a7143afe3a9fdc8d Mon Sep 17 00:00:00 2001 From: "Federico A. Corazza" <20555025+facorazza@users.noreply.github.com> Date: Sun, 23 Jun 2024 13:56:19 +0200 Subject: [PATCH] Update prometheus parameters --- charts/popeye/templates/cronjob.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/popeye/templates/cronjob.yaml b/charts/popeye/templates/cronjob.yaml index 91dc47e2..f188c74d 100644 --- a/charts/popeye/templates/cronjob.yaml +++ b/charts/popeye/templates/cronjob.yaml @@ -43,10 +43,10 @@ spec: - --force-exit-zero=true - --out={{ .Values.cronJob.outputFormat }} {{- if and (eq .Values.cronJob.outputFormat "prometheus") (.Values.cronJob.prometheus.pushgatewayAddress) }} - - --pushgateway-address={{ .Values.cronJob.prometheus.pushgatewayAddress }} + - --push-gtwy-url={{ .Values.cronJob.prometheus.pushgatewayAddress }} {{- if .Values.cronJob.prometheus.basicAuth.enabled }} - - --pushgateway-basic-auth-user={{ .Values.cronJob.prometheus.basicAuth.user }} - - --pushgateway-basic-auth-pass=$PUSHGATEWAY_BASIC_AUTH_PASSWORD + - --push-gtwy-user={{ .Values.cronJob.prometheus.basicAuth.user }} + - --push-gtwy-password=$PUSHGATEWAY_BASIC_AUTH_PASSWORD {{- end }} {{- end }} {{- if .Values.cronJob.s3.bucket }}