feat(apps): add cnpg-operator
This commit is contained in:
parent
69d678da68
commit
0468bc33b9
1 changed files with 36 additions and 0 deletions
36
apps/cnpg/cnpg-operator.yaml
Normal file
36
apps/cnpg/cnpg-operator.yaml
Normal 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
|
||||
Reference in a new issue