fix: cloned secret should keep originl type (#354)

Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
Andy Lee
2025-06-27 15:55:47 +08:00
committed by GitHub
parent 7386a2deb6
commit 1d89aafeab
@@ -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,