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
|
||||
kind: VirtualMachine
|
||||
metadata:
|
||||
name: '${NAME}'
|
||||
name: windows-server-2022-small-redhat
|
||||
annotations:
|
||||
description: Windows Server 2022 VM example
|
||||
labels:
|
||||
app: '${NAME}'
|
||||
app: windows-server-2022-small-redhat
|
||||
vm.kubevirt.io/template: 'windows-server-2022-template'
|
||||
os.template.kubevirt.io/win2k22: 'true'
|
||||
spec:
|
||||
|
@ -60,7 +60,7 @@ objects:
|
|||
efi: {}
|
||||
memory:
|
||||
guest: 4Gi
|
||||
hostname: '${NAME}'
|
||||
hostname: windows-server-2022-small-redhat
|
||||
networks:
|
||||
- name: default
|
||||
pod: {}
|
||||
|
@ -68,11 +68,11 @@ objects:
|
|||
volumes:
|
||||
- name: rootdisk
|
||||
dataVolume:
|
||||
name: '${NAME}-dv'
|
||||
name: windows-server-2022-small-redhat-dv
|
||||
- apiVersion: cdi.kubevirt.io/v1beta1
|
||||
kind: DataVolume
|
||||
metadata:
|
||||
name: '${NAME}-dv'
|
||||
name: windows-server-2022-small-redhat-dv
|
||||
namespace: '${TENANT_NAMESPACE}'
|
||||
spec:
|
||||
source:
|
||||
|
@ -86,10 +86,6 @@ objects:
|
|||
storage: '${PVC_SIZE}'
|
||||
storageClassName: '${STORAGE_CLASS}'
|
||||
parameters:
|
||||
- name: NAME
|
||||
description: Name for the new VM
|
||||
generate: expression
|
||||
from: 'windows-[a-z0-9]{8}'
|
||||
- name: IMAGE_URL
|
||||
description: Public or internal HTTP(S) URL to a sysprepped Windows .qcow2 image
|
||||
required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue