2017-11-01 14:25:35 +00:00
|
|
|
---
|
2018-02-01 06:16:32 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2018-02-15 01:55:43 +00:00
|
|
|
kind: ClusterRoleBinding
|
2017-11-01 14:25:35 +00:00
|
|
|
metadata:
|
2018-02-15 01:55:43 +00:00
|
|
|
name: local-volume-provisioner-system-persistent-volume-provisioner
|
|
|
|
namespace: {{ local_volume_provisioner_namespace }}
|
2017-11-01 14:25:35 +00:00
|
|
|
subjects:
|
2018-02-01 06:14:18 +00:00
|
|
|
- kind: ServiceAccount
|
2018-02-15 01:55:43 +00:00
|
|
|
name: local-volume-provisioner
|
|
|
|
namespace: {{ local_volume_provisioner_namespace }}
|
2017-11-01 14:25:35 +00:00
|
|
|
roleRef:
|
|
|
|
kind: ClusterRole
|
|
|
|
name: system:persistent-volume-provisioner
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
2018-02-15 01:55:43 +00:00
|
|
|
|
2017-11-01 14:25:35 +00:00
|
|
|
---
|
2018-02-01 06:16:32 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2018-02-15 01:55:43 +00:00
|
|
|
kind: ClusterRoleBinding
|
2017-11-01 14:25:35 +00:00
|
|
|
metadata:
|
2018-02-15 01:55:43 +00:00
|
|
|
name: local-volume-provisioner-system-node
|
|
|
|
namespace: {{ local_volume_provisioner_namespace }}
|
2017-11-01 14:25:35 +00:00
|
|
|
subjects:
|
2018-02-01 06:14:18 +00:00
|
|
|
- kind: ServiceAccount
|
2018-02-15 01:55:43 +00:00
|
|
|
name: local-volume-provisioner
|
|
|
|
namespace: {{ local_volume_provisioner_namespace }}
|
2017-11-01 14:25:35 +00:00
|
|
|
roleRef:
|
|
|
|
kind: ClusterRole
|
|
|
|
name: system:node
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|