2022-07-22 21:28:07 +08:00
|
|
|
# Flannel ClusterRole
|
2017-09-04 16:29:40 +08:00
|
|
|
# Pulled from https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel-rbac.yml
|
|
|
|
kind: ClusterRole
|
2020-04-15 04:14:04 +08:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2017-09-04 16:29:40 +08:00
|
|
|
metadata:
|
|
|
|
name: flannel
|
|
|
|
rules:
|
2022-07-22 15:46:19 +08:00
|
|
|
- apiGroups: [""]
|
2017-09-04 16:29:40 +08:00
|
|
|
resources:
|
|
|
|
- pods
|
|
|
|
verbs:
|
|
|
|
- get
|
2022-07-22 15:46:19 +08:00
|
|
|
- apiGroups: [""]
|
2017-09-04 16:29:40 +08:00
|
|
|
resources:
|
|
|
|
- nodes
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
2022-07-22 15:46:19 +08:00
|
|
|
- apiGroups: [""]
|
2017-09-04 16:29:40 +08:00
|
|
|
resources:
|
|
|
|
- nodes/status
|
|
|
|
verbs:
|
|
|
|
- patch
|