diff --git a/helmfile/apps/univention-management-stack/helmfile.yaml b/helmfile/apps/univention-management-stack/helmfile.yaml index 425525f3..fd707fc2 100644 --- a/helmfile/apps/univention-management-stack/helmfile.yaml +++ b/helmfile/apps/univention-management-stack/helmfile.yaml @@ -94,6 +94,7 @@ releases: - "values-common.gotmpl" - "values-common.yaml" - "values-udm-rest-api.gotmpl" + - "values-udm-rest-api.yaml" installed: {{ .Values.univentionManagementStack.enabled }} # renovate: diff --git a/helmfile/apps/univention-management-stack/values-udm-rest-api.yaml b/helmfile/apps/univention-management-stack/values-udm-rest-api.yaml new file mode 100644 index 00000000..e0103a21 --- /dev/null +++ b/helmfile/apps/univention-management-stack/values-udm-rest-api.yaml @@ -0,0 +1,17 @@ +# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS" +# SPDX-License-Identifier: Apache-2.0 +--- +extraVolumes: + - name: "attribute-to-group-mapper-hook" + configMap: + name: "ums-stack-data-swp-attribute-to-group-mapper-hook" + +extraVolumeMounts: + - name: "attribute-to-group-mapper-hook" + mountPath: "/usr/lib/python3/dist-packages/univention/admin/hooks.d/AttributeToGroupMapper.py" + subPath: "AttributeToGroupMapper.py" + - name: "attribute-to-group-mapper-hook" + mountPath: "/usr/share/attribute-to-group-mapper/flag_to_group_mapping.json" + subPath: "flag_to_group_mapping.json" + +... diff --git a/helmfile/apps/univention-management-stack/values-umc-server.yaml b/helmfile/apps/univention-management-stack/values-umc-server.yaml index 6c0bc599..678f022f 100644 --- a/helmfile/apps/univention-management-stack/values-umc-server.yaml +++ b/helmfile/apps/univention-management-stack/values-umc-server.yaml @@ -17,6 +17,9 @@ extraVolumes: configMap: name: "ums-stack-data-swp-self-service-emails" defaultMode: 0444 + - name: "attribute-to-group-mapper-hook" + configMap: + name: "ums-stack-data-swp-attribute-to-group-mapper-hook" extraVolumeMounts: - name: "certificates" @@ -26,5 +29,12 @@ extraVolumeMounts: subPath: "90-customization.sh" - name: "self-service-emails" mountPath: "/usr/share/univention-self-service/email_bodies" + - name: "attribute-to-group-mapper-hook" + mountPath: "/usr/lib/python3/dist-packages/univention/admin/hooks.d/AttributeToGroupMapper.py" + subPath: "AttributeToGroupMapper.py" + - name: "attribute-to-group-mapper-hook" + mountPath: "/usr/share/attribute-to-group-mapper/flag_to_group_mapping.json" + subPath: "flag_to_group_mapping.json" + ...