mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 05:01:43 +00:00
fix: create new secret on vm creation (#537)
Signed-off-by: Caio Torres <caio.torres@suse.com>
This commit is contained in:
parent
6ddd35d661
commit
3b343bcaca
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user