Skip to content

Commit

Permalink
chore: Delete the order of removing resources (#2892) (#2893)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha authored Jul 2, 2024
1 parent 560c40d commit 5c6479c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/tasks/installers/eclipse-che/eclipse-che-olm-installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@ export class EclipseCheOlmInstaller implements Installer {
tasks.add(DevWorkspaceInstallerFactory.getInstaller().getDeleteTasks())
}

tasks.add(await OlmTasks.getDeleteSubscriptionAndCatalogSourceTask(
EclipseChe.PACKAGE,
EclipseChe.CSV_PREFIX,
ctx[EclipseCheContext.OPERATOR_NAMESPACE]))
tasks.add(await EclipseCheTasks.getDeleteClusterScopeObjectsTask())
tasks.add(EclipseCheTasks.getDeleteEclipseCheResourcesTask())
tasks.add(await OlmTasks.getDeleteSubscriptionAndCatalogSourceTask(EclipseChe.PACKAGE, EclipseChe.CSV_PREFIX, ctx[EclipseCheContext.OPERATOR_NAMESPACE]))
tasks.add(await EclipseCheTasks.getDeleteWorkloadsTask())
tasks.add(EclipseCheTasks.getDeleteRbacTask())
tasks.add(EclipseCheTasks.getDeleteEclipseCheResourcesTask())
if (!isCheFlavor()) {
tasks.add(await EclipseCheTasks.getDeleteImageContentSourcePolicyTask())
}
Expand Down

0 comments on commit 5c6479c

Please sign in to comment.