cybozu-go / accurate

Kubernetes controller for multi-tenancy. It propagates resources between namespaces accurately and allows tenant users to create/delete sub-namespaces.
https://cybozu-go.github.io/accurate/
Apache License 2.0
38 stars 5 forks source link

Completion subcommand for kubectl-accurate #37

Open ymmt2005 opened 2 years ago

ymmt2005 commented 2 years ago

What

This is not possible for the time being. This is possible with Kubernetes 1.26 or better. ref: https://github.com/kubernetes/kubernetes/pull/105867

spf13/cobra can auto-generate shell completion rules, so add completion subcommand to kubectl-accurate for Bash, Zsh, PowerShell, Fish, etc.

Note that it should work when invoked as kubectl accurate ....

How

Describe how to address the issue.

Checklist