diff --git a/stable/redis-ha/Chart.yaml b/stable/redis-ha/Chart.yaml index 9a11e90d45..d502579711 100644 --- a/stable/redis-ha/Chart.yaml +++ b/stable/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 3.3.1 +version: 3.3.2 appVersion: 5.0.3 description: Highly available Kubernetes implementation of Redis 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/redis-ha-statefulset.yaml b/stable/redis-ha/templates/redis-ha-statefulset.yaml index bedc625cc0..fd4ebca1a7 100644 --- a/stable/redis-ha/templates/redis-ha-statefulset.yaml +++ b/stable/redis-ha/templates/redis-ha-statefulset.yaml @@ -77,7 +77,7 @@ spec: {{- $replicas := int .Values.replicas -}} {{- range $i := until $replicas }} - name: SENTINEL_ID_{{ $i }} - value: {{ printf "%s\nindex: %d" (include "labels.standard" $) $i | sha1sum }} + value: {{ printf "%s\n%s\nindex: %d" (include "redis-ha.name" $) ($.Release.Name) $i | sha1sum }} {{ end -}} {{- if .Values.auth }} - name: AUTH