diff --git a/HelmChart/Public/oneuptime/templates/_helpers.tpl b/HelmChart/Public/oneuptime/templates/_helpers.tpl index fec34a7e0d1..83f81dd4494 100644 --- a/HelmChart/Public/oneuptime/templates/_helpers.tpl +++ b/HelmChart/Public/oneuptime/templates/_helpers.tpl @@ -298,7 +298,11 @@ Usage: {{- end }} {{- end }} - name: REDIS_IP_FAMILY - value: {{ printf "%s" $.Values.externalRedis.ipFamily | quote }} + {{- if $.Values.redis.enabled }} + value: {{ printf "%s" $.Values.redis.ipFamily | quote }} + {{- else }} + value: {{ $.Values.externalRedis.ipFamily | quote }} + {{- end }} - name: REDIS_DB {{- if $.Values.redis.enabled }} value: {{ printf "0" | squote}} diff --git a/HelmChart/Public/oneuptime/values.yaml b/HelmChart/Public/oneuptime/values.yaml index 9e470e0c45c..ea0ceeda2b9 100644 --- a/HelmChart/Public/oneuptime/values.yaml +++ b/HelmChart/Public/oneuptime/values.yaml @@ -105,6 +105,7 @@ redis: enabled: true clusterDomain: *global-cluster-domain architecture: standalone + ipFamily: 4 auth: enabled: true master: