diff --git a/helmfile/apps/intercom-service/values.yaml.gotmpl b/helmfile/apps/intercom-service/values.yaml.gotmpl index de8c07f0..247229d4 100644 --- a/helmfile/apps/intercom-service/values.yaml.gotmpl +++ b/helmfile/apps/intercom-service/values.yaml.gotmpl @@ -67,6 +67,26 @@ ingress: enabled: {{ .Values.ingress.tls.enabled }} secretName: {{ .Values.ingress.tls.secretName | quote }} +provisioning: + enabled: true + config: + nubusBaseUrl: "https://{{ .Values.global.hosts.intercomService }}.{{ .Values.global.domain }}" + keycloak: + url: "http://ums-keycloak:8080" + username: "kcadmin" + realm: {{ .Values.platform.realm | quote }} + connection: + host: "{{ .Values.global.hosts.keycloak }}.{{ .Values.global.domain }}" + baseUrl: "http://ums-keycloak:8080" + credentialSecret: + name: "ums-opendesk-keycloak-credentials" + key: "admin_password" + ics_client: + clientSecret: {{ .Values.secrets.keycloak.clientSecret.intercom | quote }} + credentialSecret: + key: "ics_secret" + + podSecurityContext: enabled: true fsGroup: 1000 diff --git a/helmfile/apps/nubus/values-nubus.yaml.gotmpl b/helmfile/apps/nubus/values-nubus.yaml.gotmpl index 7b70dd3c..bd37e3d8 100644 --- a/helmfile/apps/nubus/values-nubus.yaml.gotmpl +++ b/helmfile/apps/nubus/values-nubus.yaml.gotmpl @@ -85,7 +85,13 @@ nubusGuardian: provisioning: enabled: true config: + nubusBaseUrl: {{ printf "https://portal.%s" .Values.global.domain }} keycloak: + realm: {{ .Values.platform.realm | quote }} + username: "kcadmin" + connection: + host: "{{ .Values.global.hosts.keycloak }}.{{ .Values.global.domain }}" + baseUrl: "http://ums-keycloak:8080" credentialSecret: name: "ums-opendesk-keycloak-credentials" key: "admin_password" diff --git a/helmfile/apps/nubus/values-opendesk-keycloak-bootstrap.yaml.gotmpl b/helmfile/apps/nubus/values-opendesk-keycloak-bootstrap.yaml.gotmpl index 2ce5881a..caf5e5c4 100644 --- a/helmfile/apps/nubus/values-opendesk-keycloak-bootstrap.yaml.gotmpl +++ b/helmfile/apps/nubus/values-opendesk-keycloak-bootstrap.yaml.gotmpl @@ -388,60 +388,6 @@ config: backchannel.logout.session.required: false defaultClientScopes: - "opendesk-dovecot-scope" - - name: "opendesk-intercom" - clientId: "opendesk-intercom" - protocol: "openid-connect" - clientAuthenticatorType: "client-secret" - secret: {{ .Values.secrets.keycloak.clientSecret.intercom | quote }} - redirectUris: - - "https://{{ .Values.global.hosts.intercomService }}.{{ .Values.global.domain }}/callback" - consentRequired: false - frontchannelLogout: false - publicClient: false - authorizationServicesEnabled: false - attributes: - backchannel.logout.session.required: true - backchannel.logout.revoke.offline.tokens: true - backchannel.logout.url: "https://{{ .Values.global.hosts.intercomService }}.{{ .Values.global.domain }}/backchannel-logout" - protocolMappers: - - name: "intercom-audience" - protocol: "openid-connect" - protocolMapper: "oidc-audience-mapper" - consentRequired: false - config: - included.client.audience: "opendesk-intercom" - id.token.claim: false - access.token.claim: true - # temporary additional claim while entryuuid is a hardcoded attribute in IntercomService and we cannot set - # it to `opendesk_useruuid` standard claim. For reference: - # https://github.com/univention/intercom-service/blob/cd819b6ced6433e532e74a8878943d05412c1416/intercom/app.js#L89 - - name: "entryuuid_temp" - protocol: "openid-connect" - protocolMapper: "oidc-usermodel-attribute-mapper" - consentRequired: false - config: - userinfo.token.claim: true - user.attribute: "entryUUID" - id.token.claim: true - access.token.claim: true - claim.name: "entryuuid" - jsonType.label: "String" - # temporary additional claim while phoenixusername is a hardcoded attribute in IntercomService and we cannot - # set it to `opendesk_username` standard claim. For reference: - # https://github.com/univention/intercom-service/blob/cd819b6ced6433e532e74a8878943d05412c1416/intercom/routes/navigation.js#L27 - - name: "phoenixusername_temp" - protocol: "openid-connect" - protocolMapper: "oidc-usermodel-attribute-mapper" - consentRequired: false - config: - userinfo.token.claim: true - user.attribute: "uid" - id.token.claim: true - access.token.claim: true - claim.name: "phoenixusername" - jsonType.label: "String" - defaultClientScopes: - - "offline_access" - name: "opendesk-jitsi" clientId: "opendesk-jitsi" protocol: "openid-connect" diff --git a/helmfile/environments/default/charts.yaml b/helmfile/environments/default/charts.yaml index b566f263..55eaf7f2 100644 --- a/helmfile/environments/default/charts.yaml +++ b/helmfile/environments/default/charts.yaml @@ -107,10 +107,10 @@ charts: # upstreamRepository: "nubus/charts/intercom-service" # upstreamMirrorTagFilterRegEx: '^(\d+)\.(\d+)\.(\d+)$' # upstreamMirrorStartFrom: ["2", "0", "1"] - registry: "registry.opencode.de" - repository: "bmi/opendesk/components/supplier/univention/charts-mirror" + registry: "artifacts.software-univention.de" + repository: "nubus/charts" name: "intercom-service" - version: "2.0.1" + version: "0.8.0" verify: true jitsi: # providerCategory: "Platform" @@ -249,10 +249,12 @@ charts: # upstreamRepository: "nubus/charts/nubus" # upstreamMirrorTagFilterRegEx: '^(\d+)\.(\d+)\.(\d+)$' # upstreamMirrorStartFrom: ["0", "19", "3"] - registry: "registry.opencode.de" - repository: "bmi/opendesk/components/supplier/univention/charts-mirror" + # registry: "registry.opencode.de" + # repository: "bmi/opendesk/components/supplier/univention/charts-mirror" + registry: "artifacts.software-univention.de" + repository: "nubus/charts" name: "nubus" - version: "0.33.1" + version: "0.34.0" verify: true opendeskKeycloakBootstrap: # providerCategory: "Platform" diff --git a/helmfile/environments/default/images.yaml b/helmfile/environments/default/images.yaml index bc5ed919..345f69ba 100644 --- a/helmfile/environments/default/images.yaml +++ b/helmfile/environments/default/images.yaml @@ -71,9 +71,11 @@ images: # upstreamRepository: "univention/intercom-service" # upstreamMirrorTagFilterRegEx: '^(\d+)\.(\d+)$' # upstreamMirrorStartFrom: ["1", "6"] - registry: "registry.opencode.de" - repository: "bmi/opendesk/components/supplier/univention/images-mirror/intercom-service" - tag: "1.6@sha256:f32c1e52fa132e9dc6973e9f8ed36a98c5c3e0bcd51c60f9a683e7e528dd2306" + #registry: "registry.opencode.de" + #repository: "bmi/opendesk/components/supplier/univention/images-mirror/intercom-service" + registry: "artifacts.software-univention.de" + repository: "nubus/images/intercom-service" + tag: "0.8.0@sha256:2e5e303c947aca687530244af5856cc4ba2b7cd880ff8348e922ac36c5f11167" jibri: # providerCategory: "Supplier" # providerResponsible: "Nordeck" @@ -301,9 +303,11 @@ images: # upstreamRepository: "nubus/images/guardian-init" # upstreamMirrorTagFilterRegEx: '^(\d+)\.(\d+)\.(\d+)$' # upstreamMirrorStartFrom: ["0", "3", "0"] - registry: "registry.opencode.de" - repository: "bmi/opendesk/components/supplier/univention/images-mirror/guardian-init" - tag: "0.9.1@sha256:6006fb1c2779b906e7725df524f2587b2a610cc442793bf8f16b2b4b8c0494fb" + # registry: "registry.opencode.de" + # repository: "bmi/opendesk/components/supplier/univention/images-mirror/guardian-init" + registry: "artifacts.software-univention.de" + repository: "nubus/images/guardian-init" + tag: "0.10.0@sha256:480943182f20b04b3d37b340e701545e002710c6668925de3758587174c5ee56" nubusKeycloak: # providerCategory: "Supplier" # providerResponsible: "Univention" @@ -321,9 +325,11 @@ images: # upstreamRepository: "nubus/images/keycloak-bootstrap" # upstreamMirrorTagFilterRegEx: '^(\d+)\.(\d+)\.(\d+)$' # upstreamMirrorStartFrom: ["0", "1", "0"] - registry: "registry.opencode.de" - repository: "bmi/opendesk/components/supplier/univention/images-mirror/keycloak-bootstrap" - tag: "0.1.0@sha256:351097e9e7b469f2fc149fe612ec6ad515d5e6b081d7e2785bd926a1d77209d2" + # registry: "registry.opencode.de" + # repository: "bmi/opendesk/components/supplier/univention/images-mirror/keycloak-bootstrap" + registry: "artifacts.software-univention.de" + repository: "nubus/images/keycloak-bootstrap" + tag: "0.1.2@sha256:ea462e3e40843215814bddae0668dc56102864d99127ad3c8d9816d741886ac0" nubusKeycloakExtensionHandler: # providerCategory: "Supplier" # providerResponsible: "Univention"