IBM / ibm-common-service-operator

Operator to install IBM Common Services
https://www.ibm.com/support/knowledgecenter/SSHKN6/kc_welcome_cs.html
Apache License 2.0
19 stars 67 forks source link

Overwrite nss managed role during upgrade #2087

Closed YCShen1010 closed 2 months ago

YCShen1010 commented 2 months ago

What this PR does / why we need it: The script will loop through all the namespaces from .spec.namespaceMembers in nss common-service, and overwrite nss-managed-role YAML file in each ns if it already exists with passed-in role when the --with-minimal-rbac flag is on.

Which issue(s) this PR fixes: Fixes: https://github.ibm.com/IBMPrivateCloud/roadmap/issues/64035

ibm-ci-bot commented 2 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Daniel-Fan, YCShen1010

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/IBM/ibm-common-service-operator/blob/scripts-dev/OWNERS)~~ [Daniel-Fan,YCShen1010] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment