zdt-argocd/plugin.yaml
Stefan Reimer 5be7f87475
All checks were successful
ZeroDownTime/zdt-argocd/pipeline/head This commit looks good
ZeroDownTime/zdt-argocd/pipeline/tag This commit looks good
fix: workaround for yaml NOT ending with CR/LF
2025-04-11 19:03:23 +00:00

11 lines
316 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: ConfigManagementPlugin
metadata:
name: kubezero-git-sync
spec:
generate:
command: [sh, -c, 'find . -name "*.yaml" -o -name "*.yml" | while read f; do cat $f; echo; echo "---"; done | vals eval -f -']
# discover:
# find:
# command: [sh, -c, find . -name "*.yaml"]