From 7493f5fc5dc1b59e7419b1bb65893cfe97dbe15c Mon Sep 17 00:00:00 2001 From: Alba Catalan Date: Fri, 17 Apr 2026 12:01:11 +0200 Subject: [PATCH 1/2] Update README.md Added reference to section Running occ commands in table configuration > description for parameter nextcloud.trustedDomains. Added subsection ###Changing Parameters After Deployment including explanation and example for nextcloud.trustedDomains. Added subsection ###Changing Parameters After Deployment to section Running occ commands. Signed-off-by: Alba Catalan --- charts/nextcloud/README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md index f42d2b64..80c0192a 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -140,7 +140,7 @@ The following table lists the configurable parameters of the nextcloud chart and | `nextcloud.existingSecret.tokenKey` | Name of the key that contains the nextcloud metrics token | `''` | | `nextcloud.update` | Trigger update if custom command is used | `0` | | `nextcloud.containerPort` | Customize container port when not running as root | `80` | -| `nextcloud.trustedDomains` | Optional space-separated list of trusted domains | `[]` | +| `nextcloud.trustedDomains` | Optional space-separated list of trusted domains (see [Running occ commands](#running-occ-commands) for post-deployment changes) | `[]` | | `nextcloud.datadir` | nextcloud data dir location | `/var/www/html/data` | | `nextcloud.mail.enabled` | Whether to enable/disable email settings | `false` | | `nextcloud.mail.fromAddress` | nextcloud mail send from field | `nil` | @@ -856,6 +856,15 @@ extraManifests: ... ``` +### Changing Parameters After Deployment +Some parameters in `values.yaml`, such as `nextcloud.trustedDomains`, are only templated into the container environment during the initial installation. +Changes after deployment must be made by redeploying the Helm chart or manually inside the pod using the `occ` command. Example of a manual change: + +```bash +# Add a new trusted domain after deployment +kubectl exec -it -- /bin/sh -c "php occ config:system:set trusted_domains 2 --value=nextcloud.mydomain2.com" +``` + # Backups Check out the [official Nextcloud backup docs](https://docs.nextcloud.com/server/latest/admin_manual/maintenance/backup.html). For your files, if you're using persistent volumes, and you'd like to back up to s3 backed storage (such as minio), consider using [k8up](https://github.com/k8up-io/k8up) or [velero](https://github.com/vmware-tanzu/velero). From 833a67bafeedc0fa53d4e98e4eb70ddea21e34b1 Mon Sep 17 00:00:00 2001 From: Alba Catalan Date: Fri, 17 Apr 2026 12:11:02 +0200 Subject: [PATCH 2/2] Update README.md Signed-off-by: Alba Catalan --- charts/nextcloud/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md index 80c0192a..11f7f7cd 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -809,6 +809,15 @@ kubectl exec $NEXTCLOUD_POD -- su -s /bin/sh www-data -c "php occ maintenance:mo kubectl exec $NEXTCLOUD_POD -- su -s /bin/sh www-data -c "php occ recognize:download-models" ``` +### Changing Parameters After Deployment +Some parameters in `values.yaml`, such as `nextcloud.trustedDomains`, are only templated into the container environment during the initial installation. +Changes after deployment must be made by redeploying the Helm chart or manually inside the pod using the `occ` command. Example of a manual change: + +```bash +# Add a new trusted domain after deployment +kubectl exec -it -- /bin/sh -c "php occ config:system:set trusted_domains 2 --value=nextcloud.mydomain2.com" +``` + ## Injecting Additional Manifests (`extraManifests`) You can inject additional Kubernetes manifests (such as Traefik IngressRoutes, Middlewares, or any custom resources) directly via `values.yaml` using the `extraManifests` value. @@ -856,15 +865,6 @@ extraManifests: ... ``` -### Changing Parameters After Deployment -Some parameters in `values.yaml`, such as `nextcloud.trustedDomains`, are only templated into the container environment during the initial installation. -Changes after deployment must be made by redeploying the Helm chart or manually inside the pod using the `occ` command. Example of a manual change: - -```bash -# Add a new trusted domain after deployment -kubectl exec -it -- /bin/sh -c "php occ config:system:set trusted_domains 2 --value=nextcloud.mydomain2.com" -``` - # Backups Check out the [official Nextcloud backup docs](https://docs.nextcloud.com/server/latest/admin_manual/maintenance/backup.html). For your files, if you're using persistent volumes, and you'd like to back up to s3 backed storage (such as minio), consider using [k8up](https://github.com/k8up-io/k8up) or [velero](https://github.com/vmware-tanzu/velero).