From 22c96d95bdb580b1c083139dd9e5b43c312afe84 Mon Sep 17 00:00:00 2001 From: Phil Schneider Date: Tue, 8 Oct 2024 11:06:31 +0200 Subject: [PATCH] build: add dimUserRole config (#440) Refs: https://github.com/eclipse-tractusx/portal-backend/issues/1007 Reviewed-By: Evelyn Gurschler Reviewed-By: Norbert Truchsess --- .../portal/templates/deployment-backend-appmarketplace.yaml | 4 ++++ charts/portal/templates/deployment-backend-services.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/charts/portal/templates/deployment-backend-appmarketplace.yaml b/charts/portal/templates/deployment-backend-appmarketplace.yaml index cb9180e0a..e46154308 100644 --- a/charts/portal/templates/deployment-backend-appmarketplace.yaml +++ b/charts/portal/templates/deployment-backend-appmarketplace.yaml @@ -262,6 +262,10 @@ spec: value: "{{ .Values.decentralIdentityManagementAuthAddress }}" - name: "APPMARKETPLACE__ISSUERDID" value: "{{ .Values.backend.administration.issuerdid }}" + - name: "APPMARKETPLACE__DIMUSERROLES__0__CLIENTID" + value: "{{ .Values.centralidp.clients.technicalRolesManagement }}" + - name: "APPMARKETPLACE__DIMUSERROLES__0__USERROLENAMES__0" + value: "{{ .Values.backend.administration.serviceAccount.dimCreationRoles.role0 }}" - name: "APPMARKETPLACE__BPNDIDRESOLVERURL" value: "{{ .Values.bpnDidResolver.directoryApiAddress }}" - name: "HEALTHCHECKS__0__PATH" diff --git a/charts/portal/templates/deployment-backend-services.yaml b/charts/portal/templates/deployment-backend-services.yaml index add08d127..74266b6a2 100644 --- a/charts/portal/templates/deployment-backend-services.yaml +++ b/charts/portal/templates/deployment-backend-services.yaml @@ -243,6 +243,10 @@ spec: value: "{{ .Values.centralidp.clients.portal }}" - name: "SERVICES__COMPANYADMINROLES__0__USERROLENAMES__0" value: "{{ .Values.backend.services.companyAdminRoles.role0 }}" + - name: "SERVICES__DIMUSERROLES__0__CLIENTID" + value: "{{ .Values.centralidp.clients.technicalRolesManagement }}" + - name: "SERVICES__DIMUSERROLES__0__USERROLENAMES__0" + value: "{{ .Values.backend.administration.serviceAccount.dimCreationRoles.role0 }}" - name: "MAILINGPROCESSCREATION__ENCRYPTIONCONFIGINDEX" value: "{{ .Values.backend.processesworker.mailing.encryptionConfigIndex }}" - name: "MAILINGPROCESSCREATION__ENCRYPTIONCONFIGS__0__INDEX"