quarkiverse / quarkus-operator-sdk

Quarkus Extension to create Kubernetes Operators in Java using the Java Operator SDK (https://github.com/java-operator-sdk/java-operator-sdk) project
Apache License 2.0
115 stars 49 forks source link

Investigate multiple Kubernetes client instances #702

Open metacosm opened 10 months ago

metacosm commented 10 months ago

See https://github.com/operator-framework/java-operator-sdk/issues/2040

metacosm commented 10 months ago

@shawkins can you point me to the tests that cause the OperatorProducer to create a new client instance, please?

shawkins commented 10 months ago

can you point me to the tests that cause the OperatorProducer to create a new client instance, please?

Any of the keycloak tests that extend baseoperatortest - https://github.com/keycloak/keycloak/tree/main/operator/src/test/java/org/keycloak/operator/testsuite/integration

I think I've also seen the OperatorProducer act at tear down as well - which wasn't expected for our tests either.