mirror of
https://github.com/mastodon/chart
synced 2025-05-17 20:43:21 +00:00
Additional configuration for redis instances
This commit is contained in:
parent
2675296550
commit
5e7650a373
|
@ -73,10 +73,10 @@ data:
|
|||
{{- end }}
|
||||
REDIS_PORT: {{ .Values.redis.port | default "6379" | quote }}
|
||||
{{- if .Values.redis.sidekiq.enabled }}
|
||||
{{- if .Values.redis.sidekiq.host }}
|
||||
SIDEKIQ_REDIS_HOST: {{ .Values.redis.sidekiq.host }}
|
||||
{{- if .Values.redis.sidekiq.hostname }}
|
||||
SIDEKIQ_REDIS_HOST: {{ .Values.redis.sidekiq.hostname }}
|
||||
{{- else }}
|
||||
SIDEKIQ_REDIS_HOST: {{ .Values.redis.host }}
|
||||
SIDEKIQ_REDIS_HOST: {{ .Values.redis.hostname }}
|
||||
{{- end }}
|
||||
{{- if .Values.redis.sidekiq.port }}
|
||||
SIDEKIQ_REDIS_PORT: {{ .Values.redis.sidekiq.port }}
|
||||
|
@ -85,10 +85,10 @@ data:
|
|||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.redis.cache.enabled }}
|
||||
{{- if .Values.redis.cache.host }}
|
||||
CACHE_REDIS_HOST: {{ .Values.redis.cache.host }}
|
||||
{{- if .Values.redis.cache.hostname }}
|
||||
CACHE_REDIS_HOST: {{ .Values.redis.cache.hostname }}
|
||||
{{- else }}
|
||||
CACHE_REDIS_HOST: {{ .Values.redis.host}}
|
||||
CACHE_REDIS_HOST: {{ .Values.redis.hostname}}
|
||||
{{- end }}
|
||||
{{- if .Values.redis.cache.port }}
|
||||
CACHE_REDIS_PORT: {{ .Values.redis.cache.port }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user