mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
feat: support manually configuring VM IP (#315)
* feat: add annotations Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * feat: map annotation Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> * feat: add annotaion to template Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com> --------- Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
This commit is contained in:
@@ -284,4 +284,10 @@ export default class HciVmTemplateVersion extends HarvesterResource {
|
||||
get efiPersistentStateFeatureEnabled() {
|
||||
return this.$rootGetters['harvester-common/getFeatureEnabled']('efiPersistentState');
|
||||
}
|
||||
|
||||
get systemAnnotations() {
|
||||
const annotations = this.annotations || {};
|
||||
|
||||
return Object.keys(annotations).filter((key) => key.includes(HCI_ANNOTATIONS.TEMPLATE_VERSION_CUSTOM_NAME));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user