mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-22 00:27:38 +08:00
fix: create new secret on vm creation (#537)
Signed-off-by: Caio Torres <caio.torres@suse.com>
This commit is contained in:
1 parent
6ddd35d661
commit
3b343bcaca
1 file changed
+1
-1
@@ -273,7 +273,7 @@ export default {
|
||||
|
||||
needNewSecret() {
|
||||
// When creating a template it is always necessary to create a new secret.
|
||||
return this.showYaml ? false : this.resourceType === HCI.VM_VERSION || this.isCreate;
|
||||
return this.isCreate ? true : this.showYaml ? false : this.resourceType === HCI.VM_VERSION;
|
||||
},
|
||||
|
||||
defaultTerminationSetting() {
|
||||
|
||||
Reference in new issue
Block a user