mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
hide yaml tab in vm, secret, host detail page
This commit is contained in:
parent
9595981f7e
commit
6c8ec64c50
@ -138,7 +138,8 @@ export function init($plugin, store) {
|
||||
},
|
||||
resource: NODE,
|
||||
resourceDetail: HCI.HOST,
|
||||
resourceEdit: HCI.HOST
|
||||
resourceEdit: HCI.HOST,
|
||||
canYaml: false,
|
||||
});
|
||||
|
||||
configureType(HCI.HOST, { isCreatable: false, isEditable: true });
|
||||
@ -176,6 +177,7 @@ export function init($plugin, store) {
|
||||
});
|
||||
|
||||
basicType([HCI.VM]);
|
||||
configureType(HCI.VM, { canYaml: false });
|
||||
virtualType({
|
||||
labelKey: 'harvester.virtualMachine.label',
|
||||
group: 'root',
|
||||
@ -636,6 +638,7 @@ export function init($plugin, store) {
|
||||
resource: SECRET,
|
||||
resourceDetail: HCI.SECRET,
|
||||
resourceEdit: HCI.SECRET,
|
||||
canYaml: false,
|
||||
notFilterNamespace: ['cattle-monitoring-system', 'cattle-logging-system']
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user