Without it, moving manifests into component directories makes ArgoCD stop seeing them and prune the workload.
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: crowdsec-envoy-bouncer
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
sources:
|
|
# OCI Helm chart. If ArgoCD reports the repo as unknown, register it once:
|
|
# argocd repo add ghcr.io/kdwils/charts --type helm --name kdwils --enable-oci
|
|
- repoURL: ghcr.io/kdwils/charts
|
|
chart: envoy-proxy-bouncer
|
|
targetRevision: 0.6.3
|
|
helm:
|
|
releaseName: crowdsec-envoy-bouncer
|
|
valueFiles:
|
|
- $values/infra/crowdsec-envoy-bouncer/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-envoy-bouncer
|
|
directory:
|
|
exclude: "values.yaml"
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: crowdsec
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- ServerSideApply=true
|