fix: inherit labels (#322)

Signed-off-by: Yi-Ya Chen <yiya.chen@suse.com>
This commit is contained in:
Yiya Chen authored and GitHub committed 2025-06-04 17:42:57 +08:00
1 parent 9e015ec3b1
commit 01528f7429
4 files changed
+12 -3

No files matched your search

@@ -189,6 +189,10 @@ export default {
}
this.value.spec['templateId'] = `${ namespace }/${ name }`;
this.value.spec.vm.metadata.labels = {
...this.value.spec.vm.metadata.labels,
...this.value.metadata.labels
};
const res = await this.value.save();
await this.saveSecret(res);