2026-07-22 23:56:34 -07:00
|
|
|
# CloudNativePG operator - deployed as Helm chart via kubectl/ArgoCD.
|
|
|
|
|
# This file is a placeholder - actual install via Helm:
|
|
|
|
|
# helm repo add cnpg https://cloudnative-pg.github.io/charts
|
|
|
|
|
# helm install cnpg cnpg/cloudnative-pg -n ddb --create-namespace --version ~0.20
|
|
|
|
|
#
|
|
|
|
|
# Or create an ArgoCD Application (recommended):
|
|
|
|
|
---
|
2026-07-19 09:29:17 -07:00
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
|
|
kind: Application
|
|
|
|
|
metadata:
|
|
|
|
|
name: cnpg-operator
|
|
|
|
|
namespace: argocd
|
|
|
|
|
annotations:
|
2026-07-22 23:56:34 -07:00
|
|
|
argocd.argoproj.io/sync-wave: "-1" # Bootstrap wave (before everything)
|
2026-07-19 09:29:17 -07:00
|
|
|
spec:
|
|
|
|
|
project: homelab
|
|
|
|
|
source:
|
|
|
|
|
repoURL: https://cloudnative-pg.github.io/charts
|
|
|
|
|
chart: cloudnative-pg
|
2026-07-20 08:22:53 -07:00
|
|
|
targetRevision: "~0.20"
|
2026-07-19 09:29:17 -07:00
|
|
|
destination:
|
|
|
|
|
server: https://kubernetes.default.svc
|
|
|
|
|
namespace: ddb
|
|
|
|
|
syncPolicy:
|
|
|
|
|
automated:
|
|
|
|
|
prune: true
|
|
|
|
|
selfHeal: true
|
|
|
|
|
syncOptions:
|
|
|
|
|
- CreateNamespace=true
|
2026-07-22 23:56:34 -07:00
|
|
|
- ServerSideApply=true
|