From bc6fdf7f0b1f4f1b7070b90dafd161589c6c721d Mon Sep 17 00:00:00 2001 From: Justin Brooks Date: Thu, 14 Nov 2024 15:10:03 -0500 Subject: [PATCH] add encryption key --- charts/ctrlplane/Chart.yaml | 2 +- charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/ctrlplane/Chart.yaml b/charts/ctrlplane/Chart.yaml index e92d17b..32abcb1 100644 --- a/charts/ctrlplane/Chart.yaml +++ b/charts/ctrlplane/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: ctrlplane description: Ctrlplane Helm chart for Kubernetes type: application -version: 0.3.0 +version: 0.3.1 appVersion: "1.16.0" maintainers: diff --git a/charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml b/charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml index e1cf5c0..3beb10a 100644 --- a/charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml +++ b/charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml @@ -53,6 +53,11 @@ spec: secretKeyRef: name: {{ .Release.Name }}-connections key: POSTGRES_URL + - name: VARIABLES_AES_256_KEY + valueFrom: + secretKeyRef: + name: {{ .Release.Name }}-encryption-key + key: AES_256_KEY {{- include "ctrlplane.extraEnv" . | nindent 12 }} {{- include "ctrlplane.extraEnvFrom" (dict "root" $ "local" .) | nindent 12 }} resources: