add namespace for rolebinding

see Issue #1278
This commit is contained in:
Thorsten Schifferdecker 2020-02-07 19:21:50 +01:00 committed by GitHub
parent e7add04d2d
commit f09ffdefb5
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,7 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: leader-locking-nfs-client-provisioner name: leader-locking-nfs-client-provisioner
# replace with namespace where provisioner is deployed # replace with namespace where provisioner is deployed
namespace: default namespace: default
rules: rules:
- apiGroups: [""] - apiGroups: [""]
@ -52,6 +52,8 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: leader-locking-nfs-client-provisioner name: leader-locking-nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace: default
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: nfs-client-provisioner name: nfs-client-provisioner