Fix signing key job for modern Synapse images
This commit is contained in:
parent
548c50e731
commit
76282b6a8b
2 changed files with 6 additions and 2 deletions
|
@ -6,7 +6,7 @@ icon: https://matrix.org/images/matrix-logo.svg
|
||||||
appVersion: 1.55.0
|
appVersion: 1.55.0
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 2.1.30
|
version: 2.1.31
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Alexander Olofsson
|
- name: Alexander Olofsson
|
||||||
email: ace@haxalot.com
|
email: ace@haxalot.com
|
||||||
|
|
|
@ -69,7 +69,11 @@ spec:
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
echo "Generating signing key..."
|
echo "Generating signing key..."
|
||||||
generate_signing_key.py -o /synapse/keys/signing.key
|
if which generate_signing_key.py >/dev/null; then
|
||||||
|
generate_signing_key.py -o /synapse/keys/signing.key
|
||||||
|
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 }}:{{ default .Values.signingkey.job.generateImage.tag "latest" }}"
|
||||||
imagePullPolicy: {{ .Values.signingkey.job.generateImage.pullPolicy }}
|
imagePullPolicy: {{ .Values.signingkey.job.generateImage.pullPolicy }}
|
||||||
name: signing-key-generate
|
name: signing-key-generate
|
||||||
|
|
Loading…
Reference in a new issue