mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Improve message from kubectl config
1.use Fprintf instead of Printf 2.output simple success messages 3.lowercase all error messages
This commit is contained in:
@@ -92,9 +92,9 @@ kubectl config SUBCOMMAND
|
||||
* [kubectl config set-credentials](kubectl_config_set-credentials.md) - Sets a user entry in kubeconfig
|
||||
* [kubectl config unset](kubectl_config_unset.md) - Unsets an individual value in a kubeconfig file
|
||||
* [kubectl config use-context](kubectl_config_use-context.md) - Sets the current-context in a kubeconfig file
|
||||
* [kubectl config view](kubectl_config_view.md) - displays Merged kubeconfig settings or a specified kubeconfig file.
|
||||
* [kubectl config view](kubectl_config_view.md) - Displays merged kubeconfig settings or a specified kubeconfig file.
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-09-10 18:53:03.163685546 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-09-23 08:09:58.253683538 +0000 UTC
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
|
||||
@@ -33,12 +33,12 @@ Documentation for other releases can be found at
|
||||
|
||||
## kubectl config view
|
||||
|
||||
displays Merged kubeconfig settings or a specified kubeconfig file.
|
||||
Displays merged kubeconfig settings or a specified kubeconfig file.
|
||||
|
||||
### Synopsis
|
||||
|
||||
|
||||
displays Merged kubeconfig settings or a specified kubeconfig file.
|
||||
Displays merged kubeconfig settings or a specified kubeconfig file.
|
||||
|
||||
You can use --output=template --template=TEMPLATE to extract specific values.
|
||||
|
||||
@@ -103,7 +103,7 @@ $ kubectl config view -o template --template='{{range .users}}{{ if eq .name "e2
|
||||
|
||||
* [kubectl config](kubectl_config.md) - config modifies kubeconfig files
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-09-10 18:53:03.161359997 +0000 UTC
|
||||
###### Auto generated by spf13/cobra at 2015-09-23 08:09:58.252744701 +0000 UTC
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[]()
|
||||
|
||||
Reference in New Issue
Block a user