The typical rules section of a 'Role' or 'ClusterRole' looks like this:

# Example 1
....
....
....
rules:
- apiGroups:
  - ""
  resources:
  - pods
  - endpoints
  - namespaces
  verbs:
  - get
  - watch
  - list
  - create
  - delete

# Example 2
....
....
....
rules:
- apiGroups: ['']
  resources: ['services', 'endpoints', 'namespaces']
  verbs: ['get', 'list', 'watch', 'create', 'delete']
