26 lines
716 B
YAML
26 lines
716 B
YAML
# 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://github.com/Riotpiaole/riotpiao.homelab.com.git
|
||
|
|
targetRevision: main
|
||
|
|
path: k8s/argocd/projects
|
||
|
|
destination:
|
||
|
|
server: https://kubernetes.default.svc
|