-
Notifications
You must be signed in to change notification settings - Fork 219
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
fix: make it possible to inject OpenShiftClient instead of plain k8s #355
Conversation
I think the PR is not enough.
Once I fixed the code in https://github.com/java-operator-sdk/java-operator-sdk/blob/e437bfc883ba9c807ea64a0ed38cd094ef05cb16/operator-framework-quarkus-extension/runtime/src/main/java/io/javaoperatorsdk/quarkus/extension/OperatorProducer.java#L20, I was able to compile and run my operator but it fails with the error:
My code was using 1.7.0 so it might be something that I missed when I upgraded to the 1.7.3-SNAPSHOT version. |
fwiw, this is the commit I used to test this PR: jmesnil/wildfly-operator@java-operator...jmesnil:openshift_client (the main change is switching the @injected client from Kubernetes to OpenShift |
I think this also needs: quarkusio/quarkus#14943 which is in 1.12.1… |
The second issue is due to a mismatch between the fabric8 version used in the SDK and the one brought up by quarkus, so it would really be needed to test with the latest master if possible… |
sorry for the noise, it turned out that this PR was not on the tip of |
@jmesnil no problems, my bad for not rebasing properly before asking for tests 😥 |
Fixes #330