Files
k8s/02-k8s/infra/controllers/application-set.yaml
2025-09-07 11:08:10 +02:00

34 lines
800 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: controllers
namespace: argocd
labels:
s5b.org: controllers
spec:
generators:
- git:
repoURL: https://git.straubintra.net/s5b-private/k8s/
revision: HEAD
directories:
- path: 02-k8s/infra/controllers/*
template:
metadata:
name: '{{ path.basename }}'
labels:
s5b.org: controllers
spec:
project: controllers
source:
repoURL: https://git.straubintra.net/s5b-private/k8s/
targetRevision: HEAD
path: '{{ path }}'
destination:
name: in-cluster
namespace: argocd
syncPolicy:
automated:
selfHeal: true
prune: true
syncOptions:
- ServerSideApply=true