From 1d89aafeab85ca987282863b59d3553ee9f045ac Mon Sep 17 00:00:00 2001 From: Andy Lee Date: Fri, 27 Jun 2025 15:55:47 +0800 Subject: [PATCH] fix: cloned secret should keep originl type (#354) Signed-off-by: Andy Lee --- pkg/harvester/edit/harvesterhci.io.secret.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/harvester/edit/harvesterhci.io.secret.vue b/pkg/harvester/edit/harvesterhci.io.secret.vue index aa866b99..975892a8 100644 --- a/pkg/harvester/edit/harvesterhci.io.secret.vue +++ b/pkg/harvester/edit/harvesterhci.io.secret.vue @@ -84,6 +84,10 @@ export default { this.value['_type'] = TYPES.OPAQUE; } + if ( this.realMode === _CLONE) { + this.value['_type'] = this.liveValue._type; + } + return { isCloud, nodeDrivers: null,