feat: set default cluster
This commit is contained in:
@@ -112,6 +112,11 @@ export const clusterActionList = [
|
||||
locale: true,
|
||||
icon: icons.Catalog1
|
||||
},
|
||||
{
|
||||
key: 'isDefault',
|
||||
label: 'clusters.form.setDefault',
|
||||
icon: icons.StarOutlined
|
||||
},
|
||||
{
|
||||
key: 'delete',
|
||||
label: 'common.button.delete',
|
||||
|
||||
@@ -52,6 +52,7 @@ export interface NodePoolListItem extends NodePoolFormData {
|
||||
export interface ClusterListItem {
|
||||
name: string;
|
||||
display_name: string;
|
||||
is_default: boolean;
|
||||
description: string;
|
||||
worker_config: Record<string, any>;
|
||||
provider: ProviderType;
|
||||
@@ -72,6 +73,7 @@ export interface ClusterFormData {
|
||||
name: string;
|
||||
description: string;
|
||||
provider: ProviderType;
|
||||
is_default?: boolean;
|
||||
credential_id: number;
|
||||
zone: string;
|
||||
region: string;
|
||||
|
||||
Reference in New Issue
Block a user