generated from phoenix-oss/tenant-tpl
changed name variable to value
This commit is contained in:
parent
65c809bb44
commit
a9df0a48c6
1 changed files with 5 additions and 9 deletions
|
@ -16,11 +16,11 @@ objects:
|
||||||
- apiVersion: kubevirt.io/v1
|
- apiVersion: kubevirt.io/v1
|
||||||
kind: VirtualMachine
|
kind: VirtualMachine
|
||||||
metadata:
|
metadata:
|
||||||
name: '${NAME}'
|
name: windows-server-2022-small-redhat
|
||||||
annotations:
|
annotations:
|
||||||
description: Windows Server 2022 VM example
|
description: Windows Server 2022 VM example
|
||||||
labels:
|
labels:
|
||||||
app: '${NAME}'
|
app: windows-server-2022-small-redhat
|
||||||
vm.kubevirt.io/template: 'windows-server-2022-template'
|
vm.kubevirt.io/template: 'windows-server-2022-template'
|
||||||
os.template.kubevirt.io/win2k22: 'true'
|
os.template.kubevirt.io/win2k22: 'true'
|
||||||
spec:
|
spec:
|
||||||
|
@ -60,7 +60,7 @@ objects:
|
||||||
efi: {}
|
efi: {}
|
||||||
memory:
|
memory:
|
||||||
guest: 4Gi
|
guest: 4Gi
|
||||||
hostname: '${NAME}'
|
hostname: windows-server-2022-small-redhat
|
||||||
networks:
|
networks:
|
||||||
- name: default
|
- name: default
|
||||||
pod: {}
|
pod: {}
|
||||||
|
@ -68,11 +68,11 @@ objects:
|
||||||
volumes:
|
volumes:
|
||||||
- name: rootdisk
|
- name: rootdisk
|
||||||
dataVolume:
|
dataVolume:
|
||||||
name: '${NAME}-dv'
|
name: windows-server-2022-small-redhat-dv
|
||||||
- apiVersion: cdi.kubevirt.io/v1beta1
|
- apiVersion: cdi.kubevirt.io/v1beta1
|
||||||
kind: DataVolume
|
kind: DataVolume
|
||||||
metadata:
|
metadata:
|
||||||
name: '${NAME}-dv'
|
name: windows-server-2022-small-redhat-dv
|
||||||
namespace: '${TENANT_NAMESPACE}'
|
namespace: '${TENANT_NAMESPACE}'
|
||||||
spec:
|
spec:
|
||||||
source:
|
source:
|
||||||
|
@ -86,10 +86,6 @@ objects:
|
||||||
storage: '${PVC_SIZE}'
|
storage: '${PVC_SIZE}'
|
||||||
storageClassName: '${STORAGE_CLASS}'
|
storageClassName: '${STORAGE_CLASS}'
|
||||||
parameters:
|
parameters:
|
||||||
- name: NAME
|
|
||||||
description: Name for the new VM
|
|
||||||
generate: expression
|
|
||||||
from: 'windows-[a-z0-9]{8}'
|
|
||||||
- name: IMAGE_URL
|
- name: IMAGE_URL
|
||||||
description: Public or internal HTTP(S) URL to a sysprepped Windows .qcow2 image
|
description: Public or internal HTTP(S) URL to a sysprepped Windows .qcow2 image
|
||||||
required: true
|
required: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue