26 lines
605 B
YAML
26 lines
605 B
YAML
# root-infra.yaml
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: root-infra
|
|
namespace: argocd
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "1" # Muss zuerst starten
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: 'http://gitea-http.gitea.svc.cluster.local:3000/hdw/cluster-state.git'
|
|
path: infrastructure
|
|
targetRevision: HEAD
|
|
directory:
|
|
recurse: true
|
|
destination:
|
|
server: 'https://kubernetes.default.svc'
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- SkipDryRunOnMissingResource=true
|