Skip to content

Commit edd0129

Browse files
authored
Merge pull request kubernetes#72573 from deads2k/server-08-typo
fix typo in warning advice for permissions
2 parents 34ca130 + 1105e4e commit edd0129

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)