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.

35 lines
591 B

  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: ClusterRole
  3. metadata:
  4. name: system:vsphere-cloud-provider
  5. rules:
  6. - apiGroups:
  7. - ""
  8. resources:
  9. - nodes
  10. verbs:
  11. - get
  12. - list
  13. - watch
  14. - apiGroups:
  15. - ""
  16. resources:
  17. - events
  18. verbs:
  19. - create
  20. - patch
  21. - update
  22. ---
  23. apiVersion: rbac.authorization.k8s.io/v1
  24. kind: ClusterRoleBinding
  25. metadata:
  26. name: system:vsphere-cloud-provider
  27. roleRef:
  28. kind: ClusterRole
  29. name: system:vsphere-cloud-provider
  30. apiGroup: rbac.authorization.k8s.io
  31. subjects:
  32. - kind: ServiceAccount
  33. name: vsphere-cloud-provider
  34. namespace: kube-system