From db1d5cdf4fb21caa26ceafbd2d836fdef157f4ba Mon Sep 17 00:00:00 2001 From: Andrei Kvapil Date: Mon, 8 Jul 2024 20:16:12 +0200 Subject: [PATCH] Update KubeVirt v1.2.2 (#201) Signed-off-by: Andrei Kvapil --- .../templates/kubevirt-operator.yaml | 72 ++++++++++++++++++- 1 file changed, 69 insertions(+), 3 deletions(-) diff --git a/packages/system/kubevirt-operator/templates/kubevirt-operator.yaml b/packages/system/kubevirt-operator/templates/kubevirt-operator.yaml index 236cd3de..ed9f9d03 100644 --- a/packages/system/kubevirt-operator/templates/kubevirt-operator.yaml +++ b/packages/system/kubevirt-operator/templates/kubevirt-operator.yaml @@ -354,6 +354,7 @@ spec: type: boolean type: object emulatedMachines: + description: Deprecated. Use architectureConfiguration instead. items: type: string type: array @@ -624,6 +625,22 @@ spec: binding: additionalProperties: properties: + domainAttachmentType: + description: 'DomainAttachmentType is a standard domain + network attachment method kubevirt supports. Supported + values: "tap". The standard domain attachment can + be used instead or in addition to the sidecarImage. + version: 1alphav1' + type: string + migration: + description: 'Migration means the VM using the plugin + can be safely migrated version: 1alphav1' + properties: + method: + description: 'Method defines a pre-defined migration + methodology version: 1alphav1' + type: string + type: object networkAttachmentDefinition: description: 'NetworkAttachmentDefinition references to a NetworkAttachmentDefinition CR object. Format: @@ -650,6 +667,7 @@ spec: type: boolean type: object ovmfPath: + description: Deprecated. Use architectureConfiguration instead. type: string permittedHostDevices: description: PermittedHostDevices holds information about devices @@ -883,6 +901,14 @@ spec: AutoattachSerialConsole is disabled. type: object type: object + vmRolloutStrategy: + description: VMRolloutStrategy defines how changes to a VM object + propagate to its VMI + enum: + - Stage + - LiveUpdate + nullable: true + type: string vmStateStorageClass: description: VMStateStorageClass is the name of the storage class to use for the PVCs created to preserve VM state, like TPM. @@ -3422,6 +3448,7 @@ spec: type: boolean type: object emulatedMachines: + description: Deprecated. Use architectureConfiguration instead. items: type: string type: array @@ -3692,6 +3719,22 @@ spec: binding: additionalProperties: properties: + domainAttachmentType: + description: 'DomainAttachmentType is a standard domain + network attachment method kubevirt supports. Supported + values: "tap". The standard domain attachment can + be used instead or in addition to the sidecarImage. + version: 1alphav1' + type: string + migration: + description: 'Migration means the VM using the plugin + can be safely migrated version: 1alphav1' + properties: + method: + description: 'Method defines a pre-defined migration + methodology version: 1alphav1' + type: string + type: object networkAttachmentDefinition: description: 'NetworkAttachmentDefinition references to a NetworkAttachmentDefinition CR object. Format: @@ -3718,6 +3761,7 @@ spec: type: boolean type: object ovmfPath: + description: Deprecated. Use architectureConfiguration instead. type: string permittedHostDevices: description: PermittedHostDevices holds information about devices @@ -3951,6 +3995,14 @@ spec: AutoattachSerialConsole is disabled. type: object type: object + vmRolloutStrategy: + description: VMRolloutStrategy defines how changes to a VM object + propagate to its VMI + enum: + - Stage + - LiveUpdate + nullable: true + type: string vmStateStorageClass: description: VMStateStorageClass is the name of the storage class to use for the PVCs created to preserve VM state, like TPM. @@ -6970,6 +7022,13 @@ rules: - get - list - watch +- apiGroups: + - kubevirt.io + resources: + - kubevirts + verbs: + - get + - list - apiGroups: - subresources.kubevirt.io resources: @@ -7275,6 +7334,13 @@ rules: - get - list - watch +- apiGroups: + - kubevirt.io + resources: + - kubevirts + verbs: + - get + - list - apiGroups: - subresources.kubevirt.io resources: @@ -7439,14 +7505,14 @@ spec: - virt-operator env: - name: VIRT_OPERATOR_IMAGE - value: quay.io/kubevirt/virt-operator:v1.1.0 + value: quay.io/kubevirt/virt-operator:v1.2.2 - name: WATCH_NAMESPACE valueFrom: fieldRef: fieldPath: metadata.annotations['olm.targetNamespaces'] - name: KUBEVIRT_VERSION - value: v1.1.0 - image: quay.io/kubevirt/virt-operator:v1.1.0 + value: v1.2.2 + image: quay.io/kubevirt/virt-operator:v1.2.2 imagePullPolicy: IfNotPresent name: virt-operator ports: