feat(apps): Add CNPG operator

This commit is contained in:
2026-05-18 00:56:11 +05:30
parent 6ff94158a3
commit d7144e1988
2 changed files with 39 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cnpg
namespace: argocd
spec:
project: default
sources:
- repoURL: https://cloudnative-pg.github.io/charts
chart: cloudnative-pg
targetRevision: 0.28.2
helm:
values: |
replicaCount: 1
config:
clusterWide: true
- repoURL: https://cloudnative-pg.github.io/charts
chart: cluster
targetRevision: 0.6.1
helm:
values: |
cluster:
instances: 1
enablePDB: false
storage:
size: 500Mi
backups:
enabled: false
destination:
server: https://kubernetes.default.svc
namespace: default
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
+1
View File
@@ -6,6 +6,7 @@ resources:
- add-ons/traefik.yaml - add-ons/traefik.yaml
- add-ons/cert-manager.yaml - add-ons/cert-manager.yaml
- add-ons/sealed-secrets.yaml - add-ons/sealed-secrets.yaml
- add-ons/cnpg.yaml
# services # services
- services/app-argocd-repos.yaml - services/app-argocd-repos.yaml