Files
rke2-single-node/07_bootstrap_argocd/argocd-apps.yaml
T

28 lines
736 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: cluster-infra
namespace: argocd
spec:
generators:
- git:
repoURL: https://git.hnrx.net/homelab/rke2-single-node.git
revision: HEAD
directories:
- path: 08_cluster_infrastructure/*
template:
metadata:
name: '{{path.basename}}'
spec:
project: cluster-infra
source:
repoURL: https://git.hnrx.net/homelab/rke2-single-node.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}