forked from rook/rook
csi: set daemonset set name as template name
Currently daemonset template.metadata.name is empty and the way we are setting is not correct use the daemonset name as the template.metadata.name Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
@@ -804,7 +804,7 @@ func (r *ReconcileCSI) configureHolder(driver driverDetails, c ClusterDetail, tp
|
||||
|
||||
// Make the DS name unique per Ceph cluster
|
||||
cephPluginHolder.Name = fmt.Sprintf("%s-%s", cephPluginHolder.Name, c.cluster.Name)
|
||||
cephPluginHolder.Spec.Template.Name = fmt.Sprintf("%s-%s", cephPluginHolder.Spec.Template.Name, c.cluster.Name)
|
||||
cephPluginHolder.Spec.Template.Name = cephPluginHolder.Name
|
||||
cephPluginHolder.Spec.Template.Spec.Containers[0].Name = fmt.Sprintf("%s-%s", cephPluginHolder.Spec.Template.Spec.Containers[0].Name, c.cluster.Name)
|
||||
|
||||
// Add default labels
|
||||
|
||||
Reference in New Issue
Block a user