-
Notifications
You must be signed in to change notification settings - Fork 490
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
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
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
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: