website icon indicating copy to clipboard operation
website copied to clipboard

Clarify / emphasize resource name rules for RBAC

Open gburke-ppb opened this issue 1 year ago • 6 comments

https://kubernetes.io/docs/reference/access-authn-authz/rbac/

Can you please update this page to mention somewhere that resources need to be

  • plural
  • lowercase

I just spent two hours wondering why a ClusterRole wasn't working for me until I finally, in desperation, added an s -- the error message shown had the singular of the resource, but the ClusterRole needs the plural.

This is not obvious in the docs.

gburke-ppb avatar Apr 01 '25 11:04 gburke-ppb

@Ajayss04: The label triage/accepted cannot be applied. Only GitHub organization members can add the label.

In response to this:

/triage accepted

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

k8s-ci-robot avatar Apr 02 '25 04:04 k8s-ci-robot

/assign

Ajayss04 avatar Apr 02 '25 04:04 Ajayss04

/sig auth

lmktfy avatar Apr 11 '25 19:04 lmktfy

/triage accepted

aramase avatar Apr 21 '25 16:04 aramase

/retitle Clarify / emphasize resource name rules for RBAC

lmktfy avatar Apr 21 '25 16:04 lmktfy

I would like to work on this /assign

Aryan-Bagale avatar Jan 13 '26 17:01 Aryan-Bagale