diff --git a/stable/redis-ha/Chart.yaml b/stable/redis-ha/Chart.yaml index ed14951892..1e474a3257 100644 --- a/stable/redis-ha/Chart.yaml +++ b/stable/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 2.2.0 +version: 2.2.1 appVersion: 4.0.8-r0 description: Highly available Redis cluster with multiple sentinels and standbys. icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png diff --git a/stable/redis-ha/templates/NOTES.txt b/stable/redis-ha/templates/NOTES.txt index 4859c51814..fff018d0f2 100644 --- a/stable/redis-ha/templates/NOTES.txt +++ b/stable/redis-ha/templates/NOTES.txt @@ -18,7 +18,7 @@ To connect to your Redis server: {{- else }} 1. Run a Redis pod that you can use as a client: - kubectl exec -it {{ template "redis-ha.fullname" . }}-master-0 bash + kubectl exec -it $(kubectl get pod -o jsonpath='{range .items[*]}{.metadata.name} {.status.containerStatuses[0].state}{"\n"}{end}' -l redis-role=master | grep running | awk '{print $1}') bash 2. Connect using the Redis CLI: