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