kubernetes/pkg/apis/resource
Patrick Ohly e97531b349 api: extend validation of dynamic resource allocation fields in PodSpec
The generated ResourceClaim name and the names of the ResourceClaimTemplate and
ResourceClaim referenced by a pod must be valid according to the resource API,
otherwise the pod cannot start.

Checking this was removed from the original implementation out of concerns
about validating fields in core against limitations imposed by a separate,
alpha API.  But as this was pointed out again in
https://github.com/kubernetes/kubernetes/pull/116254#discussion_r1134010324
it gets added back.

The same strings that worked before still work now. In particular, the
constraints for a spec.resourceClaim.name are still the same (DNS label).
2023-03-14 11:58:41 +01:00
..
fuzzer
install api: resource.k8s.io v1alpha1 -> v1alpha2 2023-03-14 07:52:03 +01:00
v1alpha2 api: resource.k8s.io v1alpha1 -> v1alpha2 2023-03-14 07:52:03 +01:00
validation api: extend validation of dynamic resource allocation fields in PodSpec 2023-03-14 11:58:41 +01:00
doc.go
OWNERS
register.go
types.go
zz_generated.deepcopy.go