mirror of
https://github.com/mastodon/chart
synced 2025-05-18 21:13:21 +00:00
Rename extraEnvironment to extraEnvFrom
This commit is contained in:
parent
a9820afb07
commit
250ebf75e9
|
@ -84,9 +84,9 @@ spec:
|
|||
name: {{ include "mastodon.fullname" $context }}-env
|
||||
- secretRef:
|
||||
name: {{ template "mastodon.secretName" $context }}
|
||||
{{- if $context.Values.mastodon.extraEnvironment }}
|
||||
{{- if $context.Values.mastodon.extraEnvFrom }}
|
||||
- configMapRef:
|
||||
name: {{ $context.Values.mastodon.extraEnvironment }}
|
||||
name: {{ $context.Values.mastodon.extraEnvFrom }}
|
||||
{{- end}}
|
||||
env:
|
||||
- name: "DB_PASS"
|
||||
|
|
|
@ -49,9 +49,9 @@ spec:
|
|||
envFrom:
|
||||
- configMapRef:
|
||||
name: {{ include "mastodon.fullname" . }}-env
|
||||
{{- if .Values.mastodon.extraEnvironment }}
|
||||
{{- if .Values.mastodon.extraEnvFrom }}
|
||||
- configMapRef:
|
||||
name: {{ .Values.mastodon.extraEnvironment }}
|
||||
name: {{ .Values.mastodon.extraEnvFrom }}
|
||||
{{- end}}
|
||||
env:
|
||||
- name: "DB_PASS"
|
||||
|
|
|
@ -65,9 +65,9 @@ spec:
|
|||
name: {{ include "mastodon.fullname" . }}-env
|
||||
- secretRef:
|
||||
name: {{ template "mastodon.secretName" . }}
|
||||
{{- if .Values.mastodon.extraEnvironment }}
|
||||
{{- if .Values.mastodon.extraEnvFrom }}
|
||||
- configMapRef:
|
||||
name: {{ .Values.mastodon.extraEnvironment }}
|
||||
name: {{ .Values.mastodon.extraEnvFrom }}
|
||||
{{- end}}
|
||||
env:
|
||||
- name: "DB_PASS"
|
||||
|
|
|
@ -209,7 +209,7 @@ mastodon:
|
|||
# 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.)
|
||||
# The specified ConfigMap should contain the additional environment variables in key-value format.
|
||||
# extraEnvironment: <config-map-name>
|
||||
# extraEnvFrom: <config-map-name>
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user