github.com/kyma-project/kyma/components/asset-store-controller-manager@v0.0.0-20191203152857-3792b5df17c5/config/rbac/leader_election_role.yaml (about)

     1  # permissions to do leader election.
     2  apiVersion: rbac.authorization.k8s.io/v1
     3  kind: Role
     4  metadata:
     5    name: leader-election-role
     6  rules:
     7  - apiGroups:
     8    - ""
     9    resources:
    10    - configmaps
    11    verbs:
    12    - get
    13    - list
    14    - watch
    15    - create
    16    - update
    17    - patch
    18    - delete
    19  - apiGroups:
    20    - ""
    21    resources:
    22    - configmaps/status
    23    verbs:
    24    - get
    25    - update
    26    - patch
    27  - apiGroups:
    28    - ""
    29    resources:
    30    - events
    31    verbs:
    32    - create