mirror of
https://github.com/bitnami/charts.git
synced 2026-03-11 07:17:45 +08:00
Synchronize upstreamed folder to 47cf906b5
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: redis
|
||||
version: 8.0.16
|
||||
version: 8.0.17
|
||||
appVersion: 5.0.5
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -179,6 +179,10 @@ spec:
|
||||
printf "\nsentinel auth-pass {{ .Values.sentinel.masterSet }} $REDIS_PASSWORD" >> /opt/bitnami/redis-sentinel/etc/sentinel.conf
|
||||
{{- end }}
|
||||
fi
|
||||
echo "Getting information about current running sentinels"
|
||||
# Get information from existing sentinels
|
||||
existing_sentinels=$(timeout -s 9 {{ .Values.sentinel.initialCheckTimeout }} redis-cli --raw -h {{ template "redis.fullname" . }} -a $REDIS_PASSWORD -p {{ .Values.sentinel.service.sentinelPort }} SENTINEL sentinels {{ .Values.sentinel.masterSet }})
|
||||
echo "$existing_sentinels" | awk -f /health/parse_sentinels.awk | tee -a /opt/bitnami/redis-sentinel/etc/sentinel.conf
|
||||
|
||||
redis-server /opt/bitnami/redis-sentinel/etc/sentinel.conf --sentinel
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user