fix(helmfile): Auto-redirect user to login dialogue, please read migrations.md for more details

This commit is contained in:
Thorsten Roßner
2024-11-29 10:15:50 +01:00
parent f630a369da
commit a9c8dfeab1
4 changed files with 24 additions and 6 deletions

View File

@@ -11,7 +11,8 @@ SPDX-License-Identifier: Apache-2.0
* [Releases upgrade details](#releases-upgrade-details) * [Releases upgrade details](#releases-upgrade-details)
* [From v1.0.0](#from-v100) * [From v1.0.0](#from-v100)
* [Pre-upgrade: Manual checks/steps](#pre-upgrade-manual-checkssteps) * [Pre-upgrade: Manual checks/steps](#pre-upgrade-manual-checkssteps)
* [Streamlining `openxchange` and `oxAppSuite` attribute names.](#streamlining-openxchange-and-oxappsuite-attribute-names) * [New default enforces login](#new-default-enforces-login)
* [Streamlining `openxchange` and `oxAppSuite` attribute names](#streamlining-openxchange-and-oxappsuite-attribute-names)
* [Dicts to define `customization.release`](#dicts-to-define-customizationrelease) * [Dicts to define `customization.release`](#dicts-to-define-customizationrelease)
* [Redis 7.4](#redis-74) * [Redis 7.4](#redis-74)
* [From v0.9.0](#from-v090) * [From v0.9.0](#from-v090)
@@ -68,7 +69,19 @@ Explanation of the table's columns:
### Pre-upgrade: Manual checks/steps ### Pre-upgrade: Manual checks/steps
#### Streamlining `openxchange` and `oxAppSuite` attribute names. #### New default enforces login
Users accessing the openDesk portal are now automatically redirected to the login screen as a default.
In case you want to keep the previous behavior you need to set the following `functional` flag:
```yaml
functional:
portal:
enforceLogin: false
```
#### Streamlining `openxchange` and `oxAppSuite` attribute names
We have updated some attribute names around Open-Xchange / OX App Suite to be consistent within our Helmfile We have updated some attribute names around Open-Xchange / OX App Suite to be consistent within our Helmfile
deployment and to aligning with the actual brand names as well as with our rule of thumb for brand based deployment and to aligning with the actual brand names as well as with our rule of thumb for brand based
@@ -135,7 +148,7 @@ NOW: secrets.oxAppSuite: ...
If you make use of the `customization.release` option, you have to switch to a dictionary based definition of customization files e.g. from If you make use of the `customization.release` option, you have to switch to a dictionary based definition of customization files e.g. from
``` ```yaml
customization: customization:
release: release:
collaboraOnline: "./my_custom_templating.yaml" collaboraOnline: "./my_custom_templating.yaml"
@@ -143,7 +156,7 @@ customization:
to to
``` ```yaml
customization: customization:
release: release:
collaboraOnline: collaboraOnline:

View File

@@ -401,6 +401,7 @@ nubusStackDataUms:
templateContext: templateContext:
# creates the default.user and default.admin # creates the default.user and default.admin
loadDevData: true loadDevData: true
portalEnforceLogin: {{ .Values.functional.portal.enforceLogin }}
portalHeaderLogo: {{ toYaml .Values.theme.imagery.logoHeaderSvgB64 | quote }} portalHeaderLogo: {{ toYaml .Values.theme.imagery.logoHeaderSvgB64 | quote }}
portalTiles: {{ toYaml .Values.theme.imagery.portalTiles | nindent 6 }} portalTiles: {{ toYaml .Values.theme.imagery.portalTiles | nindent 6 }}
portalRealtimeCollaborationLinkBase: {{ printf "https://%s.%s" .Values.global.hosts.element .Values.global.domain }} portalRealtimeCollaborationLinkBase: {{ printf "https://%s.%s" .Values.global.hosts.element .Values.global.domain }}

View File

@@ -87,6 +87,10 @@ functional:
# Ref.: # Ref.:
enabled: false enabled: false
portal:
# Configure if the a re-direct to the login dialogue is enforced, or if the portal is shown and the user as to actively
# trigger the login flow, e.g. but clicking on the "Login" portal tile.
enforceLogin: true
chat: chat:
matrix: matrix:
profile: profile:

View File

@@ -411,7 +411,7 @@ images:
# upstreamRepository: "bmi/opendesk/components/platform-development/images/opendesk-nubus" # upstreamRepository: "bmi/opendesk/components/platform-development/images/opendesk-nubus"
registry: "registry.opencode.de" registry: "registry.opencode.de"
repository: "bmi/opendesk/components/platform-development/images/opendesk-nubus" repository: "bmi/opendesk/components/platform-development/images/opendesk-nubus"
tag: "1.7.5@sha256:cc38d339abea18dc3644b7764d7be13798956161d1c87e34b26b5d8b7a11edc6" tag: "1.8.1@sha256:8101e27a930cb2252914440680f16eb4bb395cb89b630a251e91b7301e0f7d41"
nubusOpenPolicyAgent: nubusOpenPolicyAgent:
# providerCategory: "Supplier" # providerCategory: "Supplier"
# providerResponsible: "Univention" # providerResponsible: "Univention"
@@ -459,7 +459,7 @@ images:
# upstreamRepository: "nubus/images/portal-frontend" # upstreamRepository: "nubus/images/portal-frontend"
registry: "registry.opencode.de" registry: "registry.opencode.de"
repository: "bmi/opendesk/components/platform-development/images/opendesk-nubus-portal-update" repository: "bmi/opendesk/components/platform-development/images/opendesk-nubus-portal-update"
tag: "1.8.1@sha256:dd2c8e16b57d5b2a97f465b15e108231782e3ee2df1cc07cee0388459bf40e1c" tag: "1.10.5@sha256:75461683a2233c2e5c99499791ceb576b717c68baa28eef2c307e7052aaaf754"
nubusPortalServer: nubusPortalServer:
# providerCategory: "Supplier" # providerCategory: "Supplier"
# providerResponsible: "Univention" # providerResponsible: "Univention"