Open barnabasbusa opened 9 months ago
Note this applies to all optionals in Starlark.
I tried two quick approaches one that would involve not throwing a validation error if its optional && None, but it was more involved than a quick fix. Also it will have effect on other option & none combinations so I didn't investigate fully.
I agree with Barnabas though, the if condition he has had to write is janky. He can't put 0 as a default value as the underlying treats 0 differently from no value entered.
What's your CLI version?
0.86.12
Description & steps to reproduce
Current workaround:
Desired behavior
I should be able to pass
None
to toleration_seconds, then I wouldn't need to create two different type of Tolerations.What is the severity of this bug?
Painful; this is causing significant friction in my workflow.
What area of the product does this pertain to?
CLI: the Command Line Interface