Skip to content

Commit 63ee84d

Browse files
committed
dra: generated files
1 parent 47433b0 commit 63ee84d

22 files changed

+1611
-1018
lines changed

api/openapi-spec/swagger.json

Lines changed: 32 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/openapi-spec/v3/api__v1_openapi.json

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@
699699
"type": "string"
700700
},
701701
"resourceClaimTemplateName": {
702-
"description": "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 name of the ResourceClaim will be <pod name>-<resource name>, where <resource name> is the PodResourceClaim.Name. Pod validation will reject the pod if the concatenated name is not valid for a ResourceClaim (e.g. too long).\n\nAn existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
702+
"description": "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 ResourceClaim will have a name that is generated with <pod name>-<resource name> as base and the Pod as owner. The generated name gets 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.",
703703
"type": "string"
704704
}
705705
},
@@ -4972,6 +4972,26 @@
49724972
],
49734973
"type": "object"
49744974
},
4975+
"io.k8s.api.core.v1.PodResourceClaimStatus": {
4976+
"description": "PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.",
4977+
"properties": {
4978+
"name": {
4979+
"default": "",
4980+
"description": "Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL.",
4981+
"type": "string"
4982+
},
4983+
"resourceClaimName": {
4984+
"default": "",
4985+
"description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.",
4986+
"type": "string"
4987+
}
4988+
},
4989+
"required": [
4990+
"name",
4991+
"resourceClaimName"
4992+
],
4993+
"type": "object"
4994+
},
49754995
"io.k8s.api.core.v1.PodSchedulingGate": {
49764996
"description": "PodSchedulingGate is associated to a Pod to guard its scheduling.",
49774997
"properties": {
@@ -5475,6 +5495,24 @@
54755495
"description": "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\"",
54765496
"type": "string"
54775497
},
5498+
"resourceClaimStatuses": {
5499+
"description": "Status of resource claims.",
5500+
"items": {
5501+
"allOf": [
5502+
{
5503+
"$ref": "#/components/schemas/io.k8s.api.core.v1.PodResourceClaimStatus"
5504+
}
5505+
],
5506+
"default": {}
5507+
},
5508+
"type": "array",
5509+
"x-kubernetes-list-map-keys": [
5510+
"name"
5511+
],
5512+
"x-kubernetes-list-type": "map",
5513+
"x-kubernetes-patch-merge-key": "name",
5514+
"x-kubernetes-patch-strategy": "merge,retainKeys"
5515+
},
54785516
"startTime": {
54795517
"allOf": [
54805518
{

api/openapi-spec/v3/apis__apps__v1_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@
15791579
"type": "string"
15801580
},
15811581
"resourceClaimTemplateName": {
1582-
"description": "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 name of the ResourceClaim will be <pod name>-<resource name>, where <resource name> is the PodResourceClaim.Name. Pod validation will reject the pod if the concatenated name is not valid for a ResourceClaim (e.g. too long).\n\nAn existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
1582+
"description": "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 ResourceClaim will have a name that is generated with <pod name>-<resource name> as base and the Pod as owner. The generated name gets 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.",
15831583
"type": "string"
15841584
}
15851585
},

api/openapi-spec/v3/apis__batch__v1_openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@
870870
"type": "string"
871871
},
872872
"resourceClaimTemplateName": {
873-
"description": "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 name of the ResourceClaim will be <pod name>-<resource name>, where <resource name> is the PodResourceClaim.Name. Pod validation will reject the pod if the concatenated name is not valid for a ResourceClaim (e.g. too long).\n\nAn existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
873+
"description": "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 ResourceClaim will have a name that is generated with <pod name>-<resource name> as base and the Pod as owner. The generated name gets 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.",
874874
"type": "string"
875875
}
876876
},

pkg/apis/core/v1/zz_generated.conversion.go

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/core/zz_generated.deepcopy.go

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)