matrix-synapse: Fix faulty default call

Should allow custom images to be used for the signing key generation
This commit is contained in:
Alexander Olofsson 2022-04-02 11:51:59 +02:00
parent 76282b6a8b
commit 7fbde5a3a2
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ icon: https://matrix.org/images/matrix-logo.svg
appVersion: 1.55.0
type: application
version: 2.1.31
version: 2.1.32
maintainers:
- name: Alexander Olofsson
email: ace@haxalot.com

View file

@ -74,7 +74,7 @@ spec:
else
generate_signing_key -o /synapse/keys/signing.key
fi
image: "{{ .Values.signingkey.job.generateImage.repository }}:{{ default .Values.signingkey.job.generateImage.tag "latest" }}"
image: "{{ .Values.signingkey.job.generateImage.repository }}:{{ .Values.signingkey.job.generateImage.tag | default "latest" }}"
imagePullPolicy: {{ .Values.signingkey.job.generateImage.pullPolicy }}
name: signing-key-generate
resources:
@ -92,7 +92,7 @@ spec:
env:
- name: SECRET_NAME
value: {{ $secretName }}
image: "{{ .Values.signingkey.job.publishImage.repository }}:{{ default .Values.signingkey.job.publishImage.tag "latest" }}"
image: "{{ .Values.signingkey.job.publishImage.repository }}:{{ .Values.signingkey.job.publishImage.tag | default "latest" }}"
imagePullPolicy: {{ .Values.signingkey.job.publishImage.pullPolicy }}
name: signing-key-upload
resources: