kzdiff – Compare the kustomize build output to that of the default branch

TL;DR

I built kzdiff to provide an easy way to check build result differences in Kustomize. This allows you to confirm changes locally before deployment.

Usage: kzdiff <kustomize-path> [options…]

Options:
-b, –branch <ref&g…


This content originally appeared on DEV Community and was authored by ShoppingJaws

TL;DR

I built kzdiff to provide an easy way to check build result differences in Kustomize. This allows you to confirm changes locally before deployment.

Usage: kzdiff <kustomize-path> [options...]

Options:
  -b, --branch <ref>       Remote branch or commit to compare against
  -r, --ref <ref>          Same as -b/--branch (default: auto-detect)
  -h, --help               Show this help message
  -v, --verbose            Enable verbose debug logging
  --version                Show version number
  --                       Pass remaining arguments to kustomize

Examples:
  kzdiff ./examples/overlays/prod
  kzdiff ./examples/overlays/prod -b develop
  kzdiff ./examples/overlays/prod -r b44e5dcad7aa15e023eb09f24a5b9b968cc46e13
  kzdiff ./examples/overlays/prod -- --enable-helm
  kzdiff ./examples/overlays/prod -b staging -- --enable-helm

Note: When using commit hashes, use the full 40-character SHA


This content originally appeared on DEV Community and was authored by ShoppingJaws


Print Share Comment Cite Upload Translate Updates
APA

ShoppingJaws | Sciencx (2025-08-05T04:19:50+00:00) kzdiff – Compare the kustomize build output to that of the default branch. Retrieved from https://www.scien.cx/2025/08/05/kzdiff-compare-the-kustomize-build-output-to-that-of-the-default-branch/

MLA
" » kzdiff – Compare the kustomize build output to that of the default branch." ShoppingJaws | Sciencx - Tuesday August 5, 2025, https://www.scien.cx/2025/08/05/kzdiff-compare-the-kustomize-build-output-to-that-of-the-default-branch/
HARVARD
ShoppingJaws | Sciencx Tuesday August 5, 2025 » kzdiff – Compare the kustomize build output to that of the default branch., viewed ,<https://www.scien.cx/2025/08/05/kzdiff-compare-the-kustomize-build-output-to-that-of-the-default-branch/>
VANCOUVER
ShoppingJaws | Sciencx - » kzdiff – Compare the kustomize build output to that of the default branch. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/08/05/kzdiff-compare-the-kustomize-build-output-to-that-of-the-default-branch/
CHICAGO
" » kzdiff – Compare the kustomize build output to that of the default branch." ShoppingJaws | Sciencx - Accessed . https://www.scien.cx/2025/08/05/kzdiff-compare-the-kustomize-build-output-to-that-of-the-default-branch/
IEEE
" » kzdiff – Compare the kustomize build output to that of the default branch." ShoppingJaws | Sciencx [Online]. Available: https://www.scien.cx/2025/08/05/kzdiff-compare-the-kustomize-build-output-to-that-of-the-default-branch/. [Accessed: ]
rf:citation
» kzdiff – Compare the kustomize build output to that of the default branch | ShoppingJaws | Sciencx | https://www.scien.cx/2025/08/05/kzdiff-compare-the-kustomize-build-output-to-that-of-the-default-branch/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.