Support currentRam and improve backward compatibility.
This commit is contained in:
parent
cb9aaeb787
commit
6a1eef84c9
1 changed files with 5 additions and 1 deletions
|
|
@ -47,7 +47,11 @@ data:
|
|||
# * bios
|
||||
# * uefi[-4m]
|
||||
# * secure[-4m]
|
||||
{{- if and (hasKey .Values.vm "efiBoot") (not .Values.vm.efiBoot) }}
|
||||
"firmware": "bios"
|
||||
{{- else }}
|
||||
"firmware": "{{ .Values.vm.firmware }}"
|
||||
{{- end }}
|
||||
|
||||
# When terminating, a graceful powerdown is attempted. If it
|
||||
# doesn't succeed within the given timeout (seconds) SIGTERM
|
||||
|
|
@ -56,7 +60,7 @@ data:
|
|||
|
||||
# RAM settings
|
||||
"maximumRam": "{{ .Values.vm.maximumMemory }}"
|
||||
# "currentRam": "1G"
|
||||
"currentRam": "{{ .Values.vm.currentMemory }}"
|
||||
|
||||
# CPU settings
|
||||
"cpuModel": "{{ .Values.vm.cpuModel }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue