From 7fbde5a3a2378bfcabf5f42269a5872a36cd3b33 Mon Sep 17 00:00:00 2001 From: Alexander Olofsson Date: Sat, 2 Apr 2022 11:51:59 +0200 Subject: [PATCH] matrix-synapse: Fix faulty default call Should allow custom images to be used for the signing key generation --- charts/matrix-synapse/Chart.yaml | 2 +- charts/matrix-synapse/templates/signing-key-job.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/matrix-synapse/Chart.yaml b/charts/matrix-synapse/Chart.yaml index 9ff6dd4..eb80b13 100644 --- a/charts/matrix-synapse/Chart.yaml +++ b/charts/matrix-synapse/Chart.yaml @@ -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 diff --git a/charts/matrix-synapse/templates/signing-key-job.yaml b/charts/matrix-synapse/templates/signing-key-job.yaml index ac40345..526b7c5 100644 --- a/charts/matrix-synapse/templates/signing-key-job.yaml +++ b/charts/matrix-synapse/templates/signing-key-job.yaml @@ -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: