Skip to content

Commit 0368a7d

Browse files
authored
Fix example of kubectl config set-credentials
1 parent df908c3 commit 0368a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/kubectl/pkg/cmd/config/create_authinfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ var (
104104
kubectl config set-credentials cluster-admin --auth-provider=oidc --auth-provider-arg=client-secret-
105105
106106
# Enable new exec auth plugin for the "cluster-admin" entry
107-
kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta
107+
kubectl config set-credentials cluster-admin --exec-command=/path/to/the/executable --exec-api-version=client.authentication.k8s.io/v1beta1
108108
109109
# Define new exec auth plugin args for the "cluster-admin" entry
110110
kubectl config set-credentials cluster-admin --exec-arg=arg1 --exec-arg=arg2

0 commit comments

Comments
 (0)