forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change "Machine" to a pointer type & make "Type" optional
- Change "Machine" to pointer type as it's optional. - Make "Type" optional. Go bug did not enforce mandatory fields, and therefore our example VMIs, which has an empty type defined for them, are needed to be accepted as valid to allow backwards compatability. Signed-off-by: Itamar Holder <[email protected]>
- Loading branch information
1 parent
0542941
commit 89be6b3
Showing
47 changed files
with
43 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: pvcdisk2 | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: cloudinitdisk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: cloudinitdisk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,6 @@ spec: | |
bootloader: | ||
efi: | ||
secureBoot: false | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1Gi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: blockpvcdisk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: containerdisk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,6 @@ spec: | |
bus: virtio | ||
name: cloudinitdisk | ||
rng: {} | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1024M | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: containerdisk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: host-disk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,6 @@ spec: | |
- macvtap: {} | ||
name: macvtap | ||
rng: {} | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1024M | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,8 +23,6 @@ spec: | |
port: 80 | ||
protocol: TCP | ||
rng: {} | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1024M | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,6 @@ spec: | |
- bridge: {} | ||
name: ptp | ||
rng: {} | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1024M | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,6 @@ spec: | |
- bridge: {} | ||
name: ptp | ||
rng: {} | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1024M | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: emptydisk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,6 @@ metadata: | |
spec: | ||
domain: | ||
devices: {} | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: pvcdisk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,6 @@ spec: | |
- disk: | ||
bus: virtio | ||
name: containerdisk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,6 @@ spec: | |
- disk: | ||
bus: sata | ||
name: containerdisk | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 128Mi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,6 @@ spec: | |
bootloader: | ||
efi: | ||
secureBoot: true | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1Gi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,8 +23,6 @@ spec: | |
protocol: TCP | ||
slirp: {} | ||
rng: {} | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1024M | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,6 @@ spec: | |
- name: sriov-net | ||
sriov: {} | ||
rng: {} | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1024M | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,6 @@ spec: | |
bus: virtio | ||
name: cloudinitdisk | ||
rng: {} | ||
machine: | ||
type: "" | ||
resources: | ||
requests: | ||
memory: 1024M | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.