Skip to content

henrywhitaker3/argo-zombies

Repository files navigation

Argo-Zombies

A CLI that scans a kubernetes cluster to find resources that are not managed by ArgoCD.

Installation

CLI

Download the binary from the latest release and run:

argo-zombies detect

Helm Chart

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.

Configuration

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.

Ignoring Resources

You can also ignore resources by adding the annotation:

argo-zombies/ignore: "true"