Skip to content

[minor] Add RDS DB2 backup instance flags for Manage, IoT, and Facilities applications for gitops#2100

Merged
whitfiea merged 19 commits intomasterfrom
mascore-11500
Mar 30, 2026
Merged

[minor] Add RDS DB2 backup instance flags for Manage, IoT, and Facilities applications for gitops#2100
whitfiea merged 19 commits intomasterfrom
mascore-11500

Conversation

@Hardik-Prajapati-10
Copy link
Copy Markdown
Contributor

@Hardik-Prajapati-10 Hardik-Prajapati-10 commented Mar 5, 2026

Issue

https://jsw.ibm.com/browse/MASCORE-12567
https://jsw.ibm.com/browse/MASCORE-11500
https://jsw.ibm.com/browse/MASCORE-12578

Description

This PR adds support for RDS DB2 backup instance identification flags for Manage, IoT, and Facilities applications in the GitOps pipeline and CLI tooling.

Changes Made:

  • Added three new parameters to the gitops-rds-db2-database Tekton task:

    • rds_db2_backup_manage - Flag to identify RDS DB2 backup instance for Manage application
    • rds_db2_backup_iot - Flag to identify RDS DB2 backup instance for IoT application
    • rds_db2_backup_facilities - Flag to identify RDS DB2 backup instance for Facilities application
  • Updated the CLI function gitops_rds_db2_database to:

    • Accept new command-line arguments: --rds-db2-backup-manage, --rds-db2-backup-iot, --rds-bd2-backup-facilities
    • Export corresponding environment variables: RDS_DB2_BACKUP_MANAGE, RDS_DB2_BACKUP_IOT, RDS_DB2_BACKUP_FACILITIES
    • Display backup flags in the review settings output based on the MAS application ID
  • Updated the pipeline configuration to pass these parameters through the GitOps workflow

  • Updated CREDENTIALS_SECRETS_PREFIX with admin path.

  • Updated IaC automation - admin credential path prefix

Impact:

These flags enable the system to distinguish between primary and backup RDS DB2 instances for different MAS applications (Manage, IoT, and Facilities), allowing for proper backup instance management and configuration in the GitOps workflow.

All flags default to "false" to maintain backward compatibility with existing deployments.

Test Results

manage : https://github.ibm.com/automation-paas-cd-pipeline/mas-dev/commit/31fd530c5613247d91549356c223e88bccfbdc15

iot : https://github.ibm.com/automation-paas-cd-pipeline/mas-dev/commit/2ff7e6bd48db8b6d8dcb25305103c0e7077d440f

facilities : https://github.ibm.com/automation-paas-cd-pipeline/mas-dev/commit/7e2652435d1c9196e0ad04eb8e47f40ac8a1ff94

Screenshot 2026-03-19 at 2 05 13 PM Screenshot 2026-03-19 at 12 19 37 PM

Related Pull Requests

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


### ⚠️ Notes for Reviewers * Ensure you have understood the [guidelines](https://pages.github.ibm.com/maximoappsuite/playbook/tools/github/#guidelines) before proceeding with a review. * Ensure all sections in the PR template are appropriately completed. * Note: There is a typo in the CLI help text for the facilities flag: `--rds-bd2-backup-facilities` should be `--rds-db2-backup-facilities` (missing 'b' in 'db2'). This should be corrected in line 32 of the help text.

@Hardik-Prajapati-10 Hardik-Prajapati-10 self-assigned this Mar 5, 2026
@Hardik-Prajapati-10 Hardik-Prajapati-10 requested a review from a team as a code owner March 5, 2026 13:37
Comment thread image/cli/mascli/functions/gitops_rds_db2_database Outdated
@whitfiea whitfiea changed the title [minor] Add RDS DB2 backup instance flags for Manage, IoT, and Facilities applications [minor] Add RDS DB2 backup instance flags for Manage, IoT, and Facilities applications for gitops Mar 30, 2026
@whitfiea whitfiea merged commit 5107d87 into master Mar 30, 2026
14 checks passed
@whitfiea whitfiea deleted the mascore-11500 branch March 30, 2026 08:00
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.

5 participants