bats-detik
bats-detik copied to clipboard
Cannot verify for objects with dots
We are trying to use Detik for some tests and for objects where a short name collides with others, we need to use the full object name and Detik doesn't seem to like it.
verify "'.value' is 'false' for settings.management.cattle.io named 'first-login'"
Hi @e-minguez.
Indeed, resource names have been all considered to follow this regular expression: [a-z]+.
CRDs had not been planned at the time. We can and should extend the pattern to include a dot.
A PR has been submitted for review. Hopefully, it should be soon available.
I have created the tag v1.3.1 that solves this issue.