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 | ||||
| apiVersion: rbac.authorization.k8s.io/v1alpha1 | ||||
| apiVersion: rbac.authorization.k8s.io/v1 | ||||
| metadata: | ||||
|   name: nfs-client-provisioner-runner | ||||
| rules: | ||||
|  |  | |||
|  | @ -1,5 +1,5 @@ | |||
| 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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue