mirror of https://git.rancher.io/rke2-charts
53 lines
747 B
YAML
53 lines
747 B
YAML
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
name: {{ include "whereabouts.serviceAccountName" . }}
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- whereabouts.cni.cncf.io
|
||
|
resources:
|
||
|
- ippools
|
||
|
- overlappingrangeipreservations
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- create
|
||
|
- update
|
||
|
- patch
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- coordination.k8s.io
|
||
|
resources:
|
||
|
- leases
|
||
|
verbs:
|
||
|
- '*'
|
||
|
- apiGroups: [""]
|
||
|
resources:
|
||
|
- pods
|
||
|
verbs:
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups: [""]
|
||
|
resources:
|
||
|
- nodes
|
||
|
verbs:
|
||
|
- get
|
||
|
- apiGroups: ["k8s.cni.cncf.io"]
|
||
|
resources:
|
||
|
- network-attachment-definitions
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
- events.k8s.io
|
||
|
resources:
|
||
|
- events
|
||
|
verbs:
|
||
|
- create
|
||
|
- patch
|
||
|
- update
|
||
|
- get
|