Skip to content

Commit

Permalink
instancetype: Use API version v1alpha2
Browse files Browse the repository at this point in the history
Use the new API version instead of v1alpha1.

Signed-off-by: Andrej Krejcir <[email protected]>
  • Loading branch information
akrejcir authored and lyarwood committed Sep 29, 2022
1 parent ae0373e commit 2ff23c5
Show file tree
Hide file tree
Showing 34 changed files with 978 additions and 978 deletions.
1,164 changes: 582 additions & 582 deletions api/openapi-spec/swagger.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/clarge.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: instancetype.kubevirt.io/v1alpha1
apiVersion: instancetype.kubevirt.io/v1alpha2
kind: VirtualMachineInstancetype
metadata:
name: clarge
Expand Down
2 changes: 1 addition & 1 deletion examples/cluster-csmall.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: instancetype.kubevirt.io/v1alpha1
apiVersion: instancetype.kubevirt.io/v1alpha2
kind: VirtualMachineClusterInstancetype
metadata:
name: cluster-csmall
Expand Down
2 changes: 1 addition & 1 deletion examples/csmall.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: instancetype.kubevirt.io/v1alpha1
apiVersion: instancetype.kubevirt.io/v1alpha2
kind: VirtualMachineInstancetype
metadata:
name: csmall
Expand Down
2 changes: 1 addition & 1 deletion examples/virtio.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: instancetype.kubevirt.io/v1alpha1
apiVersion: instancetype.kubevirt.io/v1alpha2
kind: VirtualMachinePreference
metadata:
name: virtio
Expand Down
2 changes: 1 addition & 1 deletion examples/windows.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: instancetype.kubevirt.io/v1alpha1
apiVersion: instancetype.kubevirt.io/v1alpha2
kind: VirtualMachinePreference
metadata:
name: windows
Expand Down
6 changes: 3 additions & 3 deletions pkg/instancetype/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ go_library(
"//pkg/util/types:go_default_library",
"//staging/src/kubevirt.io/api/core/v1:go_default_library",
"//staging/src/kubevirt.io/api/instancetype:go_default_library",
"//staging/src/kubevirt.io/api/instancetype/v1alpha1:go_default_library",
"//staging/src/kubevirt.io/api/instancetype/v1alpha2:go_default_library",
"//staging/src/kubevirt.io/client-go/kubecli:go_default_library",
"//staging/src/kubevirt.io/client-go/log:go_default_library",
"//vendor/k8s.io/api/apps/v1:go_default_library",
Expand All @@ -33,10 +33,10 @@ go_test(
":go_default_library",
"//staging/src/kubevirt.io/api/core/v1:go_default_library",
"//staging/src/kubevirt.io/api/instancetype:go_default_library",
"//staging/src/kubevirt.io/api/instancetype/v1alpha1:go_default_library",
"//staging/src/kubevirt.io/api/instancetype/v1alpha2:go_default_library",
"//staging/src/kubevirt.io/client-go/api:go_default_library",
"//staging/src/kubevirt.io/client-go/generated/kubevirt/clientset/versioned/fake:go_default_library",
"//staging/src/kubevirt.io/client-go/generated/kubevirt/clientset/versioned/typed/instancetype/v1alpha1:go_default_library",
"//staging/src/kubevirt.io/client-go/generated/kubevirt/clientset/versioned/typed/instancetype/v1alpha2:go_default_library",
"//staging/src/kubevirt.io/client-go/kubecli:go_default_library",
"//staging/src/kubevirt.io/client-go/testutils:go_default_library",
"//vendor/github.com/golang/mock/gomock:go_default_library",
Expand Down
90 changes: 45 additions & 45 deletions pkg/instancetype/instancetype.go

Large diffs are not rendered by default.

Loading

0 comments on commit 2ff23c5

Please sign in to comment.