diff --git a/charts/redis-ha/Chart.yaml b/charts/redis-ha/Chart.yaml index 1bf99e4..35c662f 100644 --- a/charts/redis-ha/Chart.yaml +++ b/charts/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 4.35.8 +version: 4.35.9 appVersion: 8.2.2 description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management icon: https://img.icons8.com/external-tal-revivo-shadow-tal-revivo/24/external-redis-an-in-memory-data-structure-project-implementing-a-distributed-logo-shadow-tal-revivo.png diff --git a/charts/redis-ha/templates/_configs.tpl b/charts/redis-ha/templates/_configs.tpl index 320b08d..f0604cf 100644 --- a/charts/redis-ha/templates/_configs.tpl +++ b/charts/redis-ha/templates/_configs.tpl @@ -327,7 +327,7 @@ {{- end }} {{- define "vars.sh" }} - HOSTNAME="$(hostname)" + HOSTNAME="$(cat /proc/sys/kernel/hostname)" {{- if .Values.ro_replicas }} RO_REPLICAS="{{ .Values.ro_replicas }}" {{- end }} diff --git a/charts/redis-ha/values.yaml b/charts/redis-ha/values.yaml index d7b2bcf..4ebcc8a 100644 --- a/charts/redis-ha/values.yaml +++ b/charts/redis-ha/values.yaml @@ -1104,5 +1104,6 @@ splitBrainDetection: failureThreshold: 5 exec: command: - - pidof - sh + - -c + - test -d /proc/1