Commit a1ae5b39 by Charlie Drage Committed by kmova

nfs-client: rbac no longer alpha, add serviceAccount to deployment

RBCA is no longer alpha and thus `v1` is only needed. Service account has been added to deployment.yaml in order to get the example to work correctly. (cherry picked from commit 95186ce5dc7e74fcb2986d7aa412d68516cc059e)
parent 63082397
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1alpha1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: nfs-client-provisioner-runner
rules:
......
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1alpha1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: run-nfs-client-provisioner
subjects:
......
......@@ -11,6 +11,7 @@ spec:
labels:
app: nfs-client-provisioner
spec:
serviceAccountName: nfs-client-provisioner
containers:
- name: nfs-client-provisioner
image: quay.io/external_storage/nfs-client-provisioner:latest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment