Skip to content

Commit

Permalink
Set architecture to amd64 across all templates
Browse files Browse the repository at this point in the history
The current set of templates are only verified on amd64 so to avoid
users attempting to run them on aarch64 etc set the architecture within
the VirtualMachineInstanceSpec.

Signed-off-by: Lee Yarwood <[email protected]>
  • Loading branch information
lyarwood committed Apr 10, 2024
1 parent c30e775 commit 8624fae
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/centos-stream8.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
{% if item.iothreads %}
ioThreadsPolicy: shared
Expand Down
1 change: 1 addition & 0 deletions templates/centos-stream9.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
{% if item.iothreads %}
ioThreadsPolicy: shared
Expand Down
1 change: 1 addition & 0 deletions templates/centos6.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
{% if item.iothreads %}
ioThreadsPolicy: shared
Expand Down
1 change: 1 addition & 0 deletions templates/centos7.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
{% if item.iothreads %}
ioThreadsPolicy: shared
Expand Down
1 change: 1 addition & 0 deletions templates/fedora.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
features:
smm:
Expand Down
1 change: 1 addition & 0 deletions templates/opensuse.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
{% if item.iothreads %}
ioThreadsPolicy: shared
Expand Down
1 change: 1 addition & 0 deletions templates/rhel7.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
{% if item.iothreads %}
ioThreadsPolicy: shared
Expand Down
1 change: 1 addition & 0 deletions templates/rhel8.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
{% if item.iothreads %}
ioThreadsPolicy: shared
Expand Down
1 change: 1 addition & 0 deletions templates/rhel9.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
{% if item.iothreads %}
ioThreadsPolicy: shared
Expand Down
1 change: 1 addition & 0 deletions templates/ubuntu.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
{% if item.iothreads %}
ioThreadsPolicy: shared
Expand Down
1 change: 1 addition & 0 deletions templates/windows10.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
clock:
utc: {}
Expand Down
1 change: 1 addition & 0 deletions templates/windows11.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
clock:
utc: {}
Expand Down
1 change: 1 addition & 0 deletions templates/windows2k12.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
clock:
utc: {}
Expand Down
1 change: 1 addition & 0 deletions templates/windows2k16.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
clock:
utc: {}
Expand Down
1 change: 1 addition & 0 deletions templates/windows2k19.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
clock:
utc: {}
Expand Down
1 change: 1 addition & 0 deletions templates/windows2k22.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ objects:
kubevirt.io/domain: ${NAME}
kubevirt.io/size: {{ item.flavor }}
spec:
architecture: amd64
domain:
clock:
utc: {}
Expand Down

0 comments on commit 8624fae

Please sign in to comment.