Compare commits

..

49 Commits

Author SHA1 Message Date
Anton Caceres
3e5e6bc25c feat(ox-connector): Integrate Provisioning-based OX connector 2024-09-18 20:01:08 +02:00
Johannes Bornhold
7fbc7d68fb fix(nubus): Disable certManager 2024-09-18 19:30:47 +02:00
Johannes Bornhold
57a537df3f fix(nubus): Support "ingress.tls.secretName" 2024-09-18 19:29:34 +02:00
Juan Pedro Torres
4d05000539 fix(opendesk-keycloak-bootstrap): Client creation fix
Adjusts the configuration of the guardian related clientids.
2024-09-17 20:37:24 +02:00
Johannes Bornhold
7d39434553 fix(nubus): Set opendesk-keycloak-bootstrap back to version 2.1.1
The changed chart is not needed.
2024-09-17 20:37:24 +02:00
Thorsten Roßner
03b755f9d3 fix(nubus): Add opendesk-intercom to the list of managed OIDC clients. 2024-09-17 20:37:24 +02:00
Jaime Conde
1589317755 fix(nubus): Update opendesk-nubus to version 1.5.0
This restores systemInformation.
2024-09-17 20:37:24 +02:00
Johannes Bornhold
06d5139f3d fix(nubus): Update Nubus chart and images to version 0.57.3
This includes a fix in the portal-frontend which is needed in order to use the
latest e2e test suite of Nubus.
2024-09-17 20:37:23 +02:00
Johannes Bornhold
62f384c5b3 fix(nubus): Remove commented out password policy related configuration 2024-09-17 20:37:23 +02:00
Johannes Bornhold
6d59d1d725 fix(nubus): Remove values related to stack-data-swp 2024-09-17 20:37:23 +02:00
Johannes Bornhold
fea73c2e85 fix(nubus): Cleanup whitespace 2024-09-17 20:37:23 +02:00
Johannes Bornhold
7f6d2a21a9 fix(nubus): Remove accidentally added values into stack-data-swp 2024-09-17 20:37:23 +02:00
Johannes Lohmer
9e0608531b fix(nubus): Update chart and images to version 0.57.2 2024-09-17 20:37:23 +02:00
Johannes Bornhold
2ae0979ab3 fix(nubus): Configure "global.subDomains" based on "global.hosts" 2024-09-17 20:37:23 +02:00
Nubus CI Bot
d1195b7d05 feat(nubus): Update chart and images to version 0.56.1 2024-09-17 20:37:22 +02:00
Johannes Bornhold
6e1a9e7f9a fix(ci): Correct the way how credentials for the RUN_TESTS job are extracted 2024-09-17 20:37:22 +02:00
Carlos García-Mauriño
1900be18e0 chore(nubus): Remove installUmcPolicies option 2024-09-17 20:37:22 +02:00
Johannes Bornhold
9d54fc5c3f fix(nubus): Update images to match version 0.56.0 2024-09-17 20:37:22 +02:00
Carlos García-Mauriño
d4e2effe3b feat(nubus): Upgrade nubus chart to 0.56.0 2024-09-17 20:37:22 +02:00
Nubus CI Bot
833d934aa4 feat(nubus): Update chart to version 0.54.1-pre-jlohmer-consumer-race-condition 2024-09-17 20:37:22 +02:00
Johannes Lohmer
89f737d461 fix(nubus): Clean up portal-listener and selfservice-listener artifacts 2024-09-17 20:37:22 +02:00
Johannes Lohmer
cbae40a177 fix(nubus): Use helmfile secrets in provisioning and remove unused secrets. 2024-09-17 20:37:22 +02:00
Johannes Lohmer
fc7e8c245d feat(nubus): Activate Nubus Provisioning components and Consumers to replace portal-listener and selfservice-listener 2024-09-17 20:37:21 +02:00
Johannes Lohmer
c3ae7459aa fix(nubus): Keep provisioning and consumers behind a feature-flag for easier merging
This commit should be reverted once we are confident that provisioning
and the consumers work as expected.
2024-09-17 20:37:21 +02:00
Johannes Lohmer
627ea96a43 fix(nubus): Update nubus provisioning and consumer configuration 2024-09-17 20:37:21 +02:00
Nubus CI Bot
1714a9d00c feat(nubus): Update chart to version 0.51.0 2024-09-17 20:37:21 +02:00
Juan Pedro Torres
2f0213c527 feat(nubus): Bump chart version for default tiles removal 2024-09-17 20:37:21 +02:00
Johannes Bornhold
63e010d4cf fix(nubus): Adjust keyring for intercom service 2024-09-17 20:37:21 +02:00
Nubus CI Bot
08f68f823e feat(nubus): Integrate keycloak provisioning 2024-09-17 20:37:21 +02:00
Juan Pedro Torres
1f590c8e8f feat(nubus): Bump chart version for default tiles removal 2024-09-17 20:37:21 +02:00
Nubus CI Bot
67f9b272b4 feat(nubus): Update chart to version 0.47.0 2024-09-17 20:37:20 +02:00
Jaime Conde
b698f3d992 fix(nubus): Map Administrator credentials 2024-09-17 20:37:20 +02:00
Jaime Conde
e2412e675b fix(nubus): Univention Portal images 2024-09-17 20:37:20 +02:00
Nubus CI Bot
2d282a3fd0 feat(nubus): Update chart to version 0.45.0 2024-09-17 20:37:20 +02:00
Carlos García-Mauriño
7548717e9f feat(nubus): Update charts and images 2024-09-17 20:37:20 +02:00
Carlos García-Mauriño
4c5b20e6f3 fix(nubus): Configure stackDataContext 2024-09-17 20:37:20 +02:00
Carlos García-Mauriño
c90704a1e9 feat(nubus): Add custom UCR values 2024-09-17 20:37:20 +02:00
Juan Pedro Torres
ff6cecee6b fix(nubus): Cleanup values 2024-09-17 20:37:20 +02:00
Juan Pedro Torres
b4a72dadb0 feat(nubus): Upgrade Keycloak version 2024-09-17 20:37:19 +02:00
Juan Pedro Torres
9606e4e4d3 fix(nubus): Fix Keycloak init race condition 2024-09-17 20:37:19 +02:00
Juan Pedro Torres
2bdbe157d0 feat(nubus): Bump Nubus version to 0.41.0, readonly user from Nubus 2024-09-17 20:37:19 +02:00
Jaime Conde
c4dde1dbed fix(nubus): Use Nubus LDAP server image 2024-09-17 20:37:19 +02:00
Nubus CI Bot
4c587ab26b feat(nubus): Update ldap-server with umc-server license fix 2024-09-17 20:37:19 +02:00
Johannes Lohmer
4eef804c24 fix(nubus): Comments are not allowed in images.yaml 2024-09-17 20:37:19 +02:00
Johannes Lohmer
0d99ce9592 fix(nubus): Keep provisioning and consumers behind a feature-flag for easier merging
This commit should be reverted once we are confident that provisioning
and the consumers work as expected.
2024-09-17 20:37:19 +02:00
Johannes Lohmer
cd2e2cd712 fix(nubus): Update nubus provisioning and consumer configuration 2024-09-17 20:37:18 +02:00
Johannes Lohmer
be41ad9c1f feat(nubus): Update nubus chart and images to version 0.39.2 2024-09-17 20:37:18 +02:00
Johannes Bornhold
81961a246c fix(nubus): Disable certManager 2024-09-17 20:37:18 +02:00
Johannes Bornhold
780ca2df11 fix(nubus): Support "ingress.tls.secretName" 2024-09-17 20:37:18 +02:00
10 changed files with 44 additions and 99 deletions

View File

@@ -171,16 +171,7 @@ variables:
- "no"
TESTS_BRANCH:
description: "Branch of E2E-tests on which the test pipeline is triggered"
value: "develop"
TESTS_PROJECT_URL:
description: "Project url for e2e-tests (`<domain of gitlab>/api/v4/projects/<id>`)"
value: "gitlab.opencode.de/api/v4/projects/1506"
TESTS_TESTSET:
description: "Selects testset for E2E-tests"
value: "Smoke"
options:
- "Regression"
- "Smoke"
value: "main"
.deploy-common:
cache: {}
@@ -495,27 +486,27 @@ run-tests:
\"ref\": \"${TESTS_BRANCH}\", \
\"token\": \"${CI_JOB_TOKEN}\", \
\"variables\": { \
\"operator\": \"${OPERATOR}\", \
\"cluster\": \"${CLUSTER}\", \
\"namespace\": \"${NAMESPACE}\", \
\"url\": \"https://portal.${DOMAIN}/\", \
\"url\": \"https://portal.${DOMAIN}\", \
\"user_name\": \"${DEFAULT_USER_NAME}\", \
\"user_password\": \"${DEFAULT_USER_PASSWORD}\", \
\"admin_name\": \"${DEFAULT_ADMIN_NAME}\", \
\"admin_password\": \"${DEFAULT_ADMIN_PASSWORD}\", \
\"screenshot_test\": \"yes\", \
\"screenshot_before_step\": \"yes\", \
\"screenshot_after_step\": \"yes\", \
\"screenshot_redirect_step\": \"yes\", \
\"testset\": \"${TESTS_TESTSET}\", \
\"testprofile\": \"Namespace\", \
\"gitlab_functional_yaml\": \"https://gitlab.opencode.de/api/v4/projects/1317/repository/files/helmfile%2Fenvironments%2Fdefault%2Ffunctional.yaml?ref=develop\", \
\"gitlab_env_namespace_template\": \"https://gitlab.opencode.de/api/v4/projects/1564/repository/files/environments%2F{operator}%2F{cluster}%2F{namespace}.yaml.gotmpl?ref=main\", \
\"gitlab_default_env_namespace\": \"values\" \
\"DEPLOY_ALL_COMPONENTS\": \"${DEPLOY_ALL_COMPONENTS}\", \
\"DEPLOY_COLLABORA\": \"${DEPLOY_COLLABORA}\", \
\"DEPLOY_ELEMENT\": \"${DEPLOY_ELEMENT}\", \
\"DEPLOY_ICS\": \"${DEPLOY_ICS}\", \
\"DEPLOY_JITSI\": \"${DEPLOY_JITSI}\", \
\"DEPLOY_KEYCLOAK\": \"${DEPLOY_UMS}\", \
\"DEPLOY_NEXTCLOUD\": \"${DEPLOY_NEXTCLOUD}\", \
\"DEPLOY_OPENPROJECT\": \"${DEPLOY_OPENPROJECT}\", \
\"DEPLOY_OX\": \"${DEPLOY_OX}\", \
\"DEPLOY_SERVICES\": \"${DEPLOY_SERVICES}\", \
\"DEPLOY_UCS\": \"${DEPLOY_UMS}\", \
\"DEPLOY_XWIKI\": \"${DEPLOY_XWIKI}\", \
\"DEPLOY_PROVISIONING\": \"${DEPLOY_PROVISIONING}\" \
} \
}" \
"https://${TESTS_PROJECT_URL}/trigger/pipeline"
retry: 1
avscan-prepare:
stage: ".pre"

View File

@@ -33,11 +33,10 @@ You might want to set credential variables in the GitLab project at `Settings` >
# Tests
The GitLab CI pipeline contains a job named `run-tests` that can trigger a test suite pipeline on another GitLab project.
The `DEPLOY_`-variables are used to determine which components should be tested.
In order for the trigger to work, the variable `TESTS_PROJECT_URL` has to be set on this GitLab project's CI variables
that can be found at `Settings` -> `CI/CD` -> `Variables`. The variable should have this format:
`<domain of gitlab>/api/v4/projects/<id>`.
To select the current testset, use the variable `TESTS_TESTSET`. Default: `Smoke`.
If the branch of the test pipeline is not `main` this can be set with the `.gitlab-ci.yml` variable
`TESTS_BRANCH` while creating a new pipeline.
The variable `testprofile` within the job is set to `Namespace`, which tells the e2e tests to use environment specific settings that will be read from the cluster and namespace specific file in the opendesk-env repository.

View File

@@ -138,9 +138,6 @@ configured to pull artifacts that do not originate from Open CoDE into projects
The mirror script takes the information on what artifacts to mirror from the annotation inside the two yaml files:
- `# upstreamRegistry` *required*: To identify the source registry
- `# upstreamRegistryCredentialId`: *optional*: In case the source registry is not public the access credentials have to be specified as ENV variables containing the value of this key in their name, so you want to specific that key all uppercase:
- `MIRROR_CREDENTIALS_SRC_<upstreamRegistryCredentialId>_USERNAME`
- `MIRROR_CREDENTIALS_SRC_<upstreamRegistryCredentialId>_PASSWORT`
- `# upstreamRepository` *required*: To identify the source repository
- `# upstreamMirrorTagFilterRegEx` *required*: If this annotation is set it activates the mirror for the component. Only tags are being mirrored that match the given regular expression. **Note:** You have to use single quotes for this attribute's value in case you use backslash leading regex notation like `\d`.
- `# upstreamMirrorStartFrom` *optional*: Array of numeric values in case you want to mirror only artifacts beginning with a specific version. You must use capturing groups

View File

@@ -143,56 +143,6 @@ nubusLdapServer:
persistence:
storageClass: {{ .Values.persistence.storageClassNames.RWO | quote }}
size: {{ .Values.persistence.size.nubus.ldapServerData | quote }}
extraVolumes:
- name: "migration-scripts"
secret:
secretName: "ums-ldap-server-migration"
defaultMode: 0555
extraVolumeMounts:
- name: "migration-scripts"
mountPath: "/entrypoint.d/30-purge.sh"
subPath: "30-purge.sh"
- name: "migration-scripts"
mountPath: "/entrypoint.d/95-slapadd-24-ldiff.sh"
subPath: "95-slapadd-24-ldif.sh"
extraSecrets:
- name: "ums-ldap-server-migration"
stringData:
30-purge.sh: |
#!/usr/bin/env bash
me=$(basename "$0")
echo "- Running ${me}"
if [ -f /var/lib/univention-ldap/ldap-24-export.ldif ]; then
echo "- Cleaning up /var/lib/univention-ldap."
cd /var/lib/univention-ldap
rm -rf internal
rm -rf ldap
ls -l
else
echo "- File /var/lib/univention-ldap/ldap-24-export.ldif not found."
fi
95-slapadd-24-ldif.sh: |
#!/usr/bin/env bash
me=$(basename "$0")
echo "- Running ${me}"
ls -l /var/lib/univention-ldap
if [ -f /var/lib/univention-ldap/ldap-24-export.ldif ]; then
echo "- slapadd-ing /var/lib/univention-ldap/ldap-24-export.ldif, but not before deleting the directories /var/lib/univention-ldap/ldap and ./internal"
rm -rf /var/lib/univention-ldap/ldap
rm -rf /var/lib/univention-ldap/internal
mkdir /var/lib/univention-ldap/ldap
mkdir /var/lib/univention-ldap/internal
/usr/sbin/slapadd -l /var/lib/univention-ldap/ldap-24-export.ldif
mv /var/lib/univention-ldap/ldap-24-export.ldif /var/lib/univention-ldap/ldap-24-export.ldif-imported
else
echo "- File /var/lib/univention-ldap/ldap-24-export.ldif not found."
fi
nubusPortalFrontend:
additionalAnnotations:

View File

@@ -10,6 +10,16 @@ image:
pullPolicy: {{ .Values.global.imagePullPolicy | quote }}
tag: {{ .Values.images.oxConnector.tag | quote }}
waitForDependency:
registry: {{ .Values.global.imageRegistry | default .Values.images.nubusWaitForDependency.registry | quote }}
repository: {{ .Values.images.nubusWaitForDependency.repository }}
imagePullPolicy: {{ .Values.global.imagePullPolicy }}
pullSecrets:
{{- range .Values.global.imagePullSecrets }}
- name: {{ . | quote }}
{{- end }}
tag: {{ .Values.images.nubusWaitForDependency.tag | quote }}
imagePullSecrets:
{{- range .Values.global.imagePullSecrets }}
- name: {{ . | quote }}
@@ -19,16 +29,8 @@ ingress:
enabled: false
oxConnector:
caCert: "ucctempldapstring"
debugLevel: {{ if .Values.debug.enabled }}"4"{{ else }}"1"{{ end }}
domainName: {{ .Values.global.domain | quote }}
ldapHost: "{{ .Values.ldap.host }}-primary"
logLevel: {{ if .Values.debug.enabled }}"DEBUG"{{ else }}"WARN"{{ end }}
ldapPassword: {{ .Values.secrets.nubus.ldapSecret | quote }}
ldapBaseDn: "dc=swp-ldap,dc=internal"
ldapHostDn: "cn=admin,dc=swp-ldap,dc=internal"
tlsMode: "off"
notifierServer: {{ .Values.ldap.notifierHost | quote }}
logLevel: {{ if .Values.debug.enabled }}"DEBUG"{{ else }}"INFO"{{ end }}
oxDefaultContext: "1"
oxImapServer: "imap://127.0.0.1:143"
oxLocalTimezone: "Europe/Berlin"
@@ -38,6 +40,13 @@ oxConnector:
oxSmtpServer: "smtp://127.0.0.1:587"
oxSoapServer: "https://{{ .Values.global.hosts.openxchange }}.{{ .Values.global.domain }}"
provisioningApi:
connection:
baseUrl: "http://ums-provisioning-api"
auth:
username: "ox-connector"
password: {{ .Values.secrets.oxConnector.provisioningApiPassword | quote }}
resources:
{{ .Values.resources.oxConnector | toYaml | nindent 2 }}

View File

@@ -132,7 +132,7 @@ charts:
registry: "registry.opencode.de"
repository: "bmi/opendesk/components/platform-development/charts/opendesk-jitsi"
name: "opendesk-jitsi"
version: "1.11.3"
version: "1.9.3"
verify: true
mariadb:
# providerCategory: "Platform"
@@ -261,10 +261,11 @@ 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"
# TODO: return back mirror registry and repository, set the correct version before merging
registry: "artifacts.software-univention.de"
repository: "nubus-dev/charts"
name: "nubus"
version: "0.57.3"
version: "0.59.0-pre-acaceres-register-ox-connector"
verify: true
opendeskKeycloakBootstrap:
# providerCategory: "Platform"
@@ -340,7 +341,7 @@ charts:
registry: "registry.opencode.de"
repository: "bmi/opendesk/components/supplier/univention/charts-mirror"
name: "ox-connector"
version: "0.4.2"
version: "0.14.2"
verify: true
postfix:
# providerCategory: "Platform"

View File

@@ -743,7 +743,7 @@ images:
# upstreamMirrorStartFrom: ["0", "4", "2"]
registry: "registry.opencode.de"
repository: "bmi/opendesk/components/supplier/univention/images-mirror/ox-connector-standalone"
tag: "0.4.2@sha256:308489c0c0e0436bbbedbd757f78875d44468992c46c8d371c584dc778b30770"
tag: "0.14.2@sha256:105a076bda63e6723a631bbe4e312273ea8ad6cae14e4aa8a46df4604aebfe4c"
postfix:
# providerCategory: "Platform"
# providerResponsible: "openDesk"

View File

@@ -19,6 +19,8 @@ secrets:
shareCryptKey: {{ derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "ox_appsuite" "share_crypt_key" | sha1sum | quote }}
sessiondEncryptionKey: {{ derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "ox_appsuite" "sessiond_encryption_key" | sha1sum | quote }}
synapseAsToken: {{ derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "ox_appsuite" "as_token" | sha1sum | quote }}
oxConnector:
provisioningApiPassword: {{ derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "nubus" "ox-connector" | sha1sum | quote }}
nubus:
ldapSecret: {{ derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "cn=admin" "ldap" | sha1sum | quote }}
ldapSearch:

View File

@@ -46,9 +46,6 @@ theme:
favicon144PngB64: {{ readFile "./../../files/theme/favicon144.png" | b64enc | quote }}
logoHeaderSvgB64: {{ readFile "./../../files/theme/logoHeader.svg" | b64enc | quote }}
# Jitsi
logoHeaderInvertedSvgB64: {{ readFile "./../../files/theme/logoHeaderInverted.svg" | b64enc | quote }}
# Portal
logoPortalBackgroundSvgB64: {{ readFile "./../../files/theme/logoPortalBackground.svg" | b64enc | quote }}
portalCss: {{ readFile "./../../files/theme/portal.css" | b64enc }}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.8 KiB