A CLI that scans a kubernetes cluster to find resources that are not managed by ArgoCD.
Download the binary from the latest release and run:
argo-zombies detect
There is a helm chart available that sets up a CronJob to run detection:
helm repo add argo-zombies https://henrywhitaker3.github.io/argo-zombies
helm repo update
helm install argo-zombies argo-zombies/argo-zombies --version <version>
See the values file for configuration options.
The config file (defaults to .argo-zombies.yaml
) allows you to setup exclusions, so that resources are ignored by the detector:
dashboards: {}
# github:
# enabled: true
# repo: henrywhitaker3/argo-zombies
# token: "bongo"
# gitlab:
# enabled: true
# repo: henrywhitaker3/argo-zombies
# token: "bongo"
exclusions:
resources: []
# - name: bongo
# namespace: bongo
# kind: Secret
# version: v1
namespaces: []
# - bongo
selectors: []
# - labels: {}
# annotations: {}
gvrs: []
# - group: apiextensions.k8s.io
# version: v1
# resource: customresourcedefinitions
bundles: []
# - k3s
# - longhorn
# - aks
# - ingress-nginx
# - cert-manager
# - datadog
You can update you helm values to pass these config values to the CronJob.
You can also ignore resources by adding the annotation:
argo-zombies/ignore: "true"