[minor] Add CP4D uninstall support to MAS uninstall pipeline and CLI - #2522
Draft
prajeshjain wants to merge 6 commits into
Draft
[minor] Add CP4D uninstall support to MAS uninstall pipeline and CLI#2522prajeshjain wants to merge 6 commits into
prajeshjain wants to merge 6 commits into
Conversation
added 6 commits
July 22, 2026 11:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Cloud Pak for Data (CP4D) uninstall capability to the MAS uninstall pipeline and CLI, enabling users to cleanly remove CP4D as part of a MAS dependency uninstall.
Changes
CLI (
python/src/mas/cli/uninstall/)--uninstall-cp4dflag to the uninstall argument parser--cpd-operators-namespaceand--cpd-instance-namespacearguments with sensible defaults--uninstall-all-depsshortcut pathTekton (
tekton/)tekton/src/tasks/dependencies/cp4d-uninstall.yml.j2implementing themas-devops-cp4d-uninstallTekton Task, backed by thecp4d_uninstallAnsible rolecp4d-uninstallingenerate-tekton-tasks.ymlfor automated task generationcp4d_action,cpd_operators_namespace, andcpd_instance_namespacepipeline parameters tomas-uninstall.yml.j2uninstall-cp4dpipeline task to run in parallel with suite/app uninstall steps immediately after approval gate, conditioned oncp4d_action=uninstallNotes
cp4d_uninstallAnsible role safely exits if CP4D is not installed, so enabling this is non-breakingibm-cpd-operators,ibm-cpd) are handled within the Ansible role when left blank