kubernetes/pkg/apis/resource
Patrick Ohly 446f20aa3e DRA API: add maximum length of opaque parameters
This had been left out unintentionally earlier. Because theoretically there
might now be existing objects with parameters that are larger than whatever
limit gets enforced now, the limit only gets checked when parameters get
created or modified.

This is similar to the validation of CEL expressions and for consistency, the
same 10 Ki limit as for those is chosen.

Because the limit is not enforced for stored parameters, it can be increased in
the future, with the caveat that users who need larger parameters then depend
on the newer Kubernetes release with a higher limit. Lowering the limit is
harder because creating deployments that worked in older Kubernetes will not
work anymore with newer Kubernetes.
2024-11-06 17:29:51 +01:00
..
fuzzer DRA: new API for 1.31 2024-07-22 18:09:34 +02:00
install DRA API: use v1beta1 as storage version 2024-11-06 13:03:19 +01:00
v1alpha3 DRA API: rename DeviceCapacity.Quantity to DeviceCapacity.Value 2024-11-06 13:03:20 +01:00
v1beta1 DRA API: rename DeviceCapacity.Quantity to DeviceCapacity.Value 2024-11-06 13:03:20 +01:00
validation DRA API: add maximum length of opaque parameters 2024-11-06 17:29:51 +01:00
OWNERS DRA: add wg/device-management label automatically 2024-10-28 16:36:04 +01:00
doc.go
register.go DRA: remove "classic DRA" 2024-10-16 23:09:50 +02:00
types.go DRA API: add maximum length of opaque parameters 2024-11-06 17:29:51 +01:00
zz_generated.deepcopy.go DRA API: rename DeviceCapacity.Quantity to DeviceCapacity.Value 2024-11-06 13:03:20 +01:00