Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion charts/nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down Expand Up @@ -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 <your-nextcloud-pod> -- /bin/sh -c "php occ config:system:set trusted_domains 2 --value=nextcloud.mydomain2.com"
```
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or add a own custom config file ...


## 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.
Expand Down