Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to use 'true' and 'false' as label value #23251
It seems resources can't be created with label value set to 'true' or 'false'.
With the following yaml,
I'm getting error:
but change to
Label documentation doesn't mention this case.
The use case for using 'true' as label value is to use "Exist", "NotExist" selector, where you don't have a meaningful label value.
I haven't tested yet, but if yaml parser convert it to typed boolean value before we even get the value, then it might not be easy to fix? If so and we don't want to support it, then I'd think we at least document it somehow.