mirror of
https://github.com/mastodon/chart
synced 2025-03-15 13:31:51 +00:00
Enable supplementary environment variables. (#69)
Co-authored-by: Tim Campbell <timetinytim@gmail.com>
This commit is contained in:
parent
d7dea06a2e
commit
84f04add25
|
@ -100,6 +100,10 @@ spec:
|
||||||
name: {{ include "mastodon.fullname" $context }}-env
|
name: {{ include "mastodon.fullname" $context }}-env
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ template "mastodon.secretName" $context }}
|
name: {{ template "mastodon.secretName" $context }}
|
||||||
|
{{- if $context.Values.mastodon.extraEnvFrom }}
|
||||||
|
- configMapRef:
|
||||||
|
name: {{ $context.Values.mastodon.extraEnvFrom }}
|
||||||
|
{{- end}}
|
||||||
env:
|
env:
|
||||||
- name: "DB_PASS"
|
- name: "DB_PASS"
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
@ -51,6 +51,10 @@ spec:
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: {{ include "mastodon.fullname" . }}-env
|
name: {{ include "mastodon.fullname" . }}-env
|
||||||
|
{{- if .Values.mastodon.extraEnvFrom }}
|
||||||
|
- configMapRef:
|
||||||
|
name: {{ .Values.mastodon.extraEnvFrom }}
|
||||||
|
{{- end}}
|
||||||
env:
|
env:
|
||||||
- name: "DB_PASS"
|
- name: "DB_PASS"
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
@ -77,6 +77,10 @@ spec:
|
||||||
name: {{ include "mastodon.fullname" . }}-env
|
name: {{ include "mastodon.fullname" . }}-env
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ template "mastodon.secretName" . }}
|
name: {{ template "mastodon.secretName" . }}
|
||||||
|
{{- if .Values.mastodon.extraEnvFrom }}
|
||||||
|
- configMapRef:
|
||||||
|
name: {{ .Values.mastodon.extraEnvFrom }}
|
||||||
|
{{- end}}
|
||||||
env:
|
env:
|
||||||
- name: "DB_PASS"
|
- name: "DB_PASS"
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
@ -274,9 +274,16 @@ mastodon:
|
||||||
# Sets the PREPARED_STATEMENTS environment variable: https://docs.joinmastodon.org/admin/config/#prepared_statements
|
# Sets the PREPARED_STATEMENTS environment variable: https://docs.joinmastodon.org/admin/config/#prepared_statements
|
||||||
preparedStatements: true
|
preparedStatements: true
|
||||||
|
|
||||||
# Additional env vars defined in all pods
|
|
||||||
|
# Specify extra environment variables to be added to all Mastodon pods.
|
||||||
|
# These can be used for configuration not included in this chart (including configuration for Mastodon varietals.)
|
||||||
extraEnvVars: {}
|
extraEnvVars: {}
|
||||||
|
|
||||||
|
# Alternatively specify extra environment variables stored in a ConfigMap.
|
||||||
|
# The specified ConfigMap should contain the additional environment variables in key-value format.
|
||||||
|
# extraEnvFrom: <config-map-name>
|
||||||
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
annotations:
|
annotations:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user