Skip to content

Releases: rumstead/kubectl-safe

v0.0.5

Choose a tag to compare

@rumstead rumstead released this 02 Jul 19:54
2e806f7

Release Notes — v0.0.5

What's Changed

Features

  • Shell completion built-in — __complete and __completeNoDesc are now proxied directly to kubectl. The external wrapper script is no longer needed.
  • --yes / -y flag — 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.Exec for seamless process replacement; Windows uses os/exec.

Breaking Changes

  • cp removed from safe list — kubectl cp is 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

Choose a tag to compare

@rumstead rumstead released this 24 Apr 12:51

Full Changelog: v0.0.3...v0.0.4

Tagging for new krew version

v0.0.3

Choose a tag to compare

@rumstead rumstead released this 24 Apr 12:49

What's Changed

  • fix(krew): updating krew.yaml format to match older versions by @rumstead in #35
  • Fix/revert unneeded krew changes by @rumstead in #36

Full Changelog: v0.0.2...v0.0.3

v0.0.2-alpha

Choose a tag to compare

@rumstead rumstead released this 19 Apr 00:54
fefe862

What's Changed

Full Changelog: v0.0.1-alpha...v0.0.2-alpha

v0.0.2

Choose a tag to compare

@rumstead rumstead released this 19 Apr 10:49
fefe862

What's Changed

Full Changelog: v0.0.1-alpha...v0.0.2

v0.0.1-alpha

Choose a tag to compare

@rumstead rumstead released this 18 Apr 15:00

Changelog

  • 9b71312 trying to get krew working