2017-09-04 08:29:40 +00:00
|
|
|
---
|
|
|
|
# Bind the calico ClusterRole to the canal ServiceAccount.
|
2020-04-14 20:14:04 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2017-09-04 08:29:40 +00:00
|
|
|
kind: ClusterRoleBinding
|
|
|
|
metadata:
|
|
|
|
name: canal-calico
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
2022-07-22 07:46:19 +00:00
|
|
|
name: calico-node
|
2017-09-04 08:29:40 +00:00
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
|
|
|
name: canal
|
2018-03-30 11:29:13 +00:00
|
|
|
namespace: kube-system
|
2022-07-22 07:46:19 +00:00
|
|
|
---
|
|
|
|
kind: ClusterRoleBinding
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
metadata:
|
|
|
|
name: calico-kube-controllers
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
|
|
|
name: calico-kube-controllers
|
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
|
|
|
name: calico-kube-controllers
|
|
|
|
namespace: kube-system
|