diff --git a/charts/matrix-synapse/templates/deployment.yaml b/charts/matrix-synapse/templates/deployment.yaml index c7c444c..0480ea1 100644 --- a/charts/matrix-synapse/templates/deployment.yaml +++ b/charts/matrix-synapse/templates/deployment.yaml @@ -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 }} diff --git a/charts/matrix-synapse/templates/worker-deployment.yaml b/charts/matrix-synapse/templates/worker-deployment.yaml index 9eee724..766cf56 100644 --- a/charts/matrix-synapse/templates/worker-deployment.yaml +++ b/charts/matrix-synapse/templates/worker-deployment.yaml @@ -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 }} diff --git a/charts/matrix-synapse/values.yaml b/charts/matrix-synapse/values.yaml index 4c32b2c..f1ea017 100644 --- a/charts/matrix-synapse/values.yaml +++ b/charts/matrix-synapse/values.yaml @@ -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