Skip to content

Commit

Permalink
feat(helm): add externalRedis.ipFamily configuration
Browse files Browse the repository at this point in the history
Add the `externalRedis.ipFamily` values to set `REDIS_IP_FAMILY environmental variable
  • Loading branch information
Jules Lefebvre committed Dec 24, 2024
1 parent c3ec535 commit 273fa0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions HelmChart/Public/oneuptime/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ Usage:
key: {{ $.Values.externalRedis.existingSecret.passwordKey }}
{{- end }}
{{- end }}
- name: REDIS_IP_FAMILY
value: {{ printf "%s" $.Values.externalRedis.ipFamily | quote }}
- name: REDIS_DB
{{- if $.Values.redis.enabled }}
value: {{ printf "0" | squote}}
Expand Down
2 changes: 1 addition & 1 deletion HelmChart/Public/oneuptime/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ global:
storageClass:
clusterDomain: &global-cluster-domain cluster.local


# Please change this to the domain name / IP where OneUptime server is hosted on.
host: localhost
httpProtocol: http
Expand Down Expand Up @@ -343,6 +342,7 @@ externalRedis:
port:
username:
password:
ipFamily:
# If you're using an existing secret for the password, please use this instead of password.
existingSecret:
name:
Expand Down

0 comments on commit 273fa0c

Please sign in to comment.