diff --git a/charts/mastodon/templates/configmap.yaml b/charts/mastodon/templates/configmap.yaml index a80c818..5b35466 100644 --- a/charts/mastodon/templates/configmap.yaml +++ b/charts/mastodon/templates/configmap.yaml @@ -34,6 +34,9 @@ data: {{- else }} REDIS_HOST: {{ .Values.config.redis.host | quote }} REDIS_PORT: {{ .Values.config.redis.port | quote }} +{{- if .Values.config.redis.password }} + REDIS_PASSWORD: {{ .Values.config.redis.password | quote }} +{{- end }} {{- end }} {{- if .Values.config.elasticsearch.enabled }} ES_ENABLED: "true" diff --git a/charts/mastodon/values.yaml b/charts/mastodon/values.yaml index c105101..cbd05d6 100644 --- a/charts/mastodon/values.yaml +++ b/charts/mastodon/values.yaml @@ -491,6 +491,7 @@ config: redis: host: "redis-master.redis.svc.cluster.local" port: 6379 + password: "" ## @param config.elasticsearch.enabled Whether Elasticsearch is enabled. Differs from `global.elasticsearchEnabled`, which is used to confirm if you have your own elasticsearch instance, or you want to deploy one as a dependency chart. ## @param config.elasticsearch.host The Elasticsearch host to connect to. Only used if `global.elasticsearchEnabled` is `false`. ## @param config.elasticsearch.port The Elasticsearch host port to use. Only used if `global.elasticsearchEnabled` is `false`.