yaks icon indicating copy to clipboard operation
yaks copied to clipboard

Wait for condition on custom resource uses "null" API group

Open christophd opened this issue 4 years ago • 2 comments

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"

christophd avatar May 10 '21 20:05 christophd

@bouskaJ FYI

christophd avatar May 10 '21 21:05 christophd

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

nrrso avatar Nov 22 '21 16:11 nrrso