You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
322 B

  1. ---
  2. # Bind the flannel ClusterRole to the canal ServiceAccount.
  3. kind: ClusterRoleBinding
  4. apiVersion: rbac.authorization.k8s.io/v1beta1
  5. metadata:
  6. name: canal-flannel
  7. roleRef:
  8. apiGroup: rbac.authorization.k8s.io
  9. kind: ClusterRole
  10. name: flannel
  11. subjects:
  12. - kind: ServiceAccount
  13. name: canal
  14. namespace: kube-system