Releases: rumstead/kubectl-safe
Releases · rumstead/kubectl-safe
Release list
v0.0.5
Release Notes — v0.0.5
What's Changed
Features
- Shell completion built-in —
__completeand__completeNoDescare now proxied directly to kubectl. The external wrapper script is no longer needed. --yes/-yflag — Skip the confirmation prompt for scripting and CI usage.- Namespace in prompt — Unsafe commands now show the target namespace (e.g.,
You are running a delete against context prod (namespace kube-system), continue?). - Smart verb detection — Leading global flags (
--context,-n,--kubeconfig, etc.) are now correctly skipped when identifying the kubectl verb. - Windows support — Added platform-specific exec via build tags. Unix uses
syscall.Execfor seamless process replacement; Windows usesos/exec.
Breaking Changes
cpremoved from safe list —kubectl cpis a write operation and now triggers the confirmation prompt.
Maintenance
- Go 1.26 — Upgraded from Go 1.22.
- Dependencies updated — cobra v1.10.2, klog v2.140.0, pflag v1.0.10.
- golangci-lint — Upgraded action to v7 using v2.12.2.
- krew-release-bot — Upgraded to v0.0.51.
Full Changelog: v0.0.3...v0.0.5
v0.0.4
Full Changelog: v0.0.3...v0.0.4
Tagging for new krew version
v0.0.3
v0.0.2-alpha
What's Changed
- feat: adding krew install by @rumstead in #18
- docs(readme): adding shell complete by @rumstead in #19
- fix(safe): empty args should not prompt by @rumstead in #20
- Fix/minor big fixes by @rumstead in #22
- feat(unsafe): closes #23 by @rumstead in #24
- docs(autocomplete): adding autocomplete in README.md by @rumstead in #27
- Update codeql-analysis.yml by @rumstead in #28
- Update ci-build.yaml by @rumstead in #29
- Update ci-build.yaml by @rumstead in #30
- feat(go): updating go version and fixing lint by @rumstead in #31
- fix(krew): update krew action by @rumstead in #32
- fix(krew): update krew action by @rumstead in #33
- Fix/krew by @rumstead in #34
Full Changelog: v0.0.1-alpha...v0.0.2-alpha
v0.0.2
What's Changed
- feat: adding krew install by @rumstead in #18
- docs(readme): adding shell complete by @rumstead in #19
- fix(safe): empty args should not prompt by @rumstead in #20
- Fix/minor big fixes by @rumstead in #22
- feat(unsafe): closes #23 by @rumstead in #24
- docs(autocomplete): adding autocomplete in README.md by @rumstead in #27
- Update codeql-analysis.yml by @rumstead in #28
- Update ci-build.yaml by @rumstead in #29
- Update ci-build.yaml by @rumstead in #30
- feat(go): updating go version and fixing lint by @rumstead in #31
- fix(krew): update krew action by @rumstead in #32
- fix(krew): update krew action by @rumstead in #33
- Fix/krew by @rumstead in #34
Full Changelog: v0.0.1-alpha...v0.0.2
v0.0.1-alpha
Changelog
- 9b71312 trying to get krew working