2017-09-04 16:29:40 +08:00
|
|
|
---
|
|
|
|
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: calico
|
2018-03-30 19:29:13 +08:00
|
|
|
namespace: kube-system
|
2017-09-04 16:29:40 +08:00
|
|
|
rules:
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources:
|
|
|
|
- namespaces
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources:
|
|
|
|
- pods/status
|
|
|
|
verbs:
|
|
|
|
- update
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources:
|
|
|
|
- pods
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups: [""]
|
|
|
|
resources:
|
|
|
|
- nodes
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- update
|
|
|
|
- watch
|
|
|
|
- apiGroups: ["extensions"]
|
|
|
|
resources:
|
|
|
|
- thirdpartyresources
|
|
|
|
verbs:
|
|
|
|
- create
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups: ["extensions"]
|
|
|
|
resources:
|
|
|
|
- networkpolicies
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups: ["projectcalico.org"]
|
|
|
|
resources:
|
|
|
|
- globalbgppeers
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- apiGroups: ["projectcalico.org"]
|
|
|
|
resources:
|
|
|
|
- globalconfigs
|
|
|
|
- globalbgpconfigs
|
|
|
|
verbs:
|
|
|
|
- create
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- update
|
|
|
|
- watch
|
|
|
|
- apiGroups: ["projectcalico.org"]
|
|
|
|
resources:
|
|
|
|
- ippools
|
|
|
|
verbs:
|
|
|
|
- create
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- update
|
|
|
|
- watch
|
|
|
|
- apiGroups: ["alpha.projectcalico.org"]
|
|
|
|
resources:
|
|
|
|
- systemnetworkpolicies
|
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
2018-08-23 00:16:13 +08:00
|
|
|
- apiGroups:
|
|
|
|
- policy
|
|
|
|
resourceNames:
|
|
|
|
- privileged
|
|
|
|
resources:
|
|
|
|
- podsecuritypolicies
|
|
|
|
verbs:
|
|
|
|
- use
|