File tree 2 files changed +3
-3
lines changed
bitnami/redis-cluster/templates
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
REDIS_STATUS_FILE=/tmp/.redis_cluster_check
21
21
22
22
{{- if .Values.usePassword }}
23
- export REDISCLI_AUTH={{ ternary "$(< $REDIS_PASSWORD_FILE) " "$REDIS_PASSWORD" .Values.usePasswordFiles }}
23
+ export REDISCLI_AUTH={{ ternary "`cat $REDIS_PASSWORD_FILE` " "$REDIS_PASSWORD" .Values.usePasswordFiles }}
24
24
{{- end }}
25
25
response=$(
26
26
timeout -s 15 $1 \
79
79
set -e
80
80
81
81
{{- if .Values.usePassword }}
82
- export REDISCLI_AUTH={{ ternary "$(< $REDIS_PASSWORD_FILE) " "$REDIS_PASSWORD" .Values.usePasswordFiles }}
82
+ export REDISCLI_AUTH={{ ternary "`cat $REDIS_PASSWORD_FILE` " "$REDIS_PASSWORD" .Values.usePasswordFiles }}
83
83
{{- end }}
84
84
response=$(
85
85
timeout -s 15 $1 \
Original file line number Diff line number Diff line change 81
81
. /opt/bitnami/scripts/libos.sh
82
82
83
83
{{- if .Values.usePassword }}
84
- export REDISCLI_AUTH={{ ternary "$(< $REDIS_PASSWORD_FILE) " "$REDIS_PASSWORD" .Values.usePasswordFiles }}
84
+ export REDISCLI_AUTH={{ ternary "`cat $REDIS_PASSWORD_FILE` " "$REDIS_PASSWORD" .Values.usePasswordFiles }}
85
85
{{- end }}
86
86
# Backwards compatibility change
87
87
if ! [[ -f /opt/bitnami/redis/etc/redis.conf ]]; then
You can’t perform that action at this time.
0 commit comments