-
Notifications
You must be signed in to change notification settings - Fork 497
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
need ossmconsole CRD even for non-openshift environs #6788
Comments
github-project-automation
bot
moved this to 📋 Backlog
in Kiali Sprint 25-01 | Kiali v2.4
Oct 27, 2023
jmazzitelli
moved this from 📋 Backlog
to 🏗 In progress
in Kiali Sprint 25-01 | Kiali v2.4
Oct 27, 2023
These are the replication steps that I used to see the issue.
|
jmazzitelli
added a commit
to jmazzitelli/kiali-operator
that referenced
this issue
Oct 27, 2023
This can be useful if OpenShift users want to use the upstream OLM metadata when installing the Kiali Operator. fixes: kiali/kiali#6788
jmazzitelli
moved this from 🏗 In progress
to 👀 In review
in Kiali Sprint 25-01 | Kiali v2.4
Oct 27, 2023
jmazzitelli
added a commit
to kiali/kiali-operator
that referenced
this issue
Oct 27, 2023
This can be useful if OpenShift users want to use the upstream OLM metadata when installing the Kiali Operator. fixes: kiali/kiali#6788
github-project-automation
bot
moved this from 👀 In review
to ✅ Done
in Kiali Sprint 25-01 | Kiali v2.4
Oct 27, 2023
The solution to this was redone via this issue and its PR (essentially, the OSSMConsole CRD will not be installed on non-OpenShift environments). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is happening in master builds - not affecting any releases (yet - it will affect the next release when the operator handles ossmc installs).
I was hoping we did not have to install the OSSMConsole CRD on non-OpenShift environments, but right now there isn't a way. The operator watches.yaml declares to the operator it should watch for OSSMConsole CRs. So if the CRD does not exist (and it won't if you install the Operator using OLM - the upstream OLM metadata doesn't include the CRD - only the Kiali CRD exists) then this error will occur and the operator exits:
We need to add the CRD to the upstream metadata so this error is avoided. The operator helm chart includes this OSSMConsole CRD already, so that isn't an issue when helm installed
In the future it would be nice to not have the operator require this CRD to be installed on non-OpenShift environments, but I don't know how to make the watches.yaml declare to the operator that it is OPTIONAL.
The text was updated successfully, but these errors were encountered: