Change namespace for provisioner account
parent
3e3787de15
commit
520103df78
|
@ -8,11 +8,11 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: local-storage-provisioner-pv-binding
|
name: local-storage-provisioner-pv-binding
|
||||||
namespace: default
|
namespace: {{ system_namespace }}
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: local-storage-admin
|
name: local-storage-admin
|
||||||
namespace: default
|
namespace: {{ system_namespace }}
|
||||||
roleRef:
|
roleRef:
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: system:persistent-volume-provisioner
|
name: system:persistent-volume-provisioner
|
||||||
|
@ -22,11 +22,11 @@ apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: local-storage-provisioner-node-binding
|
name: local-storage-provisioner-node-binding
|
||||||
namespace: default
|
namespace: {{ system_namespace }}
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: local-storage-admin
|
name: local-storage-admin
|
||||||
namespace: default
|
namespace: {{ system_namespace }}
|
||||||
roleRef:
|
roleRef:
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: system:node
|
name: system:node
|
||||||
|
|
Loading…
Reference in New Issue