Fixes for extraEnv
- Fixed indentation - Fixed default type (yaml sequences instead of maps)
This commit is contained in:
parent
12faeacf88
commit
54e3a205f9
3 changed files with 4 additions and 4 deletions
|
@ -95,7 +95,7 @@ spec:
|
|||
key: redis-password
|
||||
{{- end }}
|
||||
{{- with .Values.synapse.extraEnv }}
|
||||
{{ . | toYaml }}
|
||||
{{- . | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
image: "{{ .Values.image.repository }}:{{ include "matrix-synapse.imageTag" . }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
|
|
|
@ -83,7 +83,7 @@ spec:
|
|||
key: redis-password
|
||||
{{- end }}
|
||||
{{- with $config.extraEnv | default $default.extraEnv }}
|
||||
{{ . | toYaml }}
|
||||
{{- . | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
securityContext:
|
||||
{{- $config.securityContext | default $default.securityContext | toYaml | nindent 12 }}
|
||||
|
|
|
@ -158,7 +158,7 @@ synapse:
|
|||
|
||||
## Additional environment variables to apply to the main Synapse pod
|
||||
##
|
||||
extraEnv: {}
|
||||
extraEnv: []
|
||||
# - name: LD_PRELOAD
|
||||
# value: /usr/lib/x86_64-linux-gnu/libjemalloc.so.2
|
||||
# - name: SYNAPSE_CACHE_FACTOR
|
||||
|
@ -262,7 +262,7 @@ workers:
|
|||
|
||||
## Additional environment variables to add to the worker.
|
||||
##
|
||||
extraEnv: {}
|
||||
extraEnv: []
|
||||
# - name: LD_PRELOAD
|
||||
# value: /usr/lib/x86_64-linux-gnu/libjemalloc.so.2
|
||||
# - name: SYNAPSE_CACHE_FACTOR
|
||||
|
|
Loading…
Reference in a new issue