Skip to content

Commit

Permalink
Bump kubevirt to v0.45.0
Browse files Browse the repository at this point in the history
- `go mod vendor && go mod tidy`
- `go generate`

Signed-off-by: Weihang Lo <weihang.lo@suse.com>
  • Loading branch information
weihanglo authored and bk201 committed Oct 6, 2021
1 parent 82506f5 commit e0662b7
Show file tree
Hide file tree
Showing 22 changed files with 1,470 additions and 94 deletions.
73 changes: 71 additions & 2 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9078,6 +9078,10 @@
"name"
],
"properties": {
"hotpluggable": {
"description": "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged.",
"type": "boolean"
},
"name": {
"description": "Name represents the name of the DataVolume in the same namespace",
"type": "string",
Expand Down Expand Up @@ -9697,7 +9701,7 @@
},
"persistentVolumeClaim": {
"description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
"$ref": "#/definitions/k8s.io.v1.PersistentVolumeClaimVolumeSource"
"$ref": "#/definitions/kubevirt.io.v1.PersistentVolumeClaimVolumeSource"
}
}
},
Expand Down Expand Up @@ -9997,6 +10001,59 @@
}
}
},
"kubevirt.io.v1.PersistentVolumeClaimInfo": {
"description": "PersistentVolumeClaimInfo contains the relavant information virt-handler needs cached about a PVC",
"type": "object",
"properties": {
"accessModes": {
"description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
"type": "array",
"items": {
"type": "string",
"default": ""
},
"x-kubernetes-list-type": "atomic"
},
"capacity": {
"description": "Capacity represents the capacity set on the corresponding PVC spec",
"type": "object",
"additionalProperties": {
"default": {},
"$ref": "#/definitions/k8s.io.apimachinery.pkg.api.resource.Quantity"
}
},
"preallocated": {
"description": "Preallocated indicates if the PVC's storage is preallocated or not",
"type": "boolean"
},
"volumeMode": {
"description": "VolumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.",
"type": "string"
}
}
},
"kubevirt.io.v1.PersistentVolumeClaimVolumeSource": {
"description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
"type": "object",
"required": [
"claimName"
],
"properties": {
"claimName": {
"description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
"type": "string",
"default": ""
},
"hotpluggable": {
"description": "Hotpluggable indicates whether the volume can be hotplugged and hotunplugged.",
"type": "boolean"
},
"readOnly": {
"description": "Will force the ReadOnly setting in VolumeMounts. Default false.",
"type": "boolean"
}
}
},
"kubevirt.io.v1.PodNetwork": {
"description": "Represents the stock pod network interface.",
"type": "object",
Expand Down Expand Up @@ -10945,6 +11002,10 @@
"topologyHints": {
"$ref": "#/definitions/kubevirt.io.v1.TopologyHints"
},
"virtualMachineRevisionName": {
"description": "VirtualMachineRevisionName is used to get the vm revision of the vmi when doing an online vm snapshot",
"type": "string"
},
"volumeStatus": {
"description": "VolumeStatus contains the statuses of all the volumes",
"type": "array",
Expand Down Expand Up @@ -11094,6 +11155,10 @@
"description": "Ready indicates if the virtual machine is running and ready",
"type": "boolean"
},
"restoreInProgress": {
"description": "RestoreInProgress is the name of the VirtualMachineRestore currently executing",
"type": "string"
},
"snapshotInProgress": {
"description": "SnapshotInProgress is the name of the VirtualMachineSnapshot currently executing",
"type": "string"
Expand Down Expand Up @@ -11196,7 +11261,7 @@
},
"persistentVolumeClaim": {
"description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Directly attached to the vmi via qemu. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims",
"$ref": "#/definitions/k8s.io.v1.PersistentVolumeClaimVolumeSource"
"$ref": "#/definitions/kubevirt.io.v1.PersistentVolumeClaimVolumeSource"
},
"secret": {
"description": "SecretVolumeSource represents a reference to a secret data in the same namespace. More info: https://kubernetes.io/docs/concepts/configuration/secret/",
Expand Down Expand Up @@ -11256,6 +11321,10 @@
"type": "string",
"default": ""
},
"persistentVolumeClaimInfo": {
"description": "PersistentVolumeClaimInfo is information about the PVC that handler requires during start flow",
"$ref": "#/definitions/kubevirt.io.v1.PersistentVolumeClaimInfo"
},
"phase": {
"description": "Phase is the phase",
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3542,6 +3542,10 @@ spec:
the process of populating that PVC with a
disk image.
properties:
hotpluggable:
description: Hotpluggable indicates whether
the volume can be hotplugged and hotunplugged.
type: boolean
name:
description: Name represents the name of
the DataVolume in the same namespace
Expand Down Expand Up @@ -3736,6 +3740,10 @@ spec:
as the pod using this volume. More info:
https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims'
type: string
hotpluggable:
description: Hotpluggable indicates whether
the volume can be hotplugged and hotunplugged.
type: boolean
readOnly:
description: Will force the ReadOnly setting
in VolumeMounts. Default false.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3479,6 +3479,10 @@ spec:
the process of populating that PVC with a
disk image.
properties:
hotpluggable:
description: Hotpluggable indicates whether
the volume can be hotplugged and hotunplugged.
type: boolean
name:
description: Name represents the name of
the DataVolume in the same namespace
Expand Down Expand Up @@ -3673,6 +3677,10 @@ spec:
as the pod using this volume. More info:
https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims'
type: string
hotpluggable:
description: Hotpluggable indicates whether
the volume can be hotplugged and hotunplugged.
type: boolean
readOnly:
description: Will force the ReadOnly setting
in VolumeMounts. Default false.
Expand Down
14 changes: 7 additions & 7 deletions deploy/charts/harvester/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ kubevirt-operator:
containers:
operator:
image:
repository: registry.suse.com/harvester-beta/virt-operator
tag: &kubevirtVersion 0.44.0-1
repository: registry.suse.com/suse/sles/15.3/virt-operator
tag: &kubevirtVersion 0.45.0-8.4.3
## The following images are placeholder for images in use.
## They are not used by the kubevirt-operator chart.
controller:
image:
repository: registry.suse.com/harvester-beta/virt-controller
repository: registry.suse.com/suse/sles/15.3/virt-controller
tag: *kubevirtVersion
handler:
image:
repository: registry.suse.com/harvester-beta/virt-handler
repository: registry.suse.com/suse/sles/15.3/virt-handler
tag: *kubevirtVersion
api:
image:
repository: registry.suse.com/harvester-beta/virt-api
repository: registry.suse.com/suse/sles/15.3/virt-api
tag: *kubevirtVersion
launcher:
image:
repository: registry.suse.com/harvester-beta/virt-launcher
repository: registry.suse.com/suse/sles/15.3/virt-launcher
tag: *kubevirtVersion
libguestfs: # introduced from kubevirt v0.44.0
image:
repository: registry.suse.com/harvester-beta/libguestfs-tools
repository: registry.suse.com/suse/sles/15.3/libguestfs-tools
tag: *kubevirtVersion

## Specify the parameters to override the sub-chart.
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ replace (
k8s.io/mount-utils => k8s.io/mount-utils v0.21.2
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.21.2

kubevirt.io/client-go => github.com/kubevirt/client-go v0.44.0
kubevirt.io/client-go => github.com/kubevirt/client-go v0.45.0
kubevirt.io/containerized-data-importer => github.com/rancher/kubevirt-containerized-data-importer v1.26.1-0.20210802100720-9bcf4e7ba0ce
sigs.k8s.io/structured-merge-diff => sigs.k8s.io/structured-merge-diff v0.0.0-20190302045857-e85c7b244fd2
)
Expand Down Expand Up @@ -95,9 +95,9 @@ require (
k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7
k8s.io/utils v0.0.0-20210305010621-2afb4311ab10
kubevirt.io/client-go v0.44.0
kubevirt.io/client-go v0.45.0
kubevirt.io/containerized-data-importer v1.36.0
kubevirt.io/kubevirt v0.44.0
kubevirt.io/kubevirt v0.45.0
sigs.k8s.io/kind v0.11.1
sigs.k8s.io/yaml v1.2.0
)
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -925,8 +925,8 @@ github.com/kubernetes-csi/external-snapshotter/v2 v2.1.1/go.mod h1:dV5oB3U62KBdl
github.com/kubernetes-sigs/kube-storage-version-migrator v0.0.0-20191127225502-51849bc15f17/go.mod h1:enH0BVV+4+DAgWdwSlMefG8bBzTfVMTr1lApzdLZ/cc=
github.com/kubernetes/dashboard v1.10.1 h1:RsBRF5S8DBH7lqGDJ8LjNiRt0C6PIvVeBrmuqmi/i3c=
github.com/kubernetes/dashboard v1.10.1/go.mod h1:SLnjPMuDgwsEIPHCsd3eeMLm3mOvZijuujWxS9yT8xE=
github.com/kubevirt/client-go v0.44.0 h1:oA2Cs+h5gWEKGacLRL6MTyzjnK+Qb16om6o33ZbEmzk=
github.com/kubevirt/client-go v0.44.0/go.mod h1:21ra7fM4ZP7zTyaPCJYbycw/ss8duZ9xcW8cBE8f8Qg=
github.com/kubevirt/client-go v0.45.0 h1:twVW30abyk6tfZWvCgOuvuNrT8YYCtPl+aPZN1/B/6o=
github.com/kubevirt/client-go v0.45.0/go.mod h1:21ra7fM4ZP7zTyaPCJYbycw/ss8duZ9xcW8cBE8f8Qg=
github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k=
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 h1:SOEGU9fKiNWd/HOJuq6+3iTQz8KNCLtVX6idSoTLdUw=
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0/go.mod h1:dXGbAdH5GtBTC4WfIxhKZfyBF/HBFgRZSWwZ9g/He9o=
Expand Down Expand Up @@ -2267,8 +2267,8 @@ kubevirt.io/controller-lifecycle-operator-sdk v0.1.2/go.mod h1:M+UuZsp90mmKUVGb5
kubevirt.io/controller-lifecycle-operator-sdk v0.2.0 h1:/6baCbfeFl3z09nCPNAeCgTR2704yqj/HV+sv7ZhHNI=
kubevirt.io/controller-lifecycle-operator-sdk v0.2.0/go.mod h1:ZJhLceiY2Gl5CXFGSp5eMGt/sksOiJP0289nAZFCQf0=
kubevirt.io/kubevirt v0.40.0/go.mod h1:ict4gmDJ/mOHvI8/pF3LIsOUMmJqaEo0/CHsbLLDj8w=
kubevirt.io/kubevirt v0.44.0 h1:3rAq7F2tjZhi7L9+04Q0mTAR/xMQJxIzjNmCSqNIEuA=
kubevirt.io/kubevirt v0.44.0/go.mod h1:Ko43wAkSbC4dE9933cnV9GeQPZ+B19knra5K8HQUfd0=
kubevirt.io/kubevirt v0.45.0 h1:paxJ0pEGzvE9aSjAch83iD4HpTD3uaDhORM1o/rigVo=
kubevirt.io/kubevirt v0.45.0/go.mod h1:Ko43wAkSbC4dE9933cnV9GeQPZ+B19knra5K8HQUfd0=
kubevirt.io/qe-tools v0.1.6/go.mod h1:PJyH/YXC4W0AmxfheDmXWMbLNsMSboVGXKpMAwfKzVE=
launchpad.net/gocheck v0.0.0-20140225173054-000000000087/go.mod h1:hj7XX3B/0A+80Vse0e+BUHsHMTEhd0O4cpUHr/e/BUM=
libvirt.org/go/libvirt v1.7005.0/go.mod h1:1WiFE8EjZfq+FCVog+rvr1yatKbKZ9FaFMZgEqxEJqQ=
Expand Down
Loading

0 comments on commit e0662b7

Please sign in to comment.