# Need clarifications regarding the a role setup yaml

**URL:** <https://discuss.kubernetes.io/t/need-clarifications-regarding-the-a-role-setup-yaml/8047>\
**Category:** General Discussions\
**Created:** [September 23, 2019, 6:09am UTC](https://discuss.kubernetes.io/t/need-clarifications-regarding-the-a-role-setup-yaml/8047 "2019-09-23T06:09:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubenso](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@rubenso](https://discuss.kubernetes.io/u/rubenso)\
**Post date:** [September 23, 2019, 6:09am UTC](https://discuss.kubernetes.io/t/need-clarifications-regarding-the-a-role-setup-yaml/8047/1 "2019-09-23T06:09:06Z")

</div>

Below mentioned yaml file snippet is used for a role creation :  
I am new in kubernetes and so looking for a reference link to elaborate the rules mentioned in the yaml . For example , my understanding is “” indicates core API groups of kubernetes and then my question is what is “extensions” for … Similarly for rest of the yaml looking for a reference / explanation. Thanks a lot guys for the help

```
rules:
- apiGroups: ["", "extensions", "apps"]

resources: ["*"]
verbs: ["*"]
- apiGroups: ["batch"]
resources:
- jobs
- cronjobs
verbs: ["*"]

```

“” indicates core API groups of kubernetes

### Cluster information:

Kubernetes version:1.12  
Cloud being used: (put bare-metal if not on a public cloud) : Azure

---

<div class="post-metadata">

**Author:** ![rata](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/rata/32/18244_2.png) [@rata](https://discuss.kubernetes.io/u/rata)\
**Post date:** [September 23, 2019, 6:51am UTC](https://discuss.kubernetes.io/t/need-clarifications-regarding-the-a-role-setup-yaml/8047/2 "2019-09-23T06:51:45Z")

</div>

Have you checked: [https://kubernetes.io/docs/reference/access-authn-authz/rbac/](https://kubernetes.io/docs/reference/access-authn-authz/rbac/)

I think it is explained there, IIRC. But please do ask if something is not clear
