# 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" image: registry: {{ .Values.global.imageRegistry | default .Values.images.umsUdmRestApi.registry | quote }} repository: {{ .Values.images.umsUdmRestApi.repository | quote }} pullPolicy: {{ .Values.global.imagePullPolicy | quote }} tag: {{ .Values.images.umsUdmRestApi.tag | quote }} pullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . | quote }} {{- end }} resources: {{ .Values.resources.umsUdmRestApi | toYaml | nindent 2 }} securityContext: allowPrivilegeEscalation: false capabilities: drop: - "ALL" add: - "CHOWN" - "DAC_OVERRIDE" - "FOWNER" - "FSETID" - "KILL" - "SETGID" - "SETUID" - "SETPCAP" - "NET_BIND_SERVICE" - "NET_RAW" - "SYS_CHROOT" privileged: false seccompProfile: type: "RuntimeDefault" udmRestApi: # TODO: Stub value currently caCert: "" # TODO: Secret should be entered without b64enc ldapSecret: {{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc | quote }} # TODO: Secret should be entered without b64enc machineSecret: {{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc | quote }} ...