mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-29 06:06:03 +00:00
generate man pages for kubectl using the cobra.Command information. This will directly create files in (by default) docs/man/man1/ called kubectl*.1. Each child verb/cobra command will gets its own man page.
49 lines
1.2 KiB
Groff
49 lines
1.2 KiB
Groff
.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" ""
|
|
|
|
|
|
.SH NAME
|
|
.PP
|
|
kubectl config set\-credentials \- Sets a user entry in .kubeconfig
|
|
|
|
|
|
.SH SYNOPSIS
|
|
.PP
|
|
\fBkubectl config set\-credentials\fP [OPTIONS]
|
|
|
|
|
|
.SH DESCRIPTION
|
|
.PP
|
|
Sets a user entry in .kubeconfig
|
|
Specifying a name that already exists will merge new fields on top of existing values for those fields.
|
|
e.g.
|
|
kubectl config set\-credentials cluster\-admin \-\-client\-key=\~/.kube/cluster\-admin/.kubecfg.key
|
|
only sets the client\-key field on the cluster\-admin user entry without touching other values.
|
|
|
|
|
|
.SH OPTIONS
|
|
.PP
|
|
\fB\-\-auth\-path\fP=""
|
|
auth\-path for the user entry in .kubeconfig
|
|
|
|
.PP
|
|
\fB\-\-client\-certificate\fP=""
|
|
client\-certificate for the user entry in .kubeconfig
|
|
|
|
.PP
|
|
\fB\-\-client\-key\fP=""
|
|
client\-key for the user entry in .kubeconfig
|
|
|
|
.PP
|
|
\fB\-\-token\fP=""
|
|
token for the user entry in .kubeconfig
|
|
|
|
|
|
.SH SEE ALSO
|
|
.PP
|
|
\fBkubectl\-config(1)\fP,
|
|
|
|
|
|
.SH HISTORY
|
|
.PP
|
|
January 2015, Originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since!
|