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:
@@ -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
|
||||
Reference in New Issue
Block a user