From e413679993ae5618cf94bf1386cbd7f82537b3d0 Mon Sep 17 00:00:00 2001 From: Alejandro Moreno <47833905+alemorcuq@users.noreply.github.com> Date: Mon, 30 Sep 2019 10:47:37 +0200 Subject: [PATCH] Show correct secret name (#17541) Signed-off-by: Alejandro Moreno --- stable/redis/Chart.yaml | 2 +- stable/redis/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/redis/Chart.yaml b/stable/redis/Chart.yaml index 551b24ccbd..6541bbb174 100644 --- a/stable/redis/Chart.yaml +++ b/stable/redis/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: redis -version: 9.2.0 +version: 9.2.1 appVersion: 5.0.5 description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. keywords: diff --git a/stable/redis/templates/NOTES.txt b/stable/redis/templates/NOTES.txt index e275c5243a..f152a06b00 100644 --- a/stable/redis/templates/NOTES.txt +++ b/stable/redis/templates/NOTES.txt @@ -45,7 +45,7 @@ Redis can be accessed via port {{ .Values.redisPort }} on the following DNS name {{ if .Values.usePassword }} To get your password run: - export REDIS_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "redis.fullname" . }} -o jsonpath="{.data.redis-password}" | base64 --decode) + export REDIS_PASSWORD=$(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "redis.secretName" . }} -o jsonpath="{.data.redis-password}" | base64 --decode) {{- end }} To connect to your Redis server: