Skip to content

Commit

Permalink
Bump KUBEVIRT to v1.4.0-alpha.1 (#3142)
Browse files Browse the repository at this point in the history
Signed-off-by: HCO Bump Bot <noreply@github.com>
Co-authored-by: kubevirt-bot <25687724+kubevirt-bot@users.noreply.github.com>
  • Loading branch information
hco-bot and kubevirt-bot authored Oct 17, 2024
1 parent ff9b71e commit 50ad7d7
Show file tree
Hide file tree
Showing 25 changed files with 600 additions and 867 deletions.
33 changes: 1 addition & 32 deletions config/crd/bases/hco.kubevirt.io_hyperconvergeds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2422,37 +2422,6 @@ spec:
ComputeResourceOverhead specifies the resource overhead that should be added to the compute container when using the binding.
version: v1alphav1
properties:
claims:
description: |-
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: |-
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
type: string
request:
description: |-
Request is the name chosen for a request in the referenced claim.
If empty, everything from the claim is made available, otherwise
only the result of this request.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -2481,7 +2450,7 @@ spec:
domainAttachmentType:
description: |-
DomainAttachmentType is a standard domain network attachment method kubevirt supports.
Supported values: "tap".
Supported values: "tap", "managedTap" (since v1.4).
The standard domain attachment can be used instead or in addition to the sidecarImage.
version: 1alphav1
type: string
Expand Down
2 changes: 1 addition & 1 deletion controllers/operands/kubevirt.go
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ func primaryUserDefinedNetworkBinding(sidecarImage string) kubevirtcorev1.Interf
Migration: &kubevirtcorev1.InterfaceBindingMigration{
Method: kubevirtcorev1.LinkRefresh,
},
ComputeResourceOverhead: &corev1.ResourceRequirements{
ComputeResourceOverhead: &kubevirtcorev1.ResourceRequirementsWithoutClaims{
Requests: corev1.ResourceList{
corev1.ResourceMemory: resource.MustParse(bindingComputeMemoryOverhead),
},
Expand Down
2 changes: 1 addition & 1 deletion controllers/operands/kubevirt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,7 @@ Version: 1.2.3`)
Migration: &kubevirtcorev1.InterfaceBindingMigration{
Method: kubevirtcorev1.LinkRefresh,
},
ComputeResourceOverhead: &corev1.ResourceRequirements{
ComputeResourceOverhead: &kubevirtcorev1.ResourceRequirementsWithoutClaims{
Requests: corev1.ResourceList{
corev1.ResourceMemory: resource.MustParse("500Mi"),
},
Expand Down
14 changes: 12 additions & 2 deletions deploy/cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1776,9 +1776,17 @@ rules:
- apiGroups:
- export.kubevirt.io
resources:
- '*'
- virtualmachineexports
- virtualmachineexports/status
- virtualmachineexports/finalizers
verbs:
- '*'
- get
- list
- watch
- create
- update
- delete
- patch
- apiGroups:
- pool.kubevirt.io
resources:
Expand Down Expand Up @@ -2008,6 +2016,7 @@ rules:
- virtualmachineinstances/userlist
- virtualmachineinstances/sev/fetchcertchain
- virtualmachineinstances/sev/querylaunchmeasurement
- virtualmachineinstances/usbredir
verbs:
- get
- apiGroups:
Expand Down Expand Up @@ -2156,6 +2165,7 @@ rules:
- virtualmachineinstances/userlist
- virtualmachineinstances/sev/fetchcertchain
- virtualmachineinstances/sev/querylaunchmeasurement
- virtualmachineinstances/usbredir
verbs:
- get
- apiGroups:
Expand Down
33 changes: 1 addition & 32 deletions deploy/crds/hco00.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2422,37 +2422,6 @@ spec:
ComputeResourceOverhead specifies the resource overhead that should be added to the compute container when using the binding.
version: v1alphav1
properties:
claims:
description: |-
Claims lists the names of resources, defined in spec.resourceClaims,
that are used by this container.
This is an alpha field and requires enabling the
DynamicResourceAllocation feature gate.
This field is immutable. It can only be set for containers.
items:
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
properties:
name:
description: |-
Name must match the name of one entry in pod.spec.resourceClaims of
the Pod where this field is used. It makes that resource available
inside a container.
type: string
request:
description: |-
Request is the name chosen for a request in the referenced claim.
If empty, everything from the claim is made available, otherwise
only the result of this request.
type: string
required:
- name
type: object
type: array
x-kubernetes-list-map-keys:
- name
x-kubernetes-list-type: map
limits:
additionalProperties:
anyOf:
Expand Down Expand Up @@ -2481,7 +2450,7 @@ spec:
domainAttachmentType:
description: |-
DomainAttachmentType is a standard domain network attachment method kubevirt supports.
Supported values: "tap".
Supported values: "tap", "managedTap" (since v1.4).
The standard domain attachment can be used instead or in addition to the sidecarImage.
version: 1alphav1
type: string
Expand Down
Loading

0 comments on commit 50ad7d7

Please sign in to comment.