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