Skip to content

[minor] Avoid generating DRO GitOps resources when DRO specs are not configured#2433

Open
nikitakumble wants to merge 4 commits into
masterfrom
mascore10911
Open

[minor] Avoid generating DRO GitOps resources when DRO specs are not configured#2433
nikitakumble wants to merge 4 commits into
masterfrom
mascore10911

Conversation

@nikitakumble

@nikitakumble nikitakumble commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

issue

https://jsw.ibm.com/browse/MASCORE-10911

Description

This PR updates the provisioner logic to skip generating DRO-related GitOps resources when DRO specifications are not defined in cluster-params.

Previously, DRO files were generated even for MCSP provisioner clusters where no DRO specs were configured. With this change, DRO resources are generated only when the corresponding DRO configuration is present.

Changes

Added a dro_enabled parameter to the Tekton pipeline.
Set dro_enabled based on the presence of the ibm_dro configuration in cluster-params.yaml from saas-envs.

Testing

Tested both scenarios: verified that gitops-dro.yaml is generated only when ibm_dro is defined in cluster-params.yaml and is skipped otherwise.

Related PR

https://github.ibm.com/maximoappsuite/saas-tekton/pull/258

@nikitakumble nikitakumble requested a review from a team as a code owner June 26, 2026 06:31
@nikitakumble nikitakumble requested review from rbinns and whitfiea June 26, 2026 12:54
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.

1 participant