mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #88071 from int128/patch-1
Fix example of kubectl config set-credentials command
This commit is contained in:
commit
f4ae52a48e
@ -104,7 +104,7 @@ var (
|
|||||||
kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-secret-
|
kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-secret-
|
||||||
|
|
||||||
# Enable new exec auth plugin for the "cluster-admin" entry
|
# Enable new exec auth plugin for the "cluster-admin" entry
|
||||||
kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta
|
kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1
|
||||||
|
|
||||||
# Define new exec auth plugin args for the "cluster-admin" entry
|
# Define new exec auth plugin args for the "cluster-admin" entry
|
||||||
kubectl config set-credentials cluster-admin --exec-arg=arg1 --exec-arg=arg2
|
kubectl config set-credentials cluster-admin --exec-arg=arg1 --exec-arg=arg2
|
||||||
|
Loading…
Reference in New Issue
Block a user