15 lines
317 B
Django/Jinja
15 lines
317 B
Django/Jinja
---
|
|
# Bind the flannel ClusterRole to the canal ServiceAccount.
|
|
kind: ClusterRoleBinding
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
metadata:
|
|
name: canal-flannel
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: flannel
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: canal
|
|
namespace: kube-system
|