feat: initial bootstrap manifests for argocd and gitea

This commit is contained in:
HDW
2026-04-19 14:56:25 +02:00
parent b156bcd26b
commit 7fb76d40df
2 changed files with 20 additions and 5 deletions

20
bootstrap/root-app.yaml Normal file
View 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

View File

@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: argocd
resources:
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml