-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated changes for supporting s390x & ppc64le #190
Conversation
@guicassolato @jasonmadigan @willthames Please review the changes for supporting authorino-operator image for s390x & pp64cle |
Thanks for this @modassarrana89! Do you mind please running the following? rm -rf ./bin/*
make bundle manifests I'm catching a few minor diff due to the ordering of the fields in the CSV. |
I have run the above command as part of github actions . since you don't have privelege for the action . I have copied the output for it . Please let me know if this is fine. I will run the same on s390x as well & share output as well
|
@modassarrana89, I expected the command to generate a diff in the |
@guicassolato I have updated the commit & run the below make command on my environment i.e s390x Verify bundle
Verify Manifests
|
@guicassolato Do you want me to update Readme , as i have not made catalog image for s390x & ppc64le. Should i update in Readme to use operator-sdk for operator installation ?? |
We have nothing in the README about supported arches yet. If you want to add something, I could't thank you enough! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you much for this, @modassarrana89!
I'll approve the PR. If you do end up adding something to the README, we don't need to spend another round of reviews. Either way, LGTM to merge whenever you say so.
@guicassolato I have updated Readme , as a result please reapprove & merge |
operatorframework.io/arch.amd64: supported | ||
operatorframework.io/arch.s390x: supported | ||
operatorframework.io/arch.ppc64le: supported | ||
operatorframework.io/os.linux: supported |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity is there a operatorframework.io/arch.arm64: supported
label for olm? This seems to be the only missing architecture label that we also build the image for in the workflow 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we build for arm64 but mainly because of devs who work on this platform. We've never had a request to release for it for production use though.
I'm going to merge this. Thanks, @modassarrana89! We usually ask contributors to sign their commits, but no worries. Next time! |
Updated build image workflow to prepare Multi-arch for:
Updated CSV with labels to support multi-arch
Validated the Operator using operator SDK
[root@m1305001 authorino-operator]# ./bin/operator-sdk run bundle quay.io/morana/authorino-operator-bundle:latest
INFO[0011] Creating a File-Based Catalog of the bundle "quay.io/morana/authorino-operator-bundle:latest"
INFO[0014] Generated a valid File-Based Catalog
INFO[0018] Created registry pod: quay-io-morana-authorino-operator-bundle-latest
INFO[0018] Created CatalogSource: authorino-operator-catalog
INFO[0018] OperatorGroup "operator-sdk-og" created
INFO[0018] Created Subscription: authorino-operator-v0-0-0-sub
INFO[0047] Approved InstallPlan install-hzkwt for the Subscription: authorino-operator-v0-0-0-sub
INFO[0047] Waiting for ClusterServiceVersion "default/authorino-operator.v0.0.0" to reach 'Succeeded' phase
INFO[0047] Waiting for ClusterServiceVersion "default/authorino-operator.v0.0.0" to appear
INFO[0050] Found ClusterServiceVersion "default/authorino-operator.v0.0.0" phase: Pending
INFO[0056] Found ClusterServiceVersion "default/authorino-operator.v0.0.0" phase: InstallReady
INFO[0059] Found ClusterServiceVersion "default/authorino-operator.v0.0.0" phase: Installing
INFO[0081] Found ClusterServiceVersion "default/authorino-operator.v0.0.0" phase: Succeeded
INFO[0081] OLM has successfully installed "authorino-operator.v0.0.0"
Note: Catalog image has not been made multi-arch. Reason - Currently its taking opm of x86 arch. Working on another PR to make muti-arch image for Catalog. Then user can deploy operator using CatalogSource & Subscription