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.
This commit is contained in:
2689
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
2689
staging/src/k8s.io/api/core/v1/generated.pb.go
generated
File diff suppressed because it is too large
Load Diff
@@ -422,30 +422,6 @@ message CinderVolumeSource {
|
||||
optional LocalObjectReference secretRef = 4;
|
||||
}
|
||||
|
||||
// ClaimSource describes a reference to a ResourceClaim.
|
||||
//
|
||||
// Exactly one of these fields should be set. Consumers of this type must
|
||||
// treat an empty object as if it has an unknown value.
|
||||
message ClaimSource {
|
||||
// ResourceClaimName is the name of a ResourceClaim object in the same
|
||||
// namespace as this pod.
|
||||
optional string resourceClaimName = 1;
|
||||
|
||||
// ResourceClaimTemplateName is the name of a ResourceClaimTemplate
|
||||
// object in the same namespace as this pod.
|
||||
//
|
||||
// The template will be used to create a new ResourceClaim, which will
|
||||
// be bound to this pod. When this pod is deleted, the ResourceClaim
|
||||
// will also be deleted. The pod name and resource name, along with a
|
||||
// generated component, will be used to form a unique name for the
|
||||
// ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
||||
//
|
||||
// This field is immutable and no changes will be made to the
|
||||
// corresponding ResourceClaim by the control plane after creating the
|
||||
// ResourceClaim.
|
||||
optional string resourceClaimTemplateName = 2;
|
||||
}
|
||||
|
||||
// ClientIPConfig represents the configurations of Client IP based session affinity.
|
||||
message ClientIPConfig {
|
||||
// timeoutSeconds specifies the seconds of ClientIP type session sticky time.
|
||||
@@ -3827,7 +3803,10 @@ message PodReadinessGate {
|
||||
optional string conditionType = 1;
|
||||
}
|
||||
|
||||
// PodResourceClaim references exactly one ResourceClaim through a ClaimSource.
|
||||
// PodResourceClaim references exactly one ResourceClaim, either directly
|
||||
// or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim
|
||||
// for the pod.
|
||||
//
|
||||
// It adds a name to it that uniquely identifies the ResourceClaim inside the Pod.
|
||||
// Containers that need access to the ResourceClaim reference it with this name.
|
||||
message PodResourceClaim {
|
||||
@@ -3835,8 +3814,29 @@ message PodResourceClaim {
|
||||
// This must be a DNS_LABEL.
|
||||
optional string name = 1;
|
||||
|
||||
// Source describes where to find the ResourceClaim.
|
||||
optional ClaimSource source = 2;
|
||||
// ResourceClaimName is the name of a ResourceClaim object in the same
|
||||
// namespace as this pod.
|
||||
//
|
||||
// Exactly one of ResourceClaimName and ResourceClaimTemplateName must
|
||||
// be set.
|
||||
optional string resourceClaimName = 3;
|
||||
|
||||
// ResourceClaimTemplateName is the name of a ResourceClaimTemplate
|
||||
// object in the same namespace as this pod.
|
||||
//
|
||||
// The template will be used to create a new ResourceClaim, which will
|
||||
// be bound to this pod. When this pod is deleted, the ResourceClaim
|
||||
// will also be deleted. The pod name and resource name, along with a
|
||||
// generated component, will be used to form a unique name for the
|
||||
// ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
||||
//
|
||||
// This field is immutable and no changes will be made to the
|
||||
// corresponding ResourceClaim by the control plane after creating the
|
||||
// ResourceClaim.
|
||||
//
|
||||
// Exactly one of ResourceClaimName and ResourceClaimTemplateName must
|
||||
// be set.
|
||||
optional string resourceClaimTemplateName = 4;
|
||||
}
|
||||
|
||||
// PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim
|
||||
|
@@ -3920,7 +3920,10 @@ type PodSpec struct {
|
||||
ResourceClaims []PodResourceClaim `json:"resourceClaims,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name" protobuf:"bytes,39,rep,name=resourceClaims"`
|
||||
}
|
||||
|
||||
// PodResourceClaim references exactly one ResourceClaim through a ClaimSource.
|
||||
// PodResourceClaim references exactly one ResourceClaim, either directly
|
||||
// or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim
|
||||
// for the pod.
|
||||
//
|
||||
// It adds a name to it that uniquely identifies the ResourceClaim inside the Pod.
|
||||
// Containers that need access to the ResourceClaim reference it with this name.
|
||||
type PodResourceClaim struct {
|
||||
@@ -3928,18 +3931,17 @@ type PodResourceClaim struct {
|
||||
// This must be a DNS_LABEL.
|
||||
Name string `json:"name" protobuf:"bytes,1,name=name"`
|
||||
|
||||
// Source describes where to find the ResourceClaim.
|
||||
Source ClaimSource `json:"source,omitempty" protobuf:"bytes,2,name=source"`
|
||||
}
|
||||
// Source is tombstoned since Kubernetes 1.31 where it got replaced with
|
||||
// the inlined fields below.
|
||||
//
|
||||
// Source ClaimSource `json:"source,omitempty" protobuf:"bytes,2,name=source"`
|
||||
|
||||
// ClaimSource describes a reference to a ResourceClaim.
|
||||
//
|
||||
// Exactly one of these fields should be set. Consumers of this type must
|
||||
// treat an empty object as if it has an unknown value.
|
||||
type ClaimSource struct {
|
||||
// ResourceClaimName is the name of a ResourceClaim object in the same
|
||||
// namespace as this pod.
|
||||
ResourceClaimName *string `json:"resourceClaimName,omitempty" protobuf:"bytes,1,opt,name=resourceClaimName"`
|
||||
//
|
||||
// Exactly one of ResourceClaimName and ResourceClaimTemplateName must
|
||||
// be set.
|
||||
ResourceClaimName *string `json:"resourceClaimName,omitempty" protobuf:"bytes,3,opt,name=resourceClaimName"`
|
||||
|
||||
// ResourceClaimTemplateName is the name of a ResourceClaimTemplate
|
||||
// object in the same namespace as this pod.
|
||||
@@ -3953,7 +3955,10 @@ type ClaimSource struct {
|
||||
// This field is immutable and no changes will be made to the
|
||||
// corresponding ResourceClaim by the control plane after creating the
|
||||
// ResourceClaim.
|
||||
ResourceClaimTemplateName *string `json:"resourceClaimTemplateName,omitempty" protobuf:"bytes,2,opt,name=resourceClaimTemplateName"`
|
||||
//
|
||||
// Exactly one of ResourceClaimName and ResourceClaimTemplateName must
|
||||
// be set.
|
||||
ResourceClaimTemplateName *string `json:"resourceClaimTemplateName,omitempty" protobuf:"bytes,4,opt,name=resourceClaimTemplateName"`
|
||||
}
|
||||
|
||||
// PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim
|
||||
|
@@ -219,16 +219,6 @@ func (CinderVolumeSource) SwaggerDoc() map[string]string {
|
||||
return map_CinderVolumeSource
|
||||
}
|
||||
|
||||
var map_ClaimSource = map[string]string{
|
||||
"": "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
|
||||
"resourceClaimName": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
|
||||
"resourceClaimTemplateName": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
|
||||
}
|
||||
|
||||
func (ClaimSource) SwaggerDoc() map[string]string {
|
||||
return map_ClaimSource
|
||||
}
|
||||
|
||||
var map_ClientIPConfig = map[string]string{
|
||||
"": "ClientIPConfig represents the configurations of Client IP based session affinity.",
|
||||
"timeoutSeconds": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).",
|
||||
@@ -1717,9 +1707,10 @@ func (PodReadinessGate) SwaggerDoc() map[string]string {
|
||||
}
|
||||
|
||||
var map_PodResourceClaim = map[string]string{
|
||||
"": "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.",
|
||||
"name": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.",
|
||||
"source": "Source describes where to find the ResourceClaim.",
|
||||
"": "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.",
|
||||
"name": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.",
|
||||
"resourceClaimName": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
|
||||
"resourceClaimTemplateName": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
|
||||
}
|
||||
|
||||
func (PodResourceClaim) SwaggerDoc() map[string]string {
|
||||
|
@@ -440,32 +440,6 @@ func (in *CinderVolumeSource) DeepCopy() *CinderVolumeSource {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ClaimSource) DeepCopyInto(out *ClaimSource) {
|
||||
*out = *in
|
||||
if in.ResourceClaimName != nil {
|
||||
in, out := &in.ResourceClaimName, &out.ResourceClaimName
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
if in.ResourceClaimTemplateName != nil {
|
||||
in, out := &in.ResourceClaimTemplateName, &out.ResourceClaimTemplateName
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimSource.
|
||||
func (in *ClaimSource) DeepCopy() *ClaimSource {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ClaimSource)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ClientIPConfig) DeepCopyInto(out *ClientIPConfig) {
|
||||
*out = *in
|
||||
@@ -4018,7 +3992,16 @@ func (in *PodReadinessGate) DeepCopy() *PodReadinessGate {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PodResourceClaim) DeepCopyInto(out *PodResourceClaim) {
|
||||
*out = *in
|
||||
in.Source.DeepCopyInto(&out.Source)
|
||||
if in.ResourceClaimName != nil {
|
||||
in, out := &in.ResourceClaimName, &out.ResourceClaimName
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
if in.ResourceClaimTemplateName != nil {
|
||||
in, out := &in.ResourceClaimTemplateName, &out.ResourceClaimTemplateName
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
@@ -1755,10 +1755,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -859,9 +859,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1756,10 +1756,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -867,9 +867,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1757,10 +1757,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -859,9 +859,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1756,10 +1756,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -867,9 +867,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1756,10 +1756,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -869,9 +869,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1756,10 +1756,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -867,9 +867,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1755,10 +1755,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -859,9 +859,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1756,10 +1756,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -867,9 +867,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1757,10 +1757,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -859,9 +859,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1756,10 +1756,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -867,9 +867,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1839,10 +1839,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -919,9 +919,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1790,10 +1790,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
BIN
staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.pb
vendored
BIN
staging/src/k8s.io/api/testdata/HEAD/batch.v1.Job.pb
vendored
Binary file not shown.
@@ -883,9 +883,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1839,10 +1839,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -919,9 +919,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1697,10 +1697,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
BIN
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb
vendored
BIN
staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.pb
vendored
Binary file not shown.
@@ -815,9 +815,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1740,10 +1740,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -848,9 +848,8 @@ template:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1746,10 +1746,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -853,9 +853,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1755,10 +1755,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -859,9 +859,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1756,10 +1756,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -869,9 +869,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
@@ -1757,10 +1757,8 @@
|
||||
"resourceClaims": [
|
||||
{
|
||||
"name": "nameValue",
|
||||
"source": {
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
"resourceClaimName": "resourceClaimNameValue",
|
||||
"resourceClaimTemplateName": "resourceClaimTemplateNameValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
@@ -859,9 +859,8 @@ spec:
|
||||
- conditionType: conditionTypeValue
|
||||
resourceClaims:
|
||||
- name: nameValue
|
||||
source:
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
resourceClaimName: resourceClaimNameValue
|
||||
resourceClaimTemplateName: resourceClaimTemplateNameValue
|
||||
restartPolicy: restartPolicyValue
|
||||
runtimeClassName: runtimeClassNameValue
|
||||
schedulerName: schedulerNameValue
|
||||
|
1772
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.after_roundtrip.json
vendored
Normal file
1772
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1213
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.after_roundtrip.yaml
vendored
Normal file
1213
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.DaemonSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1774
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.after_roundtrip.json
vendored
Normal file
1774
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1215
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.after_roundtrip.yaml
vendored
Normal file
1215
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1761
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.ReplicaSet.after_roundtrip.json
vendored
Normal file
1761
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.ReplicaSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.ReplicaSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.ReplicaSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1204
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.ReplicaSet.after_roundtrip.yaml
vendored
Normal file
1204
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.ReplicaSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1900
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.after_roundtrip.json
vendored
Normal file
1900
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1304
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.after_roundtrip.yaml
vendored
Normal file
1304
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1777
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.Deployment.after_roundtrip.json
vendored
Normal file
1777
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.Deployment.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.Deployment.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.Deployment.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1217
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.Deployment.after_roundtrip.yaml
vendored
Normal file
1217
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.Deployment.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1900
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.StatefulSet.after_roundtrip.json
vendored
Normal file
1900
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.StatefulSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.StatefulSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.StatefulSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1304
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.StatefulSet.after_roundtrip.yaml
vendored
Normal file
1304
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta1.StatefulSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1772
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.DaemonSet.after_roundtrip.json
vendored
Normal file
1772
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.DaemonSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.DaemonSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.DaemonSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1213
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.DaemonSet.after_roundtrip.yaml
vendored
Normal file
1213
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.DaemonSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1774
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.Deployment.after_roundtrip.json
vendored
Normal file
1774
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.Deployment.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.Deployment.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.Deployment.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1215
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.Deployment.after_roundtrip.yaml
vendored
Normal file
1215
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.Deployment.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1761
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.after_roundtrip.json
vendored
Normal file
1761
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1204
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.after_roundtrip.yaml
vendored
Normal file
1204
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.ReplicaSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1900
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.StatefulSet.after_roundtrip.json
vendored
Normal file
1900
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.StatefulSet.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.StatefulSet.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.StatefulSet.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1304
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.StatefulSet.after_roundtrip.yaml
vendored
Normal file
1304
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1beta2.StatefulSet.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1842
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.after_roundtrip.json
vendored
Normal file
1842
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1264
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.after_roundtrip.yaml
vendored
Normal file
1264
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1803
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.Job.after_roundtrip.json
vendored
Normal file
1803
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.Job.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.Job.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.Job.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
1234
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.Job.after_roundtrip.yaml
vendored
Normal file
1234
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.Job.after_roundtrip.yaml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1842
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1beta1.CronJob.after_roundtrip.json
vendored
Normal file
1842
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1beta1.CronJob.after_roundtrip.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1beta1.CronJob.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1beta1.CronJob.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user