Skip to content

Commit 1105e4e

Browse files
committed
fix typo in warning advice for permissions
1 parent 62e8a1b commit 1105e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staging/src/k8s.io/apiserver/pkg/server/options/authentication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ func (s *DelegatingAuthenticationOptions) lookupMissingConfigInCluster(client ku
260260
// ignore, authConfigMap is nil now
261261
case errors.IsForbidden(err):
262262
klog.Warningf("Unable to get configmap/%s in %s. Usually fixed by "+
263-
"'kubectl create rolebinding -n %s ROLE_NAME --role=%s --serviceaccount=YOUR_NS:YOUR_SA'",
263+
"'kubectl create rolebinding -n %s ROLEBINDING_NAME --role=%s --serviceaccount=YOUR_NS:YOUR_SA'",
264264
authenticationConfigMapName, authenticationConfigMapNamespace, authenticationConfigMapNamespace, authenticationRoleName)
265265
return err
266266
case err != nil:

0 commit comments

Comments
 (0)