36 lines
		
	
	
	
		
			844 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			844 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| 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
 |