Skip to content

[patch] CP4D 5.3.1 Helm airgapped install support - #2537

Merged
durera merged 51 commits into
masterfrom
cpd531-helm
Aug 20, 2026
Merged

[patch] CP4D 5.3.1 Helm airgapped install support#2537
durera merged 51 commits into
masterfrom
cpd531-helm

Conversation

@nehasangwai-ibm

@nehasangwai-ibm nehasangwai-ibm commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds airgap (mirror) support for Helm charts shipped with Cloud Pak for Data 5.3.1 CASE bundles. This change
ensures those charts are mirrored to/from the target registry as part of the standard
mas mirror workflow.

Changes

python/src/mas/cli/mirror/config.py

  • Extended PACKAGE_CONFIGS tuples with a has_HelmCharts boolean flag to identify CPD CASE
    bundles that also ship Helm charts (ibm-cp-datacore, ibm-ccs, ibm-datarefinery,
    ibm-wsl, ibm-wsl-runtimes, ibm-wml-cpd, ibm-redis-cp, ibm-analyticsengine,
    ibm-cognos-analytics-prod)
  • Added HELM_ONLY_CHART_CONFIGS for bundles that have Helm charts but no standalone ISC
    image files (ibm-opencontent-opensearch)
  • Added ibm-redis-cp (WML dependency) to PACKAGE_CONFIGS

python/src/mas/cli/mirror/app.py

  • Added mirrorCharts() function supporting all three mirror modes:
    • m2m: pulls each chart into a temp dir then pushes to target OCI registry
    • m2d: pulls each chart to <rootDir>/charts/<caseName>/<version>/
    • d2m: pushes .tgz archives from disk to target OCI registry
  • Added getChartMetadata() to fetch per-CASE chart metadata YAML from ibm-mas/image-set-configs
  • Added ChartMirrorResult dataclass to track per-CASE chart mirror results
  • Added _helmLogin() helper for OCI registry authentication
  • Chart mirroring is gated on cpd_product_version_default >= 5.2.0 from the catalog
  • Mirror result summary now reports Helm chart failures separately from image failures

python/src/mas/cli/mirror/argParser.py

  • Minor fix

tests/integration/utils/mirror_test_helper.py

  • Added redis_version to the test helper mirror config

Snippets

m2m mode:
image

m2d mode:
image

d2m mode:
image

SahilSheikh1 and others added 16 commits August 5, 2026 18:10
Co-authored-by: David Parker <parkerda@uk.ibm.com>
Co-authored-by: akashbogam <87757632+akashbogam@users.noreply.github.com>
Co-authored-by: Andrew Foster <163020579+gbanfo@users.noreply.github.com>
Co-authored-by: Andrew Whitfield <whitfiea@uk.ibm.com>
Co-authored-by: Jeel-Oza <jeel.hp.87@gmail.com>
Co-authored-by: Jeel Oza <Jeel.Oza@ibm.com>
Co-authored-by: Pal Vala <valapal2005@gmail.com>
Co-authored-by: Pal Valaexit <Pal.Vala@ibm.com>
Co-authored-by: karol-czarnecki <112193189+karol-czarnecki@users.noreply.github.com>
Co-authored-by: Társis Augusto <64480693+terc1997@users.noreply.github.com>
Co-authored-by: yohlema <86248178+yohlema@users.noreply.github.com>
Co-authored-by: mnivedithaa <mnivedithaa@gmail.com>
Co-authored-by: Nikita Kumble <47314239+nikitakumble@users.noreply.github.com>
Co-authored-by: unnati-solanki-git <131964221+unnati-solanki-git@users.noreply.github.com>
Co-authored-by: MaxRobak <61717686+MaxRobak@users.noreply.github.com>
Co-authored-by: Parveen Kumar <parveenkumar@ibm.com>
Co-authored-by: Ian Boden <82514609+IanBoden@users.noreply.github.com>
Co-authored-by: Divyesh-Khokhar <divyesh.k@ibm.com>
Co-authored-by: Matheus Cardoso de Medeiros <38898699+RexMCM@users.noreply.github.com>
Co-authored-by: Matheus Cardoso de Medeiros <Matheus.Cardoso@ibm.com>
Co-authored-by: Harsh Tamakuwala <Harsh.Tamakuwala@ibm.com>
Co-authored-by: Nivedithaa Mahendran <nivedithaa.mahendran@ibm.com>
Co-authored-by: abhirup-choudhury015 <abhirup.choudhury@ibm.com>
Co-authored-by: Raj Bhavsar <rajbhavsar909@gmail.com>
Co-authored-by: Raj Bhavsar <Raj.Bhavsar@ibm.com>
Co-authored-by: leo-miran <105313348+leo-miran@users.noreply.github.com>
Co-authored-by: Leonardo Miranda <Leo.Miranda@ibm.com>
@nehasangwai-ibm
nehasangwai-ibm requested a review from a team as a code owner August 17, 2026 17:31
Comment thread python/src/mas/cli/mirror/app.py Outdated
@durera durera changed the title [patch] cp4d 5.3.1 helm airgap changes [minor] CP4D 5.3.1 Helm airgapped install support Aug 20, 2026
@durera
durera merged commit 815179d into master Aug 20, 2026
6 checks passed
@durera
durera deleted the cpd531-helm branch August 20, 2026 18:33
@durera durera changed the title [minor] CP4D 5.3.1 Helm airgapped install support [patch] CP4D 5.3.1 Helm airgapped install support Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants