mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-08 00:11:38 +01:00
fix(univention-management-stack): Use global secrets to populate ldap related secrets
This commit is contained in:
@@ -15,8 +15,8 @@ portalListener:
|
|||||||
ldapBaseDn: "dc=univention-organization,dc=intranet"
|
ldapBaseDn: "dc=univention-organization,dc=intranet"
|
||||||
ldapHost: "ums-ldap-server"
|
ldapHost: "ums-ldap-server"
|
||||||
ldapHostDn: "cn=admin,dc=univention-organization,dc=intranet"
|
ldapHostDn: "cn=admin,dc=univention-organization,dc=intranet"
|
||||||
ldapSecret: "univention"
|
ldapSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret }}"
|
||||||
machineSecret: "univention"
|
machineSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret }}"
|
||||||
notifierServer: "ums-ldap-notifier"
|
notifierServer: "ums-ldap-notifier"
|
||||||
portalDefaultDn: "cn=domain,cn=portal,cn=portals,cn=univention,dc=univention-organization,dc=intranet"
|
portalDefaultDn: "cn=domain,cn=portal,cn=portals,cn=univention,dc=univention-organization,dc=intranet"
|
||||||
udmApiUrl: "http://ums-udm-rest-api/udm/"
|
udmApiUrl: "http://ums-udm-rest-api/udm/"
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ SPDX-License-Identifier: Apache-2.0
|
|||||||
*/}}
|
*/}}
|
||||||
---
|
---
|
||||||
stackDataSwp:
|
stackDataSwp:
|
||||||
udmApiPassword: "univention"
|
udmApiUsername: "cn=admin"
|
||||||
|
udmApiPassword: "{{ .Values.secrets.univentionManagementStack.ldapSecret }}"
|
||||||
udmApiUrl: "http://ums-udm-rest-api/udm/"
|
udmApiUrl: "http://ums-udm-rest-api/udm/"
|
||||||
loadDevData: true
|
loadDevData: true
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ SPDX-License-Identifier: Apache-2.0
|
|||||||
*/}}
|
*/}}
|
||||||
---
|
---
|
||||||
stackDataUms:
|
stackDataUms:
|
||||||
udmApiPassword: "univention"
|
udmApiUser: "cn=admin"
|
||||||
|
udmApiPassword: "{{ .Values.secrets.univentionManagementStack.ldapSecret }}"
|
||||||
udmApiUrl: "http://ums-udm-rest-api/udm/"
|
udmApiUrl: "http://ums-udm-rest-api/udm/"
|
||||||
loadDevData: true
|
loadDevData: true
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ udmRestApi:
|
|||||||
ldapHostDn: "cn=admin,dc=univention-organization,dc=intranet"
|
ldapHostDn: "cn=admin,dc=univention-organization,dc=intranet"
|
||||||
# TODO: Secret should be entered without b64enc
|
# TODO: Secret should be entered without b64enc
|
||||||
ldapSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc }}"
|
ldapSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc }}"
|
||||||
# TODO: There is on machine secret on the container
|
|
||||||
# TODO: Secret should be entered without b64enc
|
# TODO: Secret should be entered without b64enc
|
||||||
machineSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc }}"
|
machineSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc }}"
|
||||||
# TODO: why do we need this many subprocesses?
|
# TODO: why do we need this many subprocesses?
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ umcServer:
|
|||||||
|
|
||||||
# TODO: Secret should be entered without b64enc
|
# TODO: Secret should be entered without b64enc
|
||||||
ldapSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc }}"
|
ldapSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc }}"
|
||||||
# TODO: There is on machine secret on the container
|
|
||||||
# TODO: Secret should be entered without b64enc
|
# TODO: Secret should be entered without b64enc
|
||||||
machineSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc }}"
|
machineSecret: "{{ .Values.secrets.univentionManagementStack.ldapSecret | b64enc }}"
|
||||||
|
|
||||||
|
|||||||
@@ -24,8 +24,7 @@ secrets:
|
|||||||
openproject: {{ (derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "ucs" "ldapsearch_openproject" | sha1sum) }}
|
openproject: {{ (derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "ucs" "ldapsearch_openproject" | sha1sum) }}
|
||||||
xwiki: {{ (derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "ucs" "ldapsearch_xwiki" | sha1sum) }}
|
xwiki: {{ (derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "ucs" "ldapsearch_xwiki" | sha1sum) }}
|
||||||
univentionManagementStack:
|
univentionManagementStack:
|
||||||
# TODO: Use "derivePassword"
|
ldapSecret: {{ (derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "cn=admin" "ldap" | sha1sum) }}
|
||||||
ldapSecret: "univention"
|
|
||||||
defaultAccounts:
|
defaultAccounts:
|
||||||
administratorPassword: {{ (derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "Administrator" "ums" | sha1sum) }}
|
administratorPassword: {{ (derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "Administrator" "ums" | sha1sum) }}
|
||||||
storeDavUsers:
|
storeDavUsers:
|
||||||
|
|||||||
Reference in New Issue
Block a user