Joel Speed

Results 1017 comments of Joel Speed

This same idea was discussed by the folks discussing declarative validation upstream and there was strong objection from the upstream API review panel. I'd rather we align with what DV...

We recently made a change to the way controller tools works to allow overriding at the field level anyway. We need to consider how something like this would interact. The...

Speaking further with @lalitc375 we want to make a decisions about whether the override logic we recently added (https://github.com/kubernetes-sigs/controller-tools/pull/1270) but has not been released, should be reverted to make this...

I'll try and take a look at my PR again and see if there's a way to avoid this without re-introducing the bug

Have proposed https://github.com/kubernetes-sigs/controller-tools/pull/1310 to revert the override behaviour @lalitc375 does `+k8s:opaque` exist today in DV? Or would that be a new thing?

You should be able to create a string type alias and then use that as the list element type ``` // +kubebuilder:validation:Enum:=A;B;C type Foo string ... // foos is a...

Not presently that I'm aware of no. In upstream/core Kube types, all enums are type aliases like this. It's useful when coding, for example, when you build a switch, linters...

@miheer is this still something you're working on?

@miheer When this is ready for review, please remove the WIP title