feat: add CloudNativePG Argo CD application configuration
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
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: ssh://git@gitea-ssh.gitea.svc.cluster.local:22/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
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
cloudnativepg:
|
||||||
|
version: "0.27.0"
|
||||||
|
|
||||||
|
clusters:
|
||||||
|
infra:
|
||||||
|
server: "https://kubernetes.default.svc"
|
||||||
|
|
||||||
|
worker:
|
||||||
|
server: "https://138.199.131.114:6443"
|
||||||
Reference in New Issue
Block a user