Files
homelab/apps/test/application-set.yaml
2023-12-14 20:06:57 +01:00

39 lines
893 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: test
namespace: argocd
labels:
dev.stonegarden: test
spec:
generators:
- git:
repoURL: https://github.com/vehagn/homelab
revision: HEAD
directories:
- path: apps/test/*
template:
metadata:
name: '{{ path.basename }}'
labels:
dev.stonegarden: test
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: test
source:
plugin:
name: kustomize-build-with-helm
repoURL: https://github.com/vehagn/homelab
targetRevision: HEAD
path: '{{ path }}'
destination:
name: in-cluster
namespace: '{{ path.basename }}'
syncPolicy:
automated:
selfHeal: false
prune: true
syncOptions:
- CreateNamespace=true