Skip to content

No olm core recipe#2619

Merged
bluzarraga merged 15 commits intoIBM:scripts-devfrom
qpdpQ:core-recipe
Sep 17, 2025
Merged

No olm core recipe#2619
bluzarraga merged 15 commits intoIBM:scripts-devfrom
qpdpQ:core-recipe

Conversation

@qpdpQ
Copy link
Contributor

@qpdpQ qpdpQ commented Sep 8, 2025

What this PR does / why we need it:
fusion recipe for no-olm cpfs services, including cs-operator, odlm, im, ui, edb and zen
Which issue(s) this PR fixes:
Fixes # https://github.ibm.com/IBMPrivateCloud/roadmap/issues/67407

Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
@qpdpQ
Copy link
Contributor Author

qpdpQ commented Sep 9, 2025

Backup succeed:

Screenshot 2025-09-09 at 11 26 41 AM

Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
@qpdpQ
Copy link
Contributor Author

qpdpQ commented Sep 10, 2025

Restore succeed
Screenshot 2025-09-10 at 1 28 25 PM
Screenshot 2025-09-10 at 1 28 35 PM

Signed-off-by: Allen Li <liyuchen223@gmail.com>
@qpdpQ
Copy link
Contributor Author

qpdpQ commented Sep 10, 2025

Trying to intergrate it with br automation now

@qpdpQ qpdpQ changed the title [WIP] No olm core recipe No olm core recipe Sep 10, 2025
Copy link
Member

@bluzarraga bluzarraga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mostly comes down to labeling semantics. The label-common-service.sh script is not on the same page as some of the recipes here creating some gaps. Let's make sure to get on the same page as the script since other items are already based on how the script labels them

@bluzarraga
Copy link
Member

We also need to update this spot here

namespaces=$(${OC} get configmap namespace-scope -n $OPERATOR_NS -oyaml | awk '/^data:/ {flag=1; next} /^ namespaces:/ {print $2; next} flag && /^ [^ ]+: / {flag=0}')
. No olm is supposed to be able to work without namespace scope but currently some key resources require an nss specific resource to be present to determine their namespace. We need some kind of no olm/no nss friendly way to determine these namespaces. Should just be a combination of op, services, and tethered namespaces though (plus the singleton namespaces like we already do)

Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
Copy link
Member

@bluzarraga bluzarraga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes to the recipe look good. We don't want to increase the permissions of the label-common-service.sh script though because of the attached job so lets rethink how we grab the namespaces

Signed-off-by: Allen Li <liyuchen223@gmail.com>
Signed-off-by: Allen Li <liyuchen223@gmail.com>
@bluzarraga
Copy link
Member

This looks good to me now, thanks @qpdpQ

@bluzarraga
Copy link
Member

/lgtm

@ibm-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bluzarraga, qpdpQ

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

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@bluzarraga bluzarraga merged commit abc33c8 into IBM:scripts-dev Sep 17, 2025
1 check passed
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.

3 participants