A utility to detect changes in Kubernetes resources in Git repos using
dyff
, which must be installed.
This script runs a user‑supplied command twice: once against the current
working directory (including staged and unstaged changes) and once against a
clean Git revision (default is HEAD
). It compares the two YAML outputs
using dyff between
and prints the result. Optionally, the intermediate
YAML files can be retained for inspection.