Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to k8s 1.29 libs #3269

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 45 additions & 15 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2846,11 +2846,9 @@
],
"properties": {
"lastHeartbeatTime": {
"default": {},
"$ref": "#/definitions/v1.Time"
},
"lastTransitionTime": {
"default": {},
"$ref": "#/definitions/v1.Time"
},
"message": {
Expand Down Expand Up @@ -3164,7 +3162,6 @@
},
"creationTimestamp": {
"description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
"default": {},
"$ref": "#/definitions/v1.Time"
},
"deletionGracePeriodSeconds": {
Expand Down Expand Up @@ -3310,7 +3307,7 @@
"resources": {
"description": "resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources",
"default": {},
"$ref": "#/definitions/v1.ResourceRequirements"
"$ref": "#/definitions/v1.VolumeResourceRequirements"
},
"selector": {
"description": "selector is a label query over volumes to consider for binding.",
Expand All @@ -3320,6 +3317,10 @@
"description": "storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
"type": "string"
},
"volumeAttributesClassName": {
"description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
"type": "string"
},
"volumeMode": {
"description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.\n\nPossible enum values:\n - `\"Block\"` means the volume will not be formatted with a filesystem and will remain a raw block device.\n - `\"Filesystem\"` means the volume will be or is formatted with a filesystem.\n - `\"FromStorageProfile\"` means the volume mode will be auto selected by CDI according to a matching StorageProfile",
"type": "string",
Expand Down Expand Up @@ -3365,9 +3366,27 @@
],
"properties": {
"labelSelector": {
"description": "A label query over a set of resources, in this case pods.",
"description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.",
"$ref": "#/definitions/v1.LabelSelector"
},
"matchLabelKeys": {
"description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
"type": "array",
"items": {
"type": "string",
"default": ""
},
"x-kubernetes-list-type": "atomic"
},
"mismatchLabelKeys": {
"description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
"type": "array",
"items": {
"type": "string",
"default": ""
},
"x-kubernetes-list-type": "atomic"
},
"namespaceSelector": {
"description": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.",
"$ref": "#/definitions/v1.LabelSelector"
Expand Down Expand Up @@ -3478,15 +3497,13 @@
"description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
"type": "object",
"additionalProperties": {
"default": {},
"$ref": "#/definitions/resource.Quantity"
}
},
"requests": {
"description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
"type": "object",
"additionalProperties": {
"default": {},
"$ref": "#/definitions/resource.Quantity"
}
}
Expand Down Expand Up @@ -3715,6 +3732,26 @@
}
}
},
"v1.VolumeResourceRequirements": {
"description": "VolumeResourceRequirements describes the storage resource requirements for a volume.",
"type": "object",
"properties": {
"limits": {
"description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/resource.Quantity"
}
},
"requests": {
"description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/resource.Quantity"
}
}
}
},
"v1.WatchEvent": {
"description": "Event represents a single event to a watched resource.",
"type": "object",
Expand All @@ -3725,7 +3762,6 @@
"properties": {
"object": {
"description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.",
"default": {},
"$ref": "#/definitions/runtime.RawExtension"
},
"type": {
Expand Down Expand Up @@ -4233,11 +4269,9 @@
],
"properties": {
"lastHeartbeatTime": {
"default": {},
"$ref": "#/definitions/v1.Time"
},
"lastTransitionTime": {
"default": {},
"$ref": "#/definitions/v1.Time"
},
"message": {
Expand Down Expand Up @@ -4400,11 +4434,9 @@
],
"properties": {
"lastHeartbeatTime": {
"default": {},
"$ref": "#/definitions/v1.Time"
},
"lastTransitionTime": {
"default": {},
"$ref": "#/definitions/v1.Time"
},
"message": {
Expand Down Expand Up @@ -4559,11 +4591,9 @@
],
"properties": {
"lastHeartbeatTime": {
"default": {},
"$ref": "#/definitions/v1.Time"
},
"lastTransitionTime": {
"default": {},
"$ref": "#/definitions/v1.Time"
},
"message": {
Expand Down Expand Up @@ -5075,7 +5105,7 @@
"resources": {
"description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources",
"default": {},
"$ref": "#/definitions/v1.ResourceRequirements"
"$ref": "#/definitions/v1.VolumeResourceRequirements"
},
"selector": {
"description": "A label query over volumes to consider for binding.",
Expand Down
Loading