@@ -125,47 +125,68 @@ func (pg *PlanGenerator) stepConfigurationWithSubStep(s step, newSubStep bool) *
125125 pg .Plan .Spec .stepMap [stepKey ] = & Step {}
126126 switch s { // nolint:gocritic,exhaustive
127127 case stepOrphanMRs :
128- setPatchStep ("deletion-policy-orphan" , pg .Plan .Spec .stepMap [stepKey ])
128+ setPatchStep ("deletion-policy-orphan" , "Setting the deletion policies of Managed Resources to Orphan as a precaution against any unexpected problems that may occur during migration" ,
129+ pg .Plan .Spec .stepMap [stepKey ])
129130 case stepRevertOrphanMRs :
130- setPatchStep ("deletion-policy-delete" , pg .Plan .Spec .stepMap [stepKey ])
131+ setPatchStep ("deletion-policy-delete" , "Setting the deletion policies of Managed Resources whose deletion policy is set to Orphan at the beginning of the migration, to Delete again" ,
132+ pg .Plan .Spec .stepMap [stepKey ])
131133 case stepNewFamilyProvider :
132- setApplyStep ("new-ssop" , pg .Plan .Spec .stepMap [stepKey ])
134+ setApplyStep ("new-ssop" , "Installing the new family provider" ,
135+ pg .Plan .Spec .stepMap [stepKey ])
133136 case stepNewServiceScopedProvider :
134- setApplyStep ("new-ssop" , pg .Plan .Spec .stepMap [stepKey ])
137+ setApplyStep ("new-ssop" , "Installing the new service scoped providers" ,
138+ pg .Plan .Spec .stepMap [stepKey ])
135139 case stepConfigurationPackageDisableDepResolution :
136- setPatchStep ("disable-dependency-resolution" , pg .Plan .Spec .stepMap [stepKey ])
140+ setPatchStep ("disable-dependency-resolution" , "Setting the value of skipDependencyResolution field to true so that dependencies in the configuration package are not resolved automatically" ,
141+ pg .Plan .Spec .stepMap [stepKey ])
137142 case stepConfigurationPackageEnableDepResolution :
138- setPatchStep ("enable-dependency-resolution" , pg .Plan .Spec .stepMap [stepKey ])
143+ setPatchStep ("enable-dependency-resolution" , "Setting the value of skipDependencyResolution field in the configuration package back to false" ,
144+ pg .Plan .Spec .stepMap [stepKey ])
139145 case stepEditConfigurationPackage :
140- setPatchStep ("edit-configuration-package" , pg .Plan .Spec .stepMap [stepKey ])
146+ setPatchStep ("edit-configuration-package" , "Setting the configuration package reference to new one" ,
147+ pg .Plan .Spec .stepMap [stepKey ])
141148 case stepEditPackageLock :
142- setPatchStep ("edit-package-lock" , pg .Plan .Spec .stepMap [stepKey ])
149+ setPatchStep ("edit-package-lock" , "Deleting configuration package dependency from Lock resource" ,
150+ pg .Plan .Spec .stepMap [stepKey ])
143151 case stepDeleteMonolithicProvider :
144- setDeleteStep ("delete-monolithic-provider" , pg .Plan .Spec .stepMap [stepKey ])
152+ setDeleteStep ("delete-monolithic-provider" , "Deleting monolithic provider" ,
153+ pg .Plan .Spec .stepMap [stepKey ])
145154 case stepActivateFamilyProviderRevision :
146- setPatchStep ("activate-ssop" , pg .Plan .Spec .stepMap [stepKey ])
155+ setPatchStep ("activate-ssop" , "Activating the new family provider after deletion monolithic one" ,
156+ pg .Plan .Spec .stepMap [stepKey ])
147157 case stepActivateServiceScopedProviderRevision :
148- setPatchStep ("activate-ssop" , pg .Plan .Spec .stepMap [stepKey ])
158+ setPatchStep ("activate-ssop" , "Activating the new service scoped providers" ,
159+ pg .Plan .Spec .stepMap [stepKey ])
149160 case stepEditConfigurationMetadata :
150- setExecStep ("edit-configuration-metadata" , pg .Plan .Spec .stepMap [stepKey ])
161+ setExecStep ("edit-configuration-metadata" , "Editing the Configuration Meta resource with new family provider references" ,
162+ pg .Plan .Spec .stepMap [stepKey ])
151163 case stepBackupMRs :
152- setExecStep ("backup-managed-resources" , pg .Plan .Spec .stepMap [stepKey ])
164+ setExecStep ("backup-managed-resources" , "Backing up Managed Resources" ,
165+ pg .Plan .Spec .stepMap [stepKey ])
153166 case stepBackupComposites :
154- setExecStep ("backup-composite-resources" , pg .Plan .Spec .stepMap [stepKey ])
167+ setExecStep ("backup-composite-resources" , "Backing up Composite Resources" ,
168+ pg .Plan .Spec .stepMap [stepKey ])
155169 case stepBackupClaims :
156- setExecStep ("backup-claim-resources" , pg .Plan .Spec .stepMap [stepKey ])
170+ setExecStep ("backup-claim-resources" , "Backing up Claims" ,
171+ pg .Plan .Spec .stepMap [stepKey ])
157172 case stepCheckHealthFamilyProvider :
158- setExecStep ("wait-for-healthy" , pg .Plan .Spec .stepMap [stepKey ])
173+ setExecStep ("wait-for-healthy" , "Checking health of new family provider" ,
174+ pg .Plan .Spec .stepMap [stepKey ])
159175 case stepCheckHealthNewServiceScopedProvider :
160- setExecStep ("wait-for-healthy" , pg .Plan .Spec .stepMap [stepKey ])
176+ setExecStep ("wait-for-healthy" , "Checking health of new service scoped provider" ,
177+ pg .Plan .Spec .stepMap [stepKey ])
161178 case stepCheckInstallationFamilyProviderRevision :
162- setExecStep ("wait-for-installed" , pg .Plan .Spec .stepMap [stepKey ])
179+ setExecStep ("wait-for-installed" , "Checking installation of new family provider" ,
180+ pg .Plan .Spec .stepMap [stepKey ])
163181 case stepCheckInstallationServiceScopedProviderRevision :
164- setExecStep ("wait-for-installed" , pg .Plan .Spec .stepMap [stepKey ])
182+ setExecStep ("wait-for-installed" , "Checking installation of new service scoped provider" ,
183+ pg .Plan .Spec .stepMap [stepKey ])
165184 case stepBuildConfiguration :
166- setExecStep ("build-configuration" , pg .Plan .Spec .stepMap [stepKey ])
185+ setExecStep ("build-configuration" , "Building the new configuration pkg" ,
186+ pg .Plan .Spec .stepMap [stepKey ])
167187 case stepPushConfiguration :
168- setExecStep ("push-configuration" , pg .Plan .Spec .stepMap [stepKey ])
188+ setExecStep ("push-configuration" , "Pushing the new configuration pkg" ,
189+ pg .Plan .Spec .stepMap [stepKey ])
169190 default :
170191 panic (fmt .Sprintf (errInvalidStepFmt , s ))
171192 }
0 commit comments