weitere implementierung

This commit is contained in:
Hoang Nguyen
2026-05-06 11:19:18 +02:00
parent d8d4d1cbe9
commit aca2d6be33
18 changed files with 323 additions and 11 deletions

View File

@@ -1,9 +1,10 @@
# 1. App für den CloudNativePG Operator
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cnpg-operator
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "1"
spec:
project: default
source:
@@ -19,16 +20,15 @@ spec:
syncPolicy:
automated:
prune: true
selfHeel: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- SkipDryRunOnMissingResource=true
automated:
allowEmpty: true
ignoreDifferences:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
jqPathExpressions:
- .spec.conversion.webhook.clientConfig.caBundle
dependsOn:
- name: timescaledb-crds
- .spec.conversion.webhook.clientConfig.caBundle

View File

@@ -27,7 +27,7 @@ spec:
syncPolicy:
automated:
prune: true
selfHeel: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true

View File

@@ -3,6 +3,8 @@ kind: Application
metadata:
name: timescaledb-crds
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "0"
spec:
project: default
source:
@@ -15,4 +17,4 @@ spec:
syncPolicy:
automated:
prune: true
selfHeel: true
selfHeal: true

View File

@@ -3,6 +3,8 @@ kind: Application
metadata:
name: timescaledb
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: default
source:
@@ -15,14 +17,13 @@ spec:
syncPolicy:
automated:
prune: true
selfHeel: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- SkipDryRunOnMissingResource=true
ignoreDifferences:
- group: postgresql.cnpg.io
kind: Cluster
jqPathExpressions:
- .status
dependsOn:
- name: cnpg-operator
- .status

18
argocd/root.yaml Normal file
View File

@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: root-apps
namespace: argocd
spec:
project: default
source:
repoURL: https://gitea.vhn-demo.duckdns.org/hoang/timescaledb.git
path: argocd/applications
targetRevision: main
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true