argocd: enable directory recurse on the remaining Directory apps

Without it, moving manifests into component directories makes ArgoCD stop seeing them and prune the workload.
This commit is contained in:
2026-08-24 00:35:31 +02:00
parent 0177c73fa9
commit a7f4618d4f
7 changed files with 75 additions and 0 deletions
@@ -0,0 +1,31 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: crowdsec
namespace: argocd
spec:
project: default
sources:
- repoURL: https://crowdsecurity.github.io/helm-charts
chart: crowdsec
targetRevision: 0.24.0
helm:
valueFiles:
- $values/infra/crowdsec/values.yaml
- repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
targetRevision: HEAD
ref: values
- repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
targetRevision: HEAD
path: infra/crowdsec
directory:
exclude: "values.yaml"
destination:
server: https://kubernetes.default.svc
namespace: crowdsec
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- ServerSideApply=true