Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make REDIS_PASSWORD configurable #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions charts/mastodon/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions charts/mastodon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down