add CloudNativePG operator and HA postgres cluster

This commit is contained in:
Sergei Poljanski 2026-04-04 17:07:41 +03:00
commit 2a5ddda96c
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
6 changed files with 116 additions and 0 deletions

20
apps/cnpg-operator.yaml Normal file
View file

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cnpg-operator
namespace: argocd
spec:
project: default
source:
repoURL: https://cloudnative-pg.github.io/charts
chart: cloudnative-pg
targetRevision: 0.28.0
destination:
server: https://kubernetes.default.svc
namespace: cnpg-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true