Repository navigation
v0.8.0
Breaking change
When switching context inside an active kubert shell, kubert now defaults to update the context in-place instead of spawning a new nested sub-shell on every kubert ctx call. $SHLVL no longer grows on each switch.
You can likely ignore this change, specifically safe to ignore if:
- you don't depend on a new (nested) sub-shell being spawned on every context switch
- e.g. relying on shell exit to automatically revert to a previous context
- you don't use
KUBERT_SHELL_CONTEXTorKUBERT_SHELL_ORIGINAL_KUBECONFIGin the kubert sub-shell (to use these now, you need to configureshell-init, more on that here)
This change does not break context isolation. Each kubert shell still gets its own isolated temporary kubeconfig. On an in-place switch, kubert atomically rewrites that file's contents.
To restore the previous behavior and get nested sub-shells, pass --nested to kubert ctx or set nested: true in your config.
For full details, check docs/ctx-shell-modes.md
Changelog
Breaking changes
- c4d8140: feat(ctx)!: switch context in-place when already inside a kubert shell (#64) (@idebeijer)
Bug fixes
- fc88a26: fix(hooks): expose KUBERT_SHELL_CONTEXT and KUBERT_SHELL_ORIGINAL_KUBECONFIG to all hook invocations (@idebeijer)
- 5b2f457: fix: clean up temp files on chmod and rename failures (@idebeijer)
Documentation
- 7d0bd35: docs: update README with new installation methods (@idebeijer)
Others
- 34cdf33: chore(deps): bump actions/setup-go from 6.2.0 to 6.3.0 (#53) (@dependabot[bot])
- 8cfea97: chore(deps): bump actions/setup-go from 6.3.0 to 6.4.0 (#58) (@dependabot[bot])
- b9ca11b: chore(deps): bump goreleaser/goreleaser-action from 7.0.0 to 7.1.0 (#60) (@dependabot[bot])
- d59d61b: chore(deps): bump goreleaser/goreleaser-action from 7.1.0 to 7.2.1 (#62) (@dependabot[bot])
- e677ee7: chore(deps): bump sigstore/cosign-installer from 4.0.0 to 4.1.0 (#54) (@dependabot[bot])
- 4bf66d7: chore(deps): bump sigstore/cosign-installer from 4.1.0 to 4.1.1 (#57) (@dependabot[bot])
- 70ce15e: chore(deps): bump the dependencies group across 1 directory with 2 updates (#61) (@dependabot[bot])
- b4fa822: chore(deps): bump the dependencies group across 1 directory with 4 updates (#56) (@dependabot[bot])
- 2d83323: chore(deps): bump the dependencies group with 3 updates (#52) (@dependabot[bot])
- 8fb6ba6: chore(deps): bump the dependencies group with 3 updates (#59) (@dependabot[bot])
- eff1f21: chore: bump go to v1.26.1 (@idebeijer)
- a9f68ad: chore: bump go to v1.26.2 (@idebeijer)
- c8a121d: chore: bump golangci-lint to v2.11 (@idebeijer)
- 4668dd0: refactor: remove printing of context switch (@idebeijer)
Full Changelog: v0.7.1...v0.8.0