hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.7K
active users

this is a pretty large part of what people use admission controllers / admission controller frameworks for, and I would not be surprised if this starts slowly killing off an entire class of complex cluster tooling in favour of native validation

the schema validation rules could also help make controllers even more language agnostic as when we map between schema <-> language structs (schemars / kopium + k8s-openapi on side) these rules could be represented as code (and maybe long-term, be used to run client-side validation)

it would require some work on the rust side, but it's a lot more exciting to have this explicit than buried in a code comment on the golang side.

early issue for kube in github.com/kube-rs/kube/issues

GitHubBetter support for `x-kubernetes` properties in schemas · Issue #1367 · kube-rs/kubeBy clux

new kube.rs doc on admission via controllers or cel {validation,policies} at kube.rs/controllers/admission/ in time for 1.29

kube.rsAdmission - kube