fix(univention-management-stack): Split templated from static values

This commit is contained in:
Johannes Bornhold
2023-09-13 15:21:11 +02:00
parent 15db5dcbba
commit 09079a1303
14 changed files with 52 additions and 38 deletions

View File

@@ -35,6 +35,7 @@ releases:
- "values-common.gotmpl" - "values-common.gotmpl"
- "values-common.yaml" - "values-common.yaml"
- "values-ldap-notifier.gotmpl" - "values-ldap-notifier.gotmpl"
- "values-ldap-notifier.yaml"
condition: "univentionManagementStack.enabled" condition: "univentionManagementStack.enabled"
- name: "ums-udm-rest-api" - name: "ums-udm-rest-api"
chart: "univention/udm-rest-api" chart: "univention/udm-rest-api"
@@ -75,6 +76,7 @@ releases:
- "values-common.gotmpl" - "values-common.gotmpl"
- "values-common.yaml" - "values-common.yaml"
- "values-notifications-api.gotmpl" - "values-notifications-api.gotmpl"
- "values-notifications-api.yaml"
condition: "univentionManagementStack.enabled" condition: "univentionManagementStack.enabled"
- name: "ums-portal-listener" - name: "ums-portal-listener"
chart: "univention/portal-listener" chart: "univention/portal-listener"
@@ -83,6 +85,7 @@ releases:
- "values-common.gotmpl" - "values-common.gotmpl"
- "values-common.yaml" - "values-common.yaml"
- "values-portal-listener.gotmpl" - "values-portal-listener.gotmpl"
- "values-portal-listener.yaml"
condition: "univentionManagementStack.enabled" condition: "univentionManagementStack.enabled"
- name: "ums-portal-frontend" - name: "ums-portal-frontend"
chart: "univention/portal-frontend" chart: "univention/portal-frontend"
@@ -99,6 +102,7 @@ releases:
- "values-common.gotmpl" - "values-common.gotmpl"
- "values-common.yaml" - "values-common.yaml"
- "values-umc-gateway.gotmpl" - "values-umc-gateway.gotmpl"
- "values-umc-gateway.yaml"
condition: "univentionManagementStack.enabled" condition: "univentionManagementStack.enabled"
- name: "ums-umc-server" - name: "ums-umc-server"
chart: "univention/umc-server" chart: "univention/umc-server"

View File

@@ -8,3 +8,7 @@ ingress:
enabled: {{ .Values.ingress.enabled }} enabled: {{ .Values.ingress.enabled }}
host: "{{ .Values.global.hosts.univentionManagementStack }}.{{ .Values.global.domain }}" host: "{{ .Values.global.hosts.univentionManagementStack }}.{{ .Values.global.domain }}"
ingressClassName: "{{ .Values.ingress.ingressClassName }}" ingressClassName: "{{ .Values.ingress.ingressClassName }}"
tls:
# The TLS configuration is on the "master" Ingress, see "portal-frontend"
enabled: false
secretName: ""

View File

@@ -1,14 +1,6 @@
{{/* # SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS" # SPDX-License-Identifier: Apache-2.0
SPDX-License-Identifier: Apache-2.0
*/}}
--- ---
ingress:
tls:
# The TLS configuration is on the "master" Ingress, see "portal-frontend"
enabled: false
secretName: ""
istio: istio:
enabled: false enabled: false

View File

@@ -1,7 +1,5 @@
{{/* # SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS" # SPDX-License-Identifier: Apache-2.0
SPDX-License-Identifier: Apache-2.0
*/}}
--- ---
volumes: volumes:

View File

@@ -3,14 +3,6 @@ SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG Ze
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
*/}} */}}
--- ---
notificationsapi:
apply_database_migrations: "True"
dev_mode: "False"
environment: "staging"
log_level: "DEBUG"
sql_echo: "False"
api_prefix: "/univention/portal/notifications-api"
postgresql: postgresql:
bundled: false bundled: false
connection: connection:

View File

@@ -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
---
notificationsapi:
apply_database_migrations: "True"
dev_mode: "False"
environment: "staging"
log_level: "DEBUG"
sql_echo: "False"
api_prefix: "/univention/portal/notifications-api"
...

View File

@@ -3,9 +3,6 @@ SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG Ze
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
*/}} */}}
--- ---
portalFrontend:
environment: "staging"
log_level: "INFO"
image: image:
registry: "{{ .Values.global.imageRegistry }}" registry: "{{ .Values.global.imageRegistry }}"

View File

@@ -46,7 +46,4 @@ resources:
resourcesDependencyWaiter: resourcesDependencyWaiter:
{{ .Values.resources.umsPortalListenerDependencies | toYaml | nindent 2 }} {{ .Values.resources.umsPortalListenerDependencies | toYaml | nindent 2 }}
store-dav:
bundled: false
... ...

View File

@@ -0,0 +1,8 @@
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
---
store-dav:
bundled: false
...

View File

@@ -21,6 +21,7 @@ image:
configHtpasswd: configHtpasswd:
registry: "{{ .Values.global.imageRegistry }}" registry: "{{ .Values.global.imageRegistry }}"
repository: "{{ .Values.images.umsConfigHtpasswd.repository }}" repository: "{{ .Values.images.umsConfigHtpasswd.repository }}"
pullPolicy: "Always"
pullPolicy: "{{ .Values.global.imagePullPolicy }}" pullPolicy: "{{ .Values.global.imagePullPolicy }}"
tag: "{{ .Values.images.umsConfigHtpasswd.tag }}" tag: "{{ .Values.images.umsConfigHtpasswd.tag }}"
pullSecrets: pullSecrets:

View File

@@ -9,7 +9,6 @@ udmRestApi:
dcBackup: "cn=DC Backup Hosts,cn=groups,dc=univention-organization,dc=intranet" dcBackup: "cn=DC Backup Hosts,cn=groups,dc=univention-organization,dc=intranet"
dcSlaves: "cn=DC Slave Hosts,cn=groups,dc=univention-organization,dc=intranet" dcSlaves: "cn=DC Slave Hosts,cn=groups,dc=univention-organization,dc=intranet"
domainAdmins: "cn=Domain Admins,cn=groups,dc=univention-organization,dc=intranet" domainAdmins: "cn=Domain Admins,cn=groups,dc=univention-organization,dc=intranet"
environment: "staging"
ldapHost: "ums-ldap-server" ldapHost: "ums-ldap-server"
ldapBaseDn: "dc=univention-organization,dc=intranet" ldapBaseDn: "dc=univention-organization,dc=intranet"
# TODO: This should not be required, the machine account is not there # TODO: This should not be required, the machine account is not there
@@ -26,8 +25,6 @@ udmRestApi:
# TODO: This should not be part of the udm-rest-api anymore # TODO: This should not be part of the udm-rest-api anymore
loadJoinData: loadJoinData:
enabled: true enabled: true
# TODO: probably to INFO
logLevel: "DEBUG"
# TODO: configurable # TODO: configurable
tlsMode: "off" tlsMode: "off"

View File

@@ -8,13 +8,6 @@ umcGateway:
hostname: "{{ .Values.global.hosts.univentionManagementStack }}" hostname: "{{ .Values.global.hosts.univentionManagementStack }}"
ssoFqdn: "localhost:8097" ssoFqdn: "localhost:8097"
showCookieBanner: true
cookieBannerTitleDE: "Cookie Zustimmung"
cookieBannerTitleEN: "Cookie Consent"
cookieBannerTextDE: "Die Nutzung dieses Angebots ist nur möglich, wenn Cookies gespeichert und verarbeitet werden können (essenzielle Cookies). Dafür benötigen wir Ihre Zustimmung. Bitte akzeptieren Sie um fortzufahren oder schließen Sie die Seite."
cookieBannerTextEN: "Usage of this site is only possible by storing and processing cookie information (essential cookies). We require your consent. Please accept to continue or close the page."
image: image:
registry: "{{ .Values.global.imageRegistry }}" registry: "{{ .Values.global.imageRegistry }}"
repository: "{{ .Values.images.umsUmcGateway.repository }}" repository: "{{ .Values.images.umsUmcGateway.repository }}"

View File

@@ -0,0 +1,18 @@
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
---
umcGateway:
showCookieBanner: true
cookieBannerTitleDE: "Cookie Zustimmung"
cookieBannerTitleEN: "Cookie Consent"
cookieBannerTextDE: >-
Die Nutzung dieses Angebots ist nur möglich, wenn Cookies gespeichert und
verarbeitet werden können (essenzielle Cookies). Dafür benötigen wir Ihre
Zustimmung. Bitte akzeptieren Sie um fortzufahren oder schließen Sie die
Seite.
cookieBannerTextEN: >-
Usage of this site is only possible by storing and processing cookie
information (essential cookies). We require your consent. Please accept to
continue or close the page.
...

View File

@@ -13,6 +13,7 @@ umcServer:
ldapHostDn: cn=admin,dc=univention-organization,dc=intranet ldapHostDn: cn=admin,dc=univention-organization,dc=intranet
enforceSessionCookie: "true" enforceSessionCookie: "true"
# TODO: The keycloak integration is pending
samlEnabled: false samlEnabled: false
samlMetadataUrl: "http://localhost:8097/realms/ucs/protocol/saml/descriptor" samlMetadataUrl: "http://localhost:8097/realms/ucs/protocol/saml/descriptor"
samlMetadataUrlInternal: "http://keycloak/realms/ucs/protocol/saml/descriptor" samlMetadataUrlInternal: "http://keycloak/realms/ucs/protocol/saml/descriptor"