Files
homelab/k8s/argocd/apps/-1-projects.yaml
T

26 lines
707 B
YAML
Raw Normal View History

# Wave -1 — AppProject definitions (must sync before any Application that references them).
# Syncs k8s/argocd/projects/ which was previously applied by hand.
# Enabled by Stage 1 (A2).
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd-projects
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd.argoproj.io/sync-wave: "-1"
spec:
project: homelab
revisionHistoryLimit: 3
syncPolicy:
automated:
prune: true
selfHeal: true
source:
repoURL: https://forgejo.riotpiao.com/rock/homelab.git
targetRevision: main
path: k8s/argocd/projects
destination:
server: https://kubernetes.default.svc