apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: databases namespace: flux-system spec: interval: 10m0s retryInterval: 1m timeout: 5m sourceRef: kind: GitRepository name: flux-system path: ./infrastructure/databases/base # The CloudNativePG operator bundle contains its 11 CRDs, and the vendored # Barman Cloud plugin adds the `ObjectStore` CRD. Those must never be pruned # automatically: dropping them would delete every Cluster/Database/Backup # object (and the Forgejo and portal Postgres clusters with them). Same # reasoning as gateway-api-crds. Reverting the operator Deployment args is a # git change, not a prune. prune: false # The plugin's operator<->plugin mTLS pair is issued by cert-manager # (Issuer/Certificate in the vendored plugin manifest). Applying those before # the cert-manager CRDs and webhook exist just churns; wait for it. dependsOn: - name: cert-manager