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
[make] work around opm render bug when building for OLM #6545
Comments
Here is how I see the issue:
|
jmazzitelli
added a commit
to jmazzitelli/kiali
that referenced
this issue
Aug 31, 2023
We will want to do a similar fix for the OSSMC make target that is similar: https://github.com/kiali/openshift-servicemesh-plugin/blob/main/make/Makefile.olm.mk#L69 |
jmazzitelli
added a commit
to jmazzitelli/openshift-servicemesh-plugin
that referenced
this issue
Aug 31, 2023
part of: kiali/kiali#6545 This is the same solution that was added to the kiali/kiali repo: kiali/kiali#6546
jmazzitelli
added a commit
that referenced
this issue
Sep 1, 2023
jmazzitelli
added a commit
to kiali/openshift-servicemesh-plugin
that referenced
this issue
Sep 1, 2023
…201) part of: kiali/kiali#6545 This is the same solution that was added to the kiali/kiali repo: kiali/kiali#6546
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a bug in
opm render
... see operator-framework/operator-registry#935 and operator-framework/operator-registry#919 ... both myself and @ferhoyos hit this when runningmake olm-operator-create
(really, the problem is in the targetbuild-olm-index
).There is an interesting workaround as you see here which seems based on this simple workaround here.
I think we might be able to do something simpler, but the idea is we should tell
opm render
what its DOCKER_CONFIG is (don't rely on the default environment).I think if DORP=podman (meaning you are relying on podman for the image registry access), then the Makefile should simply create a softlink to the podman auth.json to a file called
config.json
(which is docker's name, and apparently what opm render looks at) and just point opm to the podman directory. So something as simple as this should work:Alternatively, copy the auth.json to the build output directory and point DOCKER_CONFIG there.
The text was updated successfully, but these errors were encountered: