File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 22## values.yaml
33- ` vmDiskType ` :
44 - ` vi ` : creates VMs with VirtualImage in ` blockDeviceRefs `
5- - ` vd ` : creates VMs with corresponding ` VirtualDisk `
5+ - ` vd ` : creates VMs with corresponding ` VirtualDisk `
6+ - ` viType ` :
7+ - ` pvc ` : create vi with persistentVolumeClaim type
Original file line number Diff line number Diff line change @@ -7,11 +7,17 @@ metadata:
77 labels :
88 vm : {{ $.Values.resourcesPrefix }}
99spec :
10+ {{- if eq .Values.viType "pvc" }}
11+ storage : PersistentVolumeClaim
12+ persistentVolumeClaim :
13+ storageClassName : {{ $.Values.storageClass }}
14+ {{- else }}
1015 storage : ContainerRegistry
1116 dataSource :
1217 type : " HTTP"
1318 http :
1419 url : {{ $.Values.imageURL }}
20+ {{- end }}
1521{{- if ne .Values.vmDiskType "vi" }}
1622{{- $count := (.Values.count | int) }}
1723{{- range until $count }}
Original file line number Diff line number Diff line change 66 memory :
77 size : 256Mi
88
9+ viType : vi
10+ # viType: pvc
911vmDiskType : vd
1012resources : " all"
1113resourcesPrefix : " performance"
You can’t perform that action at this time.
0 commit comments