Skip to content

[minor] Enable ObjectStorageCfg provisioning for MVI application (COS mapping + IAM policy update)#2243

Open
nikitakumble wants to merge 15 commits intomasterfrom
mascore13155
Open

[minor] Enable ObjectStorageCfg provisioning for MVI application (COS mapping + IAM policy update)#2243
nikitakumble wants to merge 15 commits intomasterfrom
mascore13155

Conversation

@nikitakumble
Copy link
Copy Markdown
Contributor

@nikitakumble nikitakumble commented May 5, 2026

issue:

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

Description:

This PR enables provisioning of ObjectStorageCfg for the MVI application.
The existing gitops_mas_config() validates secrets by strictly checking for username, password, and info. Since IaC-provisioned COS secrets use accessKey, access_secret_key, and endpointURL, this mismatch caused ObjectStorageCfg provisioning to fail for MVI.
This change updates gitops_mas_config() to map:
accessKey -> username
access_secret_key -> password
endpointURL -> info

utils function is also updated to correctly handle quoted values, ensuring proper parsing when secret values contain double quotes.

Additionally, ibm-iac-main.tf.j2 is updated to include the s3:ListAllMyBuckets IAM policy, which is required for bucket listing in ObjectStorageCfg.

Related PR:

https://github.ibm.com/maximoappsuite/saas-envs-starter/pull/159
https://github.ibm.com/maximoappsuite/saas-tekton/pull/226

@nikitakumble nikitakumble requested a review from a team as a code owner May 5, 2026 08:13
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