Files
chart/library/ix-dev/community/redis/templates/_configuration.tpl
Stavros Kois 60dcd5adbf NAS-122432 / 23.10 / add redis to community train (#1261)
* add `redis` to `community` train

* add extra validation

* add error message

* enclose pattern in squotes

* bump common
2023-07-03 14:51:09 +03:00

12 lines
409 B
Smarty

{{- define "redis.configuration" -}}
configmap:
config:
enabled: true
data:
REDIS_PORT_NUMBER: {{ .Values.redisNetwork.redisPort | quote }}
ALLOW_EMPTY_PASSWORD: {{ ternary "yes" "no" .Values.redisConfig.allowEmptyPassword | quote }}
{{- if not .Values.redisConfig.allowEmptyPassword }}
REDIS_PASSWORD: {{ .Values.redisConfig.password | quote }}
{{- end }}
{{- end -}}