yaks
yaks copied to clipboard
Wait for condition on custom resource uses "null" API group
Given wait for condition=Ready on Kubernetes custom resource event-streaming-kafka-cluster in kafkas.kafka.strimzi.io
results in
yaks-viewer cannot get resource "kafkas" in API group "null"
@bouskaJ FYI
Can confirm that parsing of API Group seems to be buggy. In some cases it only took parts of a string, when using double quotes.
Without any quotes I get "null" as well for the API Group.
Edit: In my case, the bug was caused because of using the kind/resource syntax, which created a wrong string split by https://github.com/citrusframework/yaks/blob/e4b9fc67cd2ae88c2babc61df5877b2e60703325/java/steps/yaks-kubernetes/src/main/java/org/citrusframework/yaks/kubernetes/actions/VerifyCustomResourceAction.java#L259