diff --git a/pkg/kubectl/cmd/config/view.go b/pkg/kubectl/cmd/config/view.go index 13970ccbfdb..92f46510980 100644 --- a/pkg/kubectl/cmd/config/view.go +++ b/pkg/kubectl/cmd/config/view.go @@ -48,9 +48,12 @@ var ( You can use --output jsonpath={...} to extract specific values using a jsonpath expression.`) view_example = templates.Examples(` - # Show Merged kubeconfig settings. + # Show merged kubeconfig settings. kubectl config view + # Show merged kubeconfig settings and raw certificate data. + kubectl config view --raw + # Get the password for the e2e user kubectl config view -o jsonpath='{.users[?(@.name == "e2e")].user.password}'`) )