mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 07:21:36 +01:00
feat(nextcloud): Expose forbiddenChars in functional.yaml.gotmpl; review migrations.md for required upgrade steps
This commit is contained in:
@@ -10,9 +10,12 @@ SPDX-License-Identifier: Apache-2.0
|
|||||||
* [Deprecation warnings](#deprecation-warnings)
|
* [Deprecation warnings](#deprecation-warnings)
|
||||||
* [Automated migrations - Overview and mandatory upgrade path](#automated-migrations---overview-and-mandatory-upgrade-path)
|
* [Automated migrations - Overview and mandatory upgrade path](#automated-migrations---overview-and-mandatory-upgrade-path)
|
||||||
* [Manual checks/actions](#manual-checksactions)
|
* [Manual checks/actions](#manual-checksactions)
|
||||||
|
* [v1.7.1+](#v171)
|
||||||
|
* [Pre-upgrade to v1.7.1+](#pre-upgrade-to-v171)
|
||||||
|
* [New Helmfile default: Restricting characters for directory and filenames in fileshare module](#new-helmfile-default-restricting-characters-for-directory-and-filenames-in-fileshare-module)
|
||||||
* [v1.7.0+](#v170)
|
* [v1.7.0+](#v170)
|
||||||
* [Pre-upgrade to v1.7.0+](#pre-upgrade-to-v170)
|
* [Pre-upgrade to v1.7.0+](#pre-upgrade-to-v170)
|
||||||
* [Helmfile fix: Ensure enterprise overrides apply when deploying from project root](#helmfile-fix-ensure-enterprise-overrides-apply-when-deploying-from-project-root)
|
* [Helmfile fix: Ensure enterprise overrides apply when deploying from project root](#helmfile-fix-ensure-enterprise-overrides-apply-when-deploying-from-project-root)
|
||||||
* [Replace Helm chart: New Notes Helm chart with support for self-signed deployments](#replace-helm-chart-new-notes-helm-chart-with-support-for-self-signed-deployments)
|
* [Replace Helm chart: New Notes Helm chart with support for self-signed deployments](#replace-helm-chart-new-notes-helm-chart-with-support-for-self-signed-deployments)
|
||||||
* [Post-upgrade to v1.7.0+](#post-upgrade-to-v170)
|
* [Post-upgrade to v1.7.0+](#post-upgrade-to-v170)
|
||||||
* [Upstream fix: Provisioning of functional mailboxes](#upstream-fix-provisioning-of-functional-mailboxes)
|
* [Upstream fix: Provisioning of functional mailboxes](#upstream-fix-provisioning-of-functional-mailboxes)
|
||||||
@@ -127,11 +130,49 @@ If you would like more details about the automated migrations, please read secti
|
|||||||
|
|
||||||
# Manual checks/actions
|
# Manual checks/actions
|
||||||
|
|
||||||
|
## v1.7.1+
|
||||||
|
|
||||||
|
### Pre-upgrade to v1.7.1+
|
||||||
|
|
||||||
|
#### New Helmfile default: Restricting characters for directory and filenames in fileshare module
|
||||||
|
|
||||||
|
**Target group:** All openDesk deployments using the fileshare module, as they may already contain files or directories with characters that are now restricted.
|
||||||
|
|
||||||
|
openDesk now enforces restrictions on the characters allowed in directory and filenames by explicitly disallowing the following set: `* " | ? ; : \ / ~ < >`
|
||||||
|
|
||||||
|
The reason is that desktop clients can not handle all characters due to restrictions in the underlying operating system and therefor syncing these directories and/or files will fail.
|
||||||
|
|
||||||
|
This change was introduced because desktop clients cannot reliably handle certain characters due to operating system limitations, causing file synchronization to fail when these characters are present.
|
||||||
|
|
||||||
|
For existing deployments, any files or directories containing restricted characters must be renamed before updates within the file or (sub)directory can succeed.
|
||||||
|
|
||||||
|
Nextcloud provides tooling for renaming affected files using an [`occ command`](https://docs.nextcloud.com/server/latest/admin_manual/occ_command.html#sanitize-filenames) that can be executed by the operator, the command also supports a dry-run mode.
|
||||||
|
|
||||||
|
You can customize the default restriction settings in `functional.yaml.gotmpl`:
|
||||||
|
|
||||||
|
```
|
||||||
|
functional:
|
||||||
|
filestore:
|
||||||
|
naming:
|
||||||
|
forbiddenChars:
|
||||||
|
- '*'
|
||||||
|
- '"'
|
||||||
|
- '|'
|
||||||
|
- '?'
|
||||||
|
- ';'
|
||||||
|
- ':'
|
||||||
|
- '\'
|
||||||
|
- '/'
|
||||||
|
- '~'
|
||||||
|
- '<'
|
||||||
|
- '>'
|
||||||
|
```
|
||||||
|
|
||||||
## v1.7.0+
|
## v1.7.0+
|
||||||
|
|
||||||
### Pre-upgrade to v1.7.0+
|
### Pre-upgrade to v1.7.0+
|
||||||
|
|
||||||
### Helmfile fix: Ensure enterprise overrides apply when deploying from project root
|
#### Helmfile fix: Ensure enterprise overrides apply when deploying from project root
|
||||||
|
|
||||||
**Target group:** All openDesk Enterprise deployments initiated from the project root using `helmfile_generic.yaml.gotmpl`
|
**Target group:** All openDesk Enterprise deployments initiated from the project root using `helmfile_generic.yaml.gotmpl`
|
||||||
|
|
||||||
|
|||||||
@@ -176,8 +176,7 @@ configuration:
|
|||||||
token:
|
token:
|
||||||
value: {{ .Values.secrets.nextcloud.metricsToken | quote }}
|
value: {{ .Values.secrets.nextcloud.metricsToken | quote }}
|
||||||
|
|
||||||
# A sane default for windows clients would be: `* " | & ? , ; : \ / ~ < >`
|
forbiddenChars: {{ join " " .Values.functional.filestore.naming.forbiddenChars | quote }}
|
||||||
forbiddenChars: "* \" | & ? , ; : \\ / ~ < >"
|
|
||||||
|
|
||||||
containerSecurityContext:
|
containerSecurityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ global:
|
|||||||
{{ .Values.global.imagePullSecrets | toYaml | nindent 4 }}
|
{{ .Values.global.imagePullSecrets | toYaml | nindent 4 }}
|
||||||
|
|
||||||
exporter:
|
exporter:
|
||||||
|
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "opendesk-nextcloud-exporter"
|
intents.otterize.com/service-name: "opendesk-nextcloud-exporter"
|
||||||
{{- with .Values.annotations.nextcloudExporter.additional }}
|
{{- with .Values.annotations.nextcloudExporter.additional }}
|
||||||
@@ -59,6 +58,23 @@ exporter:
|
|||||||
{{ .Values.annotations.nextcloudExporter.serviceAccount | toYaml | nindent 6 }}
|
{{ .Values.annotations.nextcloudExporter.serviceAccount | toYaml | nindent 6 }}
|
||||||
|
|
||||||
aio:
|
aio:
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- weight: 1
|
||||||
|
podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: "app.kubernetes.io/name"
|
||||||
|
operator: "In"
|
||||||
|
values:
|
||||||
|
- "aio"
|
||||||
|
- key: "app.kubernetes.io/instance"
|
||||||
|
operator: "In"
|
||||||
|
values:
|
||||||
|
- "opendesk-nextcloud"
|
||||||
|
topologyKey: "kubernetes.io/hostname"
|
||||||
|
|
||||||
additionalAnnotations:
|
additionalAnnotations:
|
||||||
intents.otterize.com/service-name: "opendesk-nextcloud-aio"
|
intents.otterize.com/service-name: "opendesk-nextcloud-aio"
|
||||||
{{- with .Values.annotations.nextcloudAio.additional }}
|
{{- with .Values.annotations.nextcloudAio.additional }}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ images:
|
|||||||
nextcloud:
|
nextcloud:
|
||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "zendis/opendesk-enterprise/components/supplier/nextcloud/images/opendesk-nextcloud"
|
repository: "zendis/opendesk-enterprise/components/supplier/nextcloud/images/opendesk-nextcloud"
|
||||||
tag: "1.6.8@sha256:605b560f736f6130e2927472a7379bf758fdf08aaaf20b8e9e816eba8692ab99"
|
tag: "1.6.9@sha256:3d9f2db7d3f38f3ba86d3ad3b46d98e566c18a9545f3ca14fc357b1944b41c5c"
|
||||||
openxchangeCoreMW:
|
openxchangeCoreMW:
|
||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "zendis/opendesk-enterprise/components/supplier/open-xchange/images-mirror/middleware-public-sector-pro"
|
repository: "zendis/opendesk-enterprise/components/supplier/open-xchange/images-mirror/middleware-public-sector-pro"
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ charts:
|
|||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "bmi/opendesk/components/platform-development/charts/opendesk-nextcloud"
|
repository: "bmi/opendesk/components/platform-development/charts/opendesk-nextcloud"
|
||||||
name: "opendesk-nextcloud"
|
name: "opendesk-nextcloud"
|
||||||
version: "4.4.1"
|
version: "4.4.3"
|
||||||
verify: true
|
verify: true
|
||||||
nextcloudManagement:
|
nextcloudManagement:
|
||||||
# providerCategory: "Platform"
|
# providerCategory: "Platform"
|
||||||
@@ -259,7 +259,7 @@ charts:
|
|||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "bmi/opendesk/components/platform-development/charts/opendesk-nextcloud"
|
repository: "bmi/opendesk/components/platform-development/charts/opendesk-nextcloud"
|
||||||
name: "opendesk-nextcloud-management"
|
name: "opendesk-nextcloud-management"
|
||||||
version: "4.4.1"
|
version: "4.4.3"
|
||||||
verify: true
|
verify: true
|
||||||
nextcloudNotifyPush:
|
nextcloudNotifyPush:
|
||||||
# providerCategory: "Platform"
|
# providerCategory: "Platform"
|
||||||
@@ -269,7 +269,7 @@ charts:
|
|||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "bmi/opendesk/components/platform-development/charts/opendesk-nextcloud"
|
repository: "bmi/opendesk/components/platform-development/charts/opendesk-nextcloud"
|
||||||
name: "opendesk-nextcloud-notifypush"
|
name: "opendesk-nextcloud-notifypush"
|
||||||
version: "4.4.1"
|
version: "4.4.3"
|
||||||
verify: true
|
verify: true
|
||||||
nginx:
|
nginx:
|
||||||
# providerCategory: "Community"
|
# providerCategory: "Community"
|
||||||
|
|||||||
@@ -128,6 +128,25 @@ functional:
|
|||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
filestore:
|
filestore:
|
||||||
|
# Settings related to directory and filenames
|
||||||
|
naming:
|
||||||
|
# Disallowed characters for directory and file names.
|
||||||
|
# Some operating systems do not support these characters, preventing affected clients from syncing files.
|
||||||
|
#
|
||||||
|
# Note: After changing the settings below and redeploying Nextcloud, restart the `aio` Pod(s) to
|
||||||
|
# apply the changes.
|
||||||
|
forbiddenChars:
|
||||||
|
- '*'
|
||||||
|
- '"'
|
||||||
|
- '|'
|
||||||
|
- '?'
|
||||||
|
- ';'
|
||||||
|
- ':'
|
||||||
|
- '\'
|
||||||
|
- '/'
|
||||||
|
- '~'
|
||||||
|
- '<'
|
||||||
|
- '>'
|
||||||
quota:
|
quota:
|
||||||
# Set the default quota for all users in gigabyte
|
# Set the default quota for all users in gigabyte
|
||||||
default: 1
|
default: 1
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ images:
|
|||||||
# upstreamRepository: "bmi/opendesk/components/platform-development/images/opendesk-nextcloud"
|
# upstreamRepository: "bmi/opendesk/components/platform-development/images/opendesk-nextcloud"
|
||||||
registry: "registry.opencode.de"
|
registry: "registry.opencode.de"
|
||||||
repository: "bmi/opendesk/components/platform-development/images/opendesk-nextcloud"
|
repository: "bmi/opendesk/components/platform-development/images/opendesk-nextcloud"
|
||||||
tag: "2.10.8@sha256:3fdc0b099d2c8343ea404708002e900c1ec74966384db3696948cc3a7a34300a"
|
tag: "2.10.10@sha256:b994d3d1e0664056122dc5275fdf0a4ec7215d9dc5e8b3c030c31a366eda9aa0"
|
||||||
nextcloudExporter:
|
nextcloudExporter:
|
||||||
# providerCategory: "Platform"
|
# providerCategory: "Platform"
|
||||||
# providerResponsible: "openDesk"
|
# providerResponsible: "openDesk"
|
||||||
|
|||||||
Reference in New Issue
Block a user