k8s-and-chill/rendered/envs/production/nextcloud/configmap-nextcloud-hooks.yaml
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

16 lines
457 B
YAML

apiVersion: v1
data:
before-starting.sh: touch /var/www/html/config/CAN_INSTALL
kind: ConfigMap
metadata:
annotations:
a8r.io/repository: ssh://git@git.tr1ceracop.de:222/gitea_admin/k8s-and-chill.git
labels:
app.kubernetes.io/instance: nextcloud
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: nextcloud
app.kubernetes.io/version: 33.0.0
helm.sh/chart: nextcloud-9.0.4
name: nextcloud-hooks
namespace: nextcloud