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