From 5a0d1f1bc4c3d55c5e7bf56f3eabf69bfb78b36f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20Ro=C3=9Fner?= Date: Wed, 18 Jun 2025 08:46:26 +0200 Subject: [PATCH] fix(helmfile): Use ldap details from `_helper.yaml.gotmpl` for Nextcloud LDAP bootstrapping and add disclaimer to the aforementioned helper-file. --- helmfile/apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl | 2 ++ helmfile/environments/default/_helper.yaml.gotmpl | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/helmfile/apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl b/helmfile/apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl index d908cb1d..0a2e3b48 100644 --- a/helmfile/apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl +++ b/helmfile/apps/nextcloud/values-nextcloud-mgmt.yaml.gotmpl @@ -101,7 +101,9 @@ configuration: {{- end }} ldap: + base: {{ .Values.ldap.baseDn | quote }} host: {{ .Values.ldap.host | quote }} + dn: "uid=ldapsearch_nextcloud,cn=users,{{ .Values.ldap.baseDn }}" password: value: {{ .Values.secrets.nubus.ldapSearch.nextcloud | quote }} adminGroupName: "managed-by-attribute-FileshareAdmin" diff --git a/helmfile/environments/default/_helper.yaml.gotmpl b/helmfile/environments/default/_helper.yaml.gotmpl index cb408fcf..92a3e35f 100644 --- a/helmfile/environments/default/_helper.yaml.gotmpl +++ b/helmfile/environments/default/_helper.yaml.gotmpl @@ -1,5 +1,12 @@ # SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS" # SPDX-License-Identifier: Apache-2.0 + +# +# DISCLAIMER: +# +# The values in this file are exposed because they are used in multiple components and it does make sense to define +# them centrally, but we do not support changing these values, please leave them as they are. +# --- ldap: host: "ums-ldap-server"