csi: fix custom ceph.conf for csi pods
we need to set the variable in the template
instead of the global variable for the
template rendering.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 436a87ea13)
This commit is contained in:
1 parent
e09c823d8c
commit
14fd3fbc83
1 file changed
+1
-1
@@ -304,7 +304,7 @@ func (r *ReconcileCSI) startDrivers(ver *version.Info, ownerInfo *k8sutil.OwnerI
|
||||
NFSDriverName = tp.DriverNamePrefix + "nfs.csi.ceph.com"
|
||||
|
||||
if CustomCSICephConfigExists {
|
||||
CSIParam.MountCustomCephConf = v.SupportsCustomCephConf()
|
||||
tp.Param.MountCustomCephConf = v.SupportsCustomCephConf()
|
||||
}
|
||||
|
||||
csiDriverobj = v1CsiDriver{}
|
||||
|
||||
Reference in new issue
Block a user