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 95186ce5dc)
			
			
This commit is contained in:
		
							parent
							
								
									630823977b
								
							
						
					
					
						commit
						a1ae5b39ce
					
				|  | @ -1,5 +1,5 @@ | ||||||
| kind: ClusterRole | kind: ClusterRole | ||||||
| apiVersion: rbac.authorization.k8s.io/v1alpha1 | apiVersion: rbac.authorization.k8s.io/v1 | ||||||
| metadata: | metadata: | ||||||
|   name: nfs-client-provisioner-runner |   name: nfs-client-provisioner-runner | ||||||
| rules: | rules: | ||||||
|  |  | ||||||
|  | @ -1,5 +1,5 @@ | ||||||
| kind: ClusterRoleBinding | kind: ClusterRoleBinding | ||||||
| apiVersion: rbac.authorization.k8s.io/v1alpha1 | apiVersion: rbac.authorization.k8s.io/v1 | ||||||
| metadata: | metadata: | ||||||
|   name: run-nfs-client-provisioner |   name: run-nfs-client-provisioner | ||||||
| subjects: | subjects: | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ spec: | ||||||
|       labels: |       labels: | ||||||
|         app: nfs-client-provisioner |         app: nfs-client-provisioner | ||||||
|     spec: |     spec: | ||||||
|  |       serviceAccountName: nfs-client-provisioner | ||||||
|       containers: |       containers: | ||||||
|         - name: nfs-client-provisioner |         - name: nfs-client-provisioner | ||||||
|           image: quay.io/external_storage/nfs-client-provisioner:latest |           image: quay.io/external_storage/nfs-client-provisioner:latest | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue