2017-09-04 16:29:40 +08:00
|
|
|
---
|
|
|
|
# Bind the flannel ClusterRole to the canal ServiceAccount.
|
|
|
|
kind: ClusterRoleBinding
|
2020-04-15 04:14:04 +08:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2017-09-04 16:29:40 +08:00
|
|
|
metadata:
|
|
|
|
name: canal-flannel
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
|
|
|
name: flannel
|
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
|
|
|
name: canal
|
2018-03-30 19:29:13 +08:00
|
|
|
namespace: kube-system
|