From c48402dd920f334b90c0ac5518b8f623f1503096 Mon Sep 17 00:00:00 2001 From: Nikos Anestos Date: Fri, 26 Feb 2021 19:40:31 +0100 Subject: [PATCH] added CONFIG_ENCRYPTION_KEY as environment variable in admin node so backup works when configuration is encrypted --- idsvr/Chart.yaml | 2 +- idsvr/templates/deployment-admin.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/idsvr/Chart.yaml b/idsvr/Chart.yaml index ae3db22..281e56b 100644 --- a/idsvr/Chart.yaml +++ b/idsvr/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: idsvr -version: 0.9.13 +version: 0.9.14 appVersion: 6.0.0 description: A Helm chart for Curity Identity Server keywords: diff --git a/idsvr/templates/deployment-admin.yaml b/idsvr/templates/deployment-admin.yaml index 3f28a2a..a1d1842 100644 --- a/idsvr/templates/deployment-admin.yaml +++ b/idsvr/templates/deployment-admin.yaml @@ -32,6 +32,10 @@ spec: {{- if .Values.curity.config.encryptionKey}}"-e","{{.Values.curity.config.encryptionKey}}",{{end -}} "--admin"] env: + {{- if .Values.curity.config.encryptionKey }} + - name: CONFIG_ENCRYPTION_KEY + value: {{ .Values.curity.config.encryptionKey | quote }} + {{- end }} - name: STATUS_CMD_PORT value: {{ .Values.curity.healthCheckPort | quote }} - name: LOGGING_LEVEL