mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 15:31:38 +01:00
feat(helmfile): Add external secrets support for minio
Signed-off-by: Axel Lender <lender@b1-systems.de>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
||||
12
helmfile/environments/default/external_secrets.yaml.gotmpl
Normal file
12
helmfile/environments/default/external_secrets.yaml.gotmpl
Normal 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: []
|
||||
...
|
||||
Reference in New Issue
Block a user