@@ -1115,6 +1115,9 @@ def launchUninstallPipeline(
11151115 uninstallDRO : bool = False ,
11161116 uninstallMongoDb : bool = False ,
11171117 uninstallSLS : bool = False ,
1118+ uninstallCp4d : bool = False ,
1119+ cpdOperatorsNamespace : str = "" ,
1120+ cpdInstanceNamespace : str = "" ,
11181121) -> str :
11191122 """
11201123 Create a PipelineRun to uninstall the chosen MAS instance (and selected dependencies)
@@ -1132,6 +1135,7 @@ def launchUninstallPipeline(
11321135 mongoDbAction = "uninstall" if uninstallMongoDb else "none"
11331136 slsAction = "uninstall" if uninstallSLS else "none"
11341137 droAction = "uninstall" if uninstallDRO else "none"
1138+ cp4dAction = "uninstall" if uninstallCp4d else "none"
11351139
11361140 # Render the pipelineRun
11371141 renderedTemplate = template .render (
@@ -1144,6 +1148,9 @@ def launchUninstallPipeline(
11441148 sls_action = slsAction ,
11451149 dro_action = droAction ,
11461150 dro_namespace = droNamespace ,
1151+ cp4d_action = cp4dAction ,
1152+ cpd_operators_namespace = cpdOperatorsNamespace ,
1153+ cpd_instance_namespace = cpdInstanceNamespace ,
11471154 )
11481155 logger .debug (renderedTemplate )
11491156 pipelineRun = yaml .safe_load (renderedTemplate )
0 commit comments