Files
rke2-single-node/07_bootstrap_argocd/argocd-apps.yaml
T
2026-01-13 14:42:19 +01:00

28 lines
720 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: cluster-infra
namespace: argocd
spec:
generators:
- git:
repoURL: https://github.com/dein-user/git-repo.git
revision: HEAD
directories:
- path: 08_cluster_infrastructure/*
template:
metadata:
name: '{{path.basename}}'
spec:
project: cluster-infra
source:
repoURL: https://github.com/dein-user/git-repo.git
path: '{{path}}'
helm:
values: values-{{cluster.name}}.yaml # Env-spezifisch
destination:
server: https://kubernetes.default.svc
namespace: '{{path.basename}}'
syncPolicy:
automated: {prune: true, selfHeal: true}