kzap/Kubernetes Manifest Diff Action
Compare Kubernetes manifests between git references using helm, kustomize, or plain YAML
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tool | Tool to use for manifest generation (yaml, helm, kustomize) | no | yaml |
| command | Command to execute for manifest generation (defaults based on tool) | no | "" |
| base-ref | Base reference for comparison (default: main or repo default branch) | no | "" |
| head-ref | Head reference for comparison (default: current commit) | no | "" |
| working-dir | Working directory relative to repo root | no | ./ |
| head-working-dir | If the working directory for the files we want to compare is different from the working directory for the base files, specify it here. By default, the working directory for the base and head files is the same. | no | "" |
| prepare-commands | Commands to run before generating manifests (one per line). These commands are executed in the working directory before running the main command. Useful for setup tasks like installing dependencies, updating submodules, etc. | no | "" |
Outputs
| name | description |
|---|---|
| diff-output | The YAML diff between base and head manifests |
| stderr | Standard error output from failed commands (for debugging) |
| error | Boolean indicating if any command failed (true/false) |