35 lines
751 B
YAML
35 lines
751 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
|
|
metadata:
|
|
name: cloudnative-pg
|
|
namespace: argocd
|
|
|
|
spec:
|
|
project: default
|
|
|
|
sources:
|
|
# CloudNativePG Helm chart
|
|
- repoURL: https://cloudnative-pg.github.io/charts
|
|
chart: cloudnative-pg
|
|
targetRevision: "{{ .Values.cloudnativepg.version }}"
|
|
helm:
|
|
valueFiles:
|
|
- $values/values.yaml
|
|
|
|
# Your GitLab repository
|
|
- repoURL: git@gitea.infrastructure.helmholz.cloud:gitea_admin/CloudNative-PG.git
|
|
targetRevision: main
|
|
ref: values
|
|
|
|
destination:
|
|
server: "{{ .Values.clusters.worker.server }}"
|
|
namespace: cnpg-system
|
|
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
|
|
syncOptions:
|
|
- CreateNamespace=true |