From 08697d23b87ce56315f3c487d2709eb315c253df Mon Sep 17 00:00:00 2001 From: David Constenla <1520001+daconstenla@users.noreply.github.com> Date: Mon, 25 Sep 2023 09:41:43 +0200 Subject: [PATCH] Be explicit about the change breaking the values signature And adjust variable names Co-authored-by: zeritti <47476160+zeritti@users.noreply.github.com> Signed-off-by: David Constenla <1520001+daconstenla@users.noreply.github.com> --- charts/prometheus-redis-exporter/Chart.yaml | 2 +- charts/prometheus-redis-exporter/templates/deployment.yaml | 2 +- charts/prometheus-redis-exporter/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/prometheus-redis-exporter/Chart.yaml b/charts/prometheus-redis-exporter/Chart.yaml index f34023edfe7b..969c24054b48 100644 --- a/charts/prometheus-redis-exporter/Chart.yaml +++ b/charts/prometheus-redis-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v1.54.0 description: Prometheus exporter for Redis metrics name: prometheus-redis-exporter -version: 5.6.1 +version: 6.0.0 home: https://github.com/oliver006/redis_exporter sources: - https://github.com/oliver006/redis_exporter diff --git a/charts/prometheus-redis-exporter/templates/deployment.yaml b/charts/prometheus-redis-exporter/templates/deployment.yaml index 64886ad4b9ec..2e12783872d5 100644 --- a/charts/prometheus-redis-exporter/templates/deployment.yaml +++ b/charts/prometheus-redis-exporter/templates/deployment.yaml @@ -55,7 +55,7 @@ spec: - name: REDIS_ADDR {{- if .Values.redisAddressConfig.enabled }} valueFrom: - {{- if .Values.redisAddressConfig.isASecret }} + {{- if .Values.redisAddressConfig.isSecret }} secretKeyRef: {{- else }} configMapKeyRef: diff --git a/charts/prometheus-redis-exporter/values.yaml b/charts/prometheus-redis-exporter/values.yaml index 60c3c6988f34..9c8e27393ef9 100644 --- a/charts/prometheus-redis-exporter/values.yaml +++ b/charts/prometheus-redis-exporter/values.yaml @@ -64,7 +64,7 @@ redisAddressConfig: # configure `REDIS_ADDR` from a configmap enabled: false # if `true` the `REDIS_ADDR` is sourced on a secret instead of a configmap - isASecret: false + isSecret: false # Use existing configmap (ignores redisAddress) source: name: ""