mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
bf: remove chart ref from sentinel ID gen (#12358)
Signed-off-by: Salim <salim.salaues@scality.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
8643953e37
commit
410dc09566
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user