From 38c5ca436b4a9ecb1c6920e9cbdd6379a4406bc7 Mon Sep 17 00:00:00 2001 From: Axel Lender Date: Thu, 22 May 2025 13:41:56 +0200 Subject: [PATCH] feat(helmfile): Add external secrets support for Redis Signed-off-by: Axel Lender --- helmfile/apps/services-external/values-redis.yaml.gotmpl | 4 +++- helmfile/environments/default/external_secrets.yaml.gotmpl | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/helmfile/apps/services-external/values-redis.yaml.gotmpl b/helmfile/apps/services-external/values-redis.yaml.gotmpl index d72dc43f..acde031b 100644 --- a/helmfile/apps/services-external/values-redis.yaml.gotmpl +++ b/helmfile/apps/services-external/values-redis.yaml.gotmpl @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2024 Zentrum für Digitale Souveränität der Öffentlichen Verwaltung (ZenDiS) GmbH +# SPDX-FileCopyrightText: 2024-2025 Zentrum für Digitale Souveränität der Öffentlichen Verwaltung (ZenDiS) GmbH # SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS" # SPDX-License-Identifier: Apache-2.0 --- @@ -6,6 +6,8 @@ architecture: "standalone" auth: password: {{ .Values.secrets.redis.password | quote }} + existingSecret: {{ .Values.externalSecrets.redis.existingSecret | quote }} + existingSecretPasswordKey: {{ .Values.externalSecrets.redis.existingSecretPasswordKey | quote }} commonAnnotations: {{ .Values.annotations.servicesExternalRedis.common | toYaml | nindent 2 }} diff --git a/helmfile/environments/default/external_secrets.yaml.gotmpl b/helmfile/environments/default/external_secrets.yaml.gotmpl index b6532d05..70d49acd 100644 --- a/helmfile/environments/default/external_secrets.yaml.gotmpl +++ b/helmfile/environments/default/external_secrets.yaml.gotmpl @@ -9,4 +9,7 @@ externalSecrets: rootUserSecretKey: ~ rootPasswordSecretKey: ~ usersExistingSecrets: [] + redis: + existingSecret: ~ + existingSecretPasswordKey: ~ ... \ No newline at end of file