[minor] Enable Public route for cpd with ansible-devops - #2582
Open
kushwahck-ibm wants to merge 12 commits into
Open
kushwahck-ibm wants to merge 12 commits into
kushwahck-ibm wants to merge 12 commits into
Conversation
This was referenced Sep 7, 2026
Previously when CPD_PUBLIC_ROUTE_ENABLED=true, the entire CIS_ENTRIES_TO_ADD was replaced with just 'cpd-public.<subdomain>', wiping out core/manage/reportdb etc. and breaking DNS/cert creation for all other MAS components. Now cpd-public is appended to the existing CIS_ENTRIES_TO_ADD list, and only if not already present (idempotent). Since gitops already adds cpd-public to cis_entries_to_add via 010-ibm-sync-jobs.yaml, this append is a no-op in the gitops flow but correctly handles the standalone CLI case.
mnivedithaa
approved these changes
Sep 10, 2026
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
--cpd-public-route-enabledflag togitops_cp4dand wires up automatic CIS DNSCNAME + edge certificate provisioning in
gitops_suite_dnswhen the flag is set.https://jsw.ibm.com/browse/MASCORE-15972
Testing
Tested on: mas-cluster-8 / inst1002
Steps Performed
Created CLI image from PR [minor] Enable Public route for cpd with ansible-devops #2582 (branch name same as [minor] Enable Public route for cpd ansible-devops#2433)
Updated CLI image digest in gitops/instance-applications/010-ibm-sync-jobs/templates/01-ibm-mas_suite_dns_Job.yaml
Updated saas-tekton branch (saas-tekton#281) in mcsp-gitops-mas-instance and mcsp-gitops-mas-apps pipelines
Enabled cpd_public_route_enabled: true in saas-envs
Gitops changes merged into mas-gitops via argo-test-branch, ArgoCD app pointed to mas-gitops branch
Verified suite_dns job picked up cpd_public_route_enabled property:
CPD public URL accessible without VPN:
https://cpd-public.inst1002.saasmax.ibmmasivt.com
Result Recording
Screen.Recording.2026-09-08.at.1.40.44.AM.mov