feat: initial bootstrap manifests for argocd and gitea
This commit is contained in:
20
bootstrap/root-app.yaml
Normal file
20
bootstrap/root-app.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: root-app
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: 'http://localhost:3000/hdw/cluster-state.git'
|
||||
targetRevision: HEAD
|
||||
path: apps/ # WICHTIG: Das ist der Ordner mit den Kind-Apps
|
||||
destination:
|
||||
server: 'https://kubernetes.default.svc'
|
||||
namespace: argocd # Argo CD muss sich selbst verwalten können
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true # Löscht Apps, wenn sie aus dem Repo entfernt werden
|
||||
selfHeal: true # Korrigiert Abweichungen automatisch
|
||||
Reference in New Issue
Block a user