mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 11:12:03 +00:00
Revert "Revert "Update cobra/pflag. Also update generated kubectl documentation.""
This reverts commit 69432e8b2f
.
COMMIT_BLOCKED_ON_GENDOCS
This commit is contained in:
@@ -11,6 +11,12 @@ Sets the current-context in a .kubeconfig file
|
||||
kubectl config use-context CONTEXT_NAME
|
||||
```
|
||||
|
||||
### Options
|
||||
|
||||
```
|
||||
-h, --help=false: help for use-context
|
||||
```
|
||||
|
||||
### Options inherrited from parent commands
|
||||
|
||||
```
|
||||
@@ -24,7 +30,6 @@ kubectl config use-context CONTEXT_NAME
|
||||
--context="": The name of the kubeconfig context to use
|
||||
--envvar=false: use the .kubeconfig from $KUBECONFIG
|
||||
--global=false: use the .kubeconfig from /home/username
|
||||
-h, --help=false: help for config
|
||||
--insecure-skip-tls-verify=false: If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.
|
||||
--kubeconfig="": use a particular .kubeconfig file
|
||||
--local=false: use the .kubeconfig in the current directory
|
||||
|
Reference in New Issue
Block a user