Skip to content

Commit

Permalink
Merge pull request kubevirt#798 from mareklibra/fixRhel7Template
Browse files Browse the repository at this point in the history
Fix Linux and Windows templates for labels
  • Loading branch information
rmohr authored Mar 8, 2018
2 parents 97c3437 + c2d0575 commit f98e73b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion cluster/vm-template-rhel7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@ objects:
kind: OfflineVirtualMachine
metadata:
name: ${NAME}
labels:
kubevirt-ovm: ovm-${NAME}
spec:
selector:
matchLabels:
kubevirt-ovm: ovm-${NAME}
template:
metadata:
labels:
kubevirt-ovm: ovm-${NAME}
spec:
domain:
cpu:
Expand Down Expand Up @@ -53,4 +61,4 @@ parameters:
value: 4096Mi
- name: CPU_CORES
description: Amount of cores
value: 4
value: "4"
10 changes: 9 additions & 1 deletion cluster/vm-template-windows2012r2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@ objects:
kind: OfflineVirtualMachine
metadata:
name: ${NAME}
labels:
kubevirt-ovm: ovm-${NAME}
spec:
selector:
matchLabels:
kubevirt-ovm: ovm-${NAME}
template:
metadata:
labels:
kubevirt-ovm: ovm-${NAME}
spec:
domain:
features:
Expand Down Expand Up @@ -69,4 +77,4 @@ parameters:
value: 4096Mi
- name: CPU_CORES
description: Amount of cores
value: 4
value: "4"

0 comments on commit f98e73b

Please sign in to comment.