Commit graph

2 commits

Author SHA1 Message Date
Felix Wolf 72b39586b6 fix(nextcloud): Enable persistence to survive pod restarts
Nextcloud requires a persistent /var/www/html to retain installation
state (config.php, version.php, installed apps) across restarts.
Without it, every restart triggers the setup wizard. Uses local-path
2Gi PVC with Recreate strategy since the volume is RWO.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 18:45:12 +02:00
Felix Wolf c85ee51590 feat: Adds Nextcloud pre-install hook and ArgoCD ignore rules
Introduces a `before-starting` hook that creates a `CAN_INSTALL` file, signaling Nextcloud to proceed with its installation process.

Configures ArgoCD to ignore differences in `batch/Job` resources' `spec.selector` and `spec.template.metadata.labels`. This prevents spurious out-of-sync states caused by Kubernetes mutating these fields on job creation, improving application synchronization stability.
2026-04-04 18:17:32 +02:00