persistent-volume-binder-binding.yaml 643 B

12345678910111213141516171819
  1. apiVersion: rbac.authorization.k8s.io/v1
  2. # The persistent volume binder creates recycler pods in the default namespace,
  3. # but the addon manager only creates namespaced objects in the kube-system
  4. # namespace, so this is a ClusterRoleBinding.
  5. kind: ClusterRoleBinding
  6. metadata:
  7. name: gce:podsecuritypolicy:persistent-volume-binder
  8. labels:
  9. addonmanager.kubernetes.io/mode: Reconcile
  10. kubernetes.io/cluster-service: "true"
  11. roleRef:
  12. apiGroup: rbac.authorization.k8s.io
  13. kind: ClusterRole
  14. name: gce:podsecuritypolicy:persistent-volume-binder
  15. subjects:
  16. - kind: ServiceAccount
  17. name: persistent-volume-binder
  18. namespace: kube-system