Add kubeclt config rename-context
Enables renaming of a context via `kubectl` Fix https://github.com/kubernetes/kubernetes/issues/45131
This commit is contained in:
@@ -64,6 +64,7 @@ func NewCmdConfig(pathOptions *clientcmd.PathOptions, out, errOut io.Writer) *co
|
||||
cmd.AddCommand(NewCmdConfigGetClusters(out, pathOptions))
|
||||
cmd.AddCommand(NewCmdConfigDeleteCluster(out, pathOptions))
|
||||
cmd.AddCommand(NewCmdConfigDeleteContext(out, errOut, pathOptions))
|
||||
cmd.AddCommand(NewCmdConfigRenameContext(out, pathOptions))
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
Reference in New Issue
Block a user