Check diff of your kustomize directory.
Install from the Go source code:
$ go install -u github.com/dtaniwaki/git-kustomize-diff
For MacOS, use Homebrew:
brew tap dtaniwaki/git-kustomize-diff
brew install git-kustomize-diff
Or, download the binary from GitHub Releases and put it in your $PATH
.
$ git-kustomize-diff run
Flags:
Usage:
git-kustomize-diff run target_dir [flags]
Flags:
--allow-dirty allow dirty tree
--base string base commitish (default to origin/main)
--debug debug mode
--exclude string exclude regexp (default to none)
--git-path string path of a git binary (default to git)
-h, --help help for run
--include string include regexp (default to all)
--kustomize-load-restrictor string kustomize load restrictor type (default to kustomizaton provider defaults)
--kustomize-path string path of a kustomize binary (default to embedded)
--target string target commitish (default to the current branch)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright (c) 2021 Daisuke Taniwaki. See LICENSE for details.