Merge pull request #55 from houhoucoop/fix/issue-7183

fix: failed to create vm template on Rancher managed Harvester
This commit is contained in:
Yiya Chen 2025-01-02 12:43:33 +08:00 committed by GitHub
commit 687943ae92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ import SSHKey from './kubevirt.io.virtualmachine/VirtualMachineSSHKey';
export default {
name: 'HarvesterEditVMTemplate',
emits: ['update:value'],
emits: ['update:templateValue'],
components: {
Tab,
@ -205,7 +205,7 @@ export default {
if (tab.name === 'advanced') {
this.$refs.yamlEditor?.refresh();
}
}
},
},
};
</script>
@ -222,11 +222,11 @@ export default {
@finish="saveVMT"
>
<NameNsDescription
:value="value"
:value="templateValue"
:mode="realTemplateMode"
name-label="harvester.vmTemplate.nameNsDescription.name"
:namespaced="true"
@update:value="$emit('update:value', $event)"
@update:value="$emit('update:templateValue', $event)"
/>
<Checkbox