From d3c439038a2551ec90324ab8659d24b65b223d4f Mon Sep 17 00:00:00 2001 From: Johannes Bornhold Date: Wed, 13 Sep 2023 14:27:23 +0200 Subject: [PATCH] fix(univention-management-stack): Split values into templated and static --- .../values-ldap-notifier.gotmpl | 7 +------ .../values-ldap-notifier.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 helmfile/apps/univention-management-stack/values-ldap-notifier.yaml diff --git a/helmfile/apps/univention-management-stack/values-ldap-notifier.gotmpl b/helmfile/apps/univention-management-stack/values-ldap-notifier.gotmpl index b2a15737..5c1de60d 100644 --- a/helmfile/apps/univention-management-stack/values-ldap-notifier.gotmpl +++ b/helmfile/apps/univention-management-stack/values-ldap-notifier.gotmpl @@ -7,7 +7,7 @@ SPDX-License-Identifier: Apache-2.0 image: registry: "{{ .Values.global.imageRegistry }}" repository: "{{ .Values.images.umsLdapNotifier.repository }}" - pullPolicy: "Always" + pullPolicy: "{{ .Values.global.imagePullPolicy }}" tag: "{{ .Values.images.umsLdapNotifier.tag }}" pullSecrets: {{- range .Values.global.imagePullSecrets }} @@ -17,9 +17,4 @@ image: resources: {{ .Values.resources.umsLdapNotifier | toYaml | nindent 2 }} -volumes: - claims: - shared-data: "shared-data-ums-ldap-server-0" - shared-run: "shared-run-ums-ldap-server-0" - ... diff --git a/helmfile/apps/univention-management-stack/values-ldap-notifier.yaml b/helmfile/apps/univention-management-stack/values-ldap-notifier.yaml new file mode 100644 index 00000000..14e0ee35 --- /dev/null +++ b/helmfile/apps/univention-management-stack/values-ldap-notifier.yaml @@ -0,0 +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 +*/}} +--- + +volumes: + claims: + shared-data: "shared-data-ums-ldap-server-0" + shared-run: "shared-run-ums-ldap-server-0" + +...