diff --git a/completers/minikube_completer/cmd/kubectl.go b/completers/minikube_completer/cmd/kubectl.go index 31862cd3a9..bf929fb1d8 100644 --- a/completers/minikube_completer/cmd/kubectl.go +++ b/completers/minikube_completer/cmd/kubectl.go @@ -1,6 +1,8 @@ package cmd import ( + "github.com/rsteube/carapace" + "github.com/rsteube/carapace-bin/pkg/actions/bridge" "github.com/spf13/cobra" ) @@ -13,4 +15,8 @@ var kubectlCmd = &cobra.Command{ func init() { kubectlCmd.Flags().Bool("ssh", false, "Use SSH for running kubernetes client on the node") rootCmd.AddCommand(kubectlCmd) + + carapace.Gen(kubectlCmd).DashAnyCompletion( + bridge.ActionCarapaceBin("kubectl"), + ) }