apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: cluster-watchdog
resources:
  - cluster-watchdog.yaml
configMapGenerator:
  # The script rides in a hash-suffixed ConfigMap so an edited watchdog.py rolls
  # out on the next `kubectl apply -k` without touching the CronJob by hand.
  - name: cluster-watchdog-script
    files:
      - watchdog.py
