- Bump Go to v1.16 #162
- Bump Kubernetes library to v0.21.0
- Added darwin/arm64 release build
- Fix unsupported printer type error #182
A bug existed that caused error messages to appear in the preview window due to a Kubernetes upgrade.
error: unsupported printer type: *printers.OmitManagedFieldsPrinter
Fixed a bug so that the preview window is displayed properly.
Also, .metadata.managedFields
field is now omitted even when --raw-preview
is enabled.
None
Added ARM builds binaries to the release. Currently, only Linux is supported.
Please wait for the 64-bit ARM MacOS build for Apple Silicon to be supported in Go 1.16.
- Add env var to enable preview across all commands #86
Add environment variables about enable preview mode.
You can use KUBE_FUZZY_PREVIEW_ENABLED=true
.
- Support delete command #81
Added support for the kubectl delete
command with fuzzy finder selector.
You can use the kubectl fuzzy delete
command.
- Fix help message #75
- Support global flags #68
Show the common command flags as global flags.
- fix: no auth provider error (#50) #51
Added import of the auth plugin.
// import the auth plugin package
_ "k8s.io/client-go/plugin/pkg/client/auth"
refs: kubernetes/client-go#242
- Add no resource found error handling #48
Outputs an error message if the resource does not exist.
$ kubectl fuzzy describe pod -n default
no resources found
exit status 1
- Support label selector for exec command #43
Flags:
+ -l, --selector string Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)
for example:
$ kubectl fuzzy exec -it --preview -l app=nginx -- bash
- Add create job command to create job from cronjob #32
Added support for the kubectl create job --from=cronjob
command with fuzzy finder selector.
You can use the kubectl fuzzy create job --from=cronjob
command.
Currently, kubectl fuzzy create job
is --from=cronjob
option required. Job creation without a CronJob is not supported.
📝 See the documentation for details.
$ kubectl fuzzy create job --from=cronjob -P
job.batch/test-cronjob-kb87r created
- Support multi resource type #33
kubectl fuzzy describe
command now allows multiple resource types to be entered.
It is displayed with the following rules:
"%s/%s (%s)", Lower(GroupKind), Name, Namespace
for example:
kubectl fuzzy describe service,configmap -n argocd
- Simplify display the object #30
Added ability to simplify Kubernetes objects displayed in the preview window.
Simplified by default. Some metadata and statuses have been removed.
Use the --raw-preview
option to display the unsimplified object.
- Add describe command #24
- Add preview option for logs and exec command #25
Added support for the kubectl describe
command with fuzzy finder selector.
You can use the kubectl fuzzy describe
command.
You can use the --preview
or -P
option to display a YAML of the Kubernetes object in a fuzzy finder selector.
You can switch display to YAML or JSON with the --preview-format
option.
- fix project name for command example (#17)
- rename project to kubectl-fuzzy (#15)
The name fzf
was not appropriate.
I'm sorry for the breaking changes.
There are no feature changes in this release.
After this release I'm going add the project to the krew index. This should make it easier to install and so on.
kubernetes-sigs/krew-index#660
- Support kubectl exec command (#14)
- Fixed the error message displayed twice(#12)
- Support for
kubectl logs
command