4 ms·
On the last point ("Stringy Types") - k8s API types are actually defined as Protobufs[0] so they have strictly defined schemas. There are some types that are su
by dilyevsky 2y ago
On the last point ("Stringy Types") - k8s API types are actually defined as Protobufs[0] so they have strictly defined schemas. There are some types that are sum types (IntOrString) but generally no type depends on some other field's value afaik. Ofc that doesn't stop CRD developers from making everything a String type and then interpolating server-side (within their custom controller) based on phases of the moon and what not...
[0] - e.g https://github.com/kubernetes/api/blob/master/core/v1/generated.proto https://github.com/kubernetes/api/blob/master/core/v1/genera...