1
0
Fork 0

feat(apps): add cnpg-operator

This commit is contained in:
Vojtěch Mareš 2024-05-11 14:22:11 +02:00
parent 69d678da68
commit 0468bc33b9
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -0,0 +1,36 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cnpg-operator
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "25"
spec:
project: cnpg
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
source:
chart: cloudnative-pg
repoURL: https://cloudnative-pg.github.io/charts
targetRevision: 0.21.2
helm:
releaseName: cnpg
valuesObject:
fullnameOverride: cnpg-operator
replicaCount: 2
# monitoring:
# enablePodMonitor: true
# grafanaDashboard:
# create: true
# sidecarLabel: "grafana_dashboard"
# sidecarLabelValue: "1"
destination:
server: "https://kubernetes.default.svc"
namespace: cnpg-system