bf: remove chart ref from sentinel ID gen (#12358)

Signed-off-by: Salim <salim.salaues@scality.com>
This commit is contained in:
Salim Salaues
2019-03-20 05:57:09 -07:00
committed by Kubernetes Prow Robot
parent 8643953e37
commit 410dc09566
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
@@ -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