Today we only check for Kafka CRD, a more reliable check should also check for the operator deployment to make sure that we are ready. See Infinispan for reference:
https://github.com/kiegroup/kogito-cloud-operator/blob/master/pkg/infrastructure/infinispan.go#L40-L61
The problem is that their deployment name hasn't a pattern, which makes difficult to fetch for a specific object within the namespace. Could be expensive to look for all deployments and go through all of the items. Maybe labels?
- relates to
-
KOGITO-3142 Remove third party dependencies from Kogito Operator
- Closed
-
KOGITO-865 Reuse code base for install Data Index via CLI (direct X flags)
- Resolved