Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions controllers/constant/multipleInstancesEnabled.go

This file was deleted.

10 changes: 0 additions & 10 deletions controllers/render_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,6 @@ func (r *CommonServiceReconciler) getNewConfigs(cs *unstructured.Unstructured) (
newConfigs = append(newConfigs, adminUsernameConfig...)
}

// Update multipleInstancesEnabled when multi-instances
if r.Bootstrap.MultiInstancesEnable {
klog.Info("Applying multipleInstancesEnabled configuration")
multipleinstancesenabledConfig, err := convertStringToSlice(strings.ReplaceAll(constant.MultipleInstancesEnabledTemplate, "placeholder", "true"))
if err != nil {
return nil, nil, err
}
newConfigs = append(newConfigs, multipleinstancesenabledConfig...)
}

// if there is a fipsEnabled field for overall
if enabled := cs.Object["spec"].(map[string]interface{})["fipsEnabled"]; enabled != nil {
klog.Info("Applying fips configuration")
Expand Down