Skip to content

Commit 6d5d359

Browse files
LionelJouink8s-publishing-bot
authored andcommitted
[KEP-4817] make update
Kubernetes-commit: d84c8d2a647aee3a7b0ac499a55e5f630c71d2a9
1 parent 2682ef5 commit 6d5d359

File tree

4 files changed

+24
-10
lines changed

4 files changed

+24
-10
lines changed

Diff for: resource/v1alpha3/generated.proto

+9-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: resource/v1alpha3/types_swagger_doc_generated.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var map_AllocatedDeviceStatus = map[string]string{
3333
"pool": "This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
3434
"device": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
3535
"conditions": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.",
36-
"data": "Data contains arbitrary driver-specific data.",
36+
"data": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
3737
"networkData": "NetworkData contains network-related information specific to the device.",
3838
}
3939

@@ -227,9 +227,9 @@ func (DeviceSelector) SwaggerDoc() map[string]string {
227227

228228
var map_NetworkDeviceData = map[string]string{
229229
"": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.",
230-
"interfaceName": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface.",
230+
"interfaceName": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.",
231231
"ips": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.",
232-
"hardwareAddress": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.",
232+
"hardwareAddress": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.",
233233
}
234234

235235
func (NetworkDeviceData) SwaggerDoc() map[string]string {

Diff for: resource/v1beta1/generated.proto

+9-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: resource/v1beta1/types_swagger_doc_generated.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var map_AllocatedDeviceStatus = map[string]string{
3333
"pool": "This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
3434
"device": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
3535
"conditions": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.",
36-
"data": "Data contains arbitrary driver-specific data.",
36+
"data": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
3737
"networkData": "NetworkData contains network-related information specific to the device.",
3838
}
3939

@@ -236,9 +236,9 @@ func (DeviceSelector) SwaggerDoc() map[string]string {
236236

237237
var map_NetworkDeviceData = map[string]string{
238238
"": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.",
239-
"interfaceName": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface.",
239+
"interfaceName": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.",
240240
"ips": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.",
241-
"hardwareAddress": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.",
241+
"hardwareAddress": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.",
242242
}
243243

244244
func (NetworkDeviceData) SwaggerDoc() map[string]string {

0 commit comments

Comments
 (0)