Files

30 lines
666 B
YAML
Raw Permalink Normal View History

---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infrastructure-postgresql
namespace: flux-system
spec:
interval: 10m
timeout: 15m
sourceRef:
kind: GitRepository
name: flux-system
path: ./manifests/infrastructure/postgresql
prune: true
wait: true
dependsOn:
- name: longhorn
- name: cilium
# Wait for operator to be ready before applying Cluster resources
# This ensures CRDs are registered before validation
healthChecks:
- apiVersion: apps/v1
kind: Deployment
name: cloudnative-pg
namespace: postgresql-system
decryption:
provider: sops
secretRef:
name: sops-gpg