From 23cf119d0f3a03e0379b59feb9f942ccc229666f Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Thu, 17 Jan 2019 10:52:12 +0100 Subject: [PATCH] Bump version of kubevirt and kubevirt API --- .travis.yml | 2 +- automation/test.sh | 2 +- templates/_linux.yaml | 5 ++--- templates/win2k12r2.tpl.yaml | 5 ++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index b30a3778..467cdf86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ branches: - /^v[0-9]/ env: global: - - KUBEVIRT_VER=v0.12.0-alpha.3 + - KUBEVIRT_VER=v0.13.0 - CPLATFORM=minikube CVER=1.11.2 jobs: include: diff --git a/automation/test.sh b/automation/test.sh index 0c68b903..15421171 100755 --- a/automation/test.sh +++ b/automation/test.sh @@ -95,7 +95,7 @@ else fi export KUBEVIRT_PROVIDER="os-3.11.0" -export VERSION="v0.12.0-alpha.3" +export VERSION="v0.13.0" curl -Lo virtctl \ https://github.com/kubevirt/kubevirt/releases/download/$VERSION/virtctl-$VERSION-linux-amd64 diff --git a/templates/_linux.yaml b/templates/_linux.yaml index 65889970..e78a2141 100644 --- a/templates/_linux.yaml +++ b/templates/_linux.yaml @@ -28,7 +28,7 @@ template.cnv.io/type: "base" objects: -- apiVersion: kubevirt.io/v1alpha2 +- apiVersion: kubevirt.io/v1alpha3 kind: VirtualMachine metadata: name: ${NAME} @@ -60,10 +60,9 @@ objects: - disk: bus: virtio name: rootdisk - volumeName: rootvolume terminationGracePeriodSeconds: 0 volumes: - - name: rootvolume + - name: rootdisk persistentVolumeClaim: claimName: ${PVCNAME} - cloudInitNoCloud: diff --git a/templates/win2k12r2.tpl.yaml b/templates/win2k12r2.tpl.yaml index 82d3964a..f91653cf 100644 --- a/templates/win2k12r2.tpl.yaml +++ b/templates/win2k12r2.tpl.yaml @@ -41,7 +41,7 @@ metadata: template.cnv.io/type: "base" objects: -- apiVersion: kubevirt.io/v1alpha2 +- apiVersion: kubevirt.io/v1alpha3 kind: VirtualMachine metadata: name: ${NAME} @@ -83,14 +83,13 @@ objects: - disk: bus: sata name: rootdisk - volumeName: rootvolume interfaces: - bridge: {} model: e1000e name: default terminationGracePeriodSeconds: 0 volumes: - - name: rootvolume + - name: rootdisk persistentVolumeClaim: claimName: ${PVCNAME} networks: