40 lines
988 B
YAML
40 lines
988 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
annotations:
|
|
argocd.argoproj.io/client-side-apply-migration-manager: argocd-controller
|
|
argocd.argoproj.io/sync-wave: "0"
|
|
name: cnpg
|
|
namespace: argocd
|
|
spec:
|
|
destination:
|
|
namespace: cnpg-system
|
|
server: https://kubernetes.default.svc
|
|
project: default
|
|
sources:
|
|
- chart: cloudnative-pg
|
|
helm:
|
|
values: |
|
|
replicaCount: 1
|
|
config:
|
|
clusterWide: true
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 10m
|
|
memory: 64Mi
|
|
repoURL: https://cloudnative-pg.github.io/charts
|
|
targetRevision: 0.29.1
|
|
- path: add-ons/cnpg
|
|
repoURL: https://gitea.whyredfire.dev/whyredfire/gitops.git
|
|
targetRevision: main
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- ServerSideApply=true
|