mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
fix: create new secret on vm creation (#614)
* fix: create new secret on vm creation Signed-off-by: Caio Torres <caio.torres@suse.com> * fix: ensure parseVM result is immutable Signed-off-by: Caio Torres <caio.torres@suse.com> --------- Signed-off-by: Caio Torres <caio.torres@suse.com>
This commit is contained in:
@@ -490,6 +490,7 @@ export default {
|
||||
if (this.isSingle) {
|
||||
if (!this.value.spec.template.spec.hostname) {
|
||||
this.value.spec.template.spec['hostname'] = this.value.metadata.name;
|
||||
this.spec.template.spec['hostname'] = this.value.metadata.name;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user