cloud-provider-role.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. kind: Role
  3. metadata:
  4. labels:
  5. addonmanager.kubernetes.io/mode: Reconcile
  6. name: gce:cloud-provider
  7. namespace: kube-system
  8. rules:
  9. - apiGroups:
  10. - ""
  11. resources:
  12. - configmaps
  13. verbs:
  14. - create
  15. - get
  16. - patch
  17. - update
  18. - list
  19. - watch
  20. ---
  21. apiVersion: rbac.authorization.k8s.io/v1
  22. kind: ClusterRole
  23. metadata:
  24. labels:
  25. addonmanager.kubernetes.io/mode: Reconcile
  26. name: gce:cloud-provider
  27. rules:
  28. - apiGroups:
  29. - ""
  30. resources:
  31. - events
  32. verbs:
  33. - create
  34. - patch
  35. - update
  36. - apiGroups:
  37. - ""
  38. resources:
  39. - services/status
  40. verbs:
  41. - patch
  42. - update
  43. ---
  44. apiVersion: rbac.authorization.k8s.io/v1
  45. kind: Role
  46. metadata:
  47. labels:
  48. addonmanager.kubernetes.io/mode: Reconcile
  49. name: cloud-provider
  50. namespace: kube-system
  51. annotations:
  52. kubernetes.io/deprecation: 'cloud-provider role is DEPRECATED in the
  53. concern of potential collisions and will be removed in 1.16. Do not use
  54. this role.'
  55. rules:
  56. - apiGroups:
  57. - ""
  58. resources:
  59. - configmaps
  60. verbs:
  61. - create
  62. - get
  63. - patch
  64. - update
  65. - list
  66. - watch
  67. ---
  68. apiVersion: rbac.authorization.k8s.io/v1
  69. kind: ClusterRole
  70. metadata:
  71. labels:
  72. addonmanager.kubernetes.io/mode: Reconcile
  73. name: cloud-provider
  74. annotations:
  75. kubernetes.io/deprecation: 'cloud-provider clusterrole is DEPRECATED in the
  76. concern of potential collisions and will be removed in 1.16. Do not use
  77. this role.'
  78. rules:
  79. - apiGroups:
  80. - ""
  81. resources:
  82. - events
  83. verbs:
  84. - create
  85. - patch
  86. - update