feat(helmfile): Add external secrets support for minio

Signed-off-by: Axel Lender <lender@b1-systems.de>
This commit is contained in:
Axel Lender
2025-05-21 20:06:02 +02:00
parent ff3b221870
commit 2c13b9672e
2 changed files with 19 additions and 0 deletions

View File

@@ -19,6 +19,9 @@ apiIngress:
auth:
rootPassword: {{ .Values.secrets.minio.rootPassword | quote }}
existingSecret: {{ .Values.externalSecrets.minio.existingSecret | quote }}
rootUserSecretKey: {{ .Values.externalSecrets.minio.rootUserSecretKey | quote }}
rootPasswordSecretKey: {{ .Values.externalSecrets.minio.rootPasswordSecretKey | quote }}
commonAnnotations:
{{ .Values.annotations.servicesExternalMinio.common | toYaml | nindent 2 }}
@@ -222,6 +225,7 @@ provisioning:
actions:
- "s3:*"
{{- end }}
{{- if not .Values.externalSecrets.minio.usersExistingSecrets }}
users:
- username: {{ .Values.objectstores.migrations.username | quote }}
password: {{ .Values.secrets.minio.migrationsUser | quote }}
@@ -267,6 +271,9 @@ provisioning:
- "dovecot-bucket-policy"
setPolicies: true
{{- end }}
{{- else }}
usersExistingSecrets: {{ .Values.externalSecrets.minio.usersExistingSecrets }}
{{- end }}
resources:
{{ .Values.resources.minio | toYaml | nindent 4 }}

View File

@@ -0,0 +1,12 @@
{{/*
SPDX-FileCopyrightText: 2025 Zentrum für Digitale Souveränität der Öffentlichen Verwaltung (ZenDiS) GmbH
SPDX-License-Identifier: Apache-2.0
*/}}
---
externalSecrets:
minio:
existingSecret: ~
rootUserSecretKey: ~
rootPasswordSecretKey: ~
usersExistingSecrets: []
...