kubernetes/pkg/apis/core/validation
Patrick Ohly bde9b64cdf DRA: remove "source" indirection from v1 Pod API
This makes the API nicer:

    resourceClaims:
    - name: with-template
      resourceClaimTemplateName: test-inline-claim-template
    - name: with-claim
      resourceClaimName: test-shared-claim

Previously, this was:

    resourceClaims:
    - name: with-template
      source:
        resourceClaimTemplateName: test-inline-claim-template
    - name: with-claim
      source:
        resourceClaimName: test-shared-claim

A more long-term benefit is that other, future alternatives
might not make sense under the "source" umbrella.

This is a breaking change. It's justified because DRA is still
alpha and will have several other API breaks in 1.31.
2024-06-27 17:53:24 +02:00
..
doc.go
events_test.go Tolerate sub-microsecond eventTime changes on update 2022-09-01 15:47:37 -04:00
events.go Tolerate sub-microsecond eventTime changes on update 2022-09-01 15:47:37 -04:00
names.go Define ClusterTrustBundlePEM projected volume 2023-11-03 11:40:48 -07:00
OWNERS lavalamp is taking a long break 2023-05-11 16:43:38 +00:00
validation_test.go DRA: remove "source" indirection from v1 Pod API 2024-06-27 17:53:24 +02:00
validation.go DRA: remove "source" indirection from v1 Pod API 2024-06-27 17:53:24 +02:00