@@ -122,10 +122,10 @@ spec:
122
122
{{- toYaml . | nindent 10 }}
123
123
{{- end }}
124
124
command :
125
- {{- include "element-io.matrix-authentication-service.render-config" (dict "root" $ "context" . ) | nindent 8 }}
125
+ {{- include "element-io.matrix-authentication-service.render-config" (dict "root" $ "context" $masContext ) | nindent 8 }}
126
126
env :
127
- {{- include "element-io.matrix-authentication-service.matrixToolsEnv" (dict "root" $ "context" . ) | nindent 8 }}
128
- {{- include "element-io.matrix-authentication-service.env" (dict "root" $ "context" . ) | nindent 8 }}
127
+ {{- include "element-io.matrix-authentication-service.matrixToolsEnv" (dict "root" $ "context" $masContext ) | nindent 8 }}
128
+ {{- include "element-io.matrix-authentication-service.env" (dict "root" $ "context" $masContext ) | nindent 8 }}
129
129
{{- with .extraEnv }}
130
130
{{- toYaml . | nindent 8 }}
131
131
{{- end }}
@@ -145,7 +145,6 @@ spec:
145
145
- mountPath : /conf
146
146
name : rendered-config
147
147
readOnly : false
148
- {{- with $synapseContext }}
149
148
- name : render-config-syn
150
149
{{- with $.Values.matrixTools.image -}}
151
150
{{- if .digest }}
@@ -161,10 +160,10 @@ spec:
161
160
{{- toYaml . | nindent 10 }}
162
161
{{- end }}
163
162
command :
164
- {{- include "element-io.synapse.render-config" (dict "root" $ "context" . ) | nindent 8 }}
163
+ {{- include "element-io.synapse.render-config" (dict "root" $ "context" $synapseContext ) | nindent 8 }}
165
164
env :
166
- {{- include "element-io.synapse.matrixToolsEnv" (dict "root" $ "context" . ) | nindent 8 }}
167
- {{- include "element-io.synapse.env" (dict "root" $ "context" . ) | nindent 8 }}
165
+ {{- include "element-io.synapse.matrixToolsEnv" (dict "root" $ "context" $synapseContext ) | nindent 8 }}
166
+ {{- include "element-io.synapse.env" (dict "root" $ "context" $synapseContext ) | nindent 8 }}
168
167
{{- with .extraEnv }}
169
168
{{- toYaml . | nindent 8 }}
170
169
{{- end }}
@@ -184,7 +183,6 @@ spec:
184
183
- mountPath : /conf
185
184
name : rendered-config
186
185
readOnly : false
187
- {{- end }}
188
186
- name : db-wait-mas
189
187
{{- with $.Values.matrixTools.image -}}
190
188
{{- if .digest }}
@@ -203,12 +201,11 @@ spec:
203
201
- " /matrix-tools"
204
202
- tcpwait
205
203
- -address
206
- - {{ include "element-io.ess-library.postgres-host-port" (dict "root" $ "context" (dict "postgres" .postgres)) | quote }}
204
+ - {{ include "element-io.ess-library.postgres-host-port" (dict "root" $ "context" (dict "postgres" $masContext .postgres)) | quote }}
207
205
{{- with .resources }}
208
206
resources :
209
207
{{- toYaml . | nindent 10 }}
210
208
{{- end }}
211
- {{- with $synapseContext }}
212
209
- name : db-wait-syn
213
210
{{- with $.Values.matrixTools.image -}}
214
211
{{- if .digest }}
@@ -227,11 +224,10 @@ spec:
227
224
- " /matrix-tools"
228
225
- tcpwait
229
226
- -address
230
- - {{ include "element-io.ess-library.postgres-host-port" (dict "root" $ "context" (dict "postgres" .postgres)) | quote }}
227
+ - {{ include "element-io.ess-library.postgres-host-port" (dict "root" $ "context" (dict "postgres" $synapseContext .postgres)) | quote }}
231
228
{{- with .resources }}
232
229
resources :
233
230
{{- toYaml . | nindent 10 }}
234
- {{- end }}
235
231
{{- end }}
236
232
- name : syn2mas-check
237
233
args : ["syn2mas", "check", "--config", "/conf/config.yaml", "--synapse-config", "/conf/homeserver.yaml"]
0 commit comments