diff --git a/provisioner/helper_kernel_nfs_server.go b/provisioner/helper_kernel_nfs_server.go index d674ff1..c73f0dc 100644 --- a/provisioner/helper_kernel_nfs_server.go +++ b/provisioner/helper_kernel_nfs_server.go @@ -271,7 +271,7 @@ func (p *Provisioner) createDeployment(nfsServerOpts *KernelNFSServerOptions) er nfsDeployLabelSelector[nfsPvcNameLabelKey] = nfsServerOpts.pvcName nfsDeployLabelSelector[nfsPvcUIDLabelKey] = nfsServerOpts.pvcUID nfsDeployLabelSelector[nfsPvcNsLabelKey] = nfsServerOpts.pvcNamespace - + if nfsServerOpts.resources != nil { resourceRequirements = *nfsServerOpts.resources }