From c7680a3d54bf55516e6ef2c1580b02648c77733f Mon Sep 17 00:00:00 2001 From: Dave Sekula Date: Sat, 22 Jul 2023 19:54:37 +0100 Subject: [PATCH] b64 encrypt master key --- charts/bytesafe/Chart.yaml | 2 +- charts/bytesafe/templates/secrets.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/bytesafe/Chart.yaml b/charts/bytesafe/Chart.yaml index 03e0024..0569a8b 100644 --- a/charts/bytesafe/Chart.yaml +++ b/charts/bytesafe/Chart.yaml @@ -9,7 +9,7 @@ maintainers: name: bytesafe-ce sources: - https://github.com/SimCubeLtd/simcube-helm-charts -version: "1.0.3" +version: "1.0.4" dependencies: - name: postgresql diff --git a/charts/bytesafe/templates/secrets.yaml b/charts/bytesafe/templates/secrets.yaml index a47b80e..4a5215b 100644 --- a/charts/bytesafe/templates/secrets.yaml +++ b/charts/bytesafe/templates/secrets.yaml @@ -6,7 +6,7 @@ metadata: {{- include "bytesafe.labels" . | nindent 4 }} type: Opaque data: - DATA_ENCRYPTION_KEY: {{ .Values.masterEncryptionKey }} + DATA_ENCRYPTION_KEY: {{ .Values.masterEncryptionKey | b64enc }} {{- if and .Values.redis.enabled .Values.redis.auth.password }} REDIS_PASSWORD: {{ .Values.redis.auth.password | b64enc }}