Skip to content

Commit

Permalink
Update k8s support version
Browse files Browse the repository at this point in the history
  • Loading branch information
smallteeths committed Dec 4, 2024
1 parent 9cc0f3d commit aba8729
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions component/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,31 @@ const languages = LANGUAGE;
const PAGE_SIZE = 50;
const K8S_1_26_15 = '1.26.15-aliyun.1';
const K8S_1_24_6 = '1.24.6-aliyun.1';
const K8S_1_28_9 = '1.28.9-aliyun.1';
const K8S_1_30_1 = '1.30.1-aliyun.1';
const K8S_1_28_15 = '1.28.15-aliyun.1';
const K8S_1_30_7 = '1.30.7-aliyun.1';
const K8S_1_31_1 = '1.31.1-aliyun.1';

const VERSIONS = [
{
value: K8S_1_30_1,
label: K8S_1_30_1,
rancherEnabled: true,
value: K8S_1_31_1,
label: K8S_1_31_1,
rancherEnabled: false,
aliyunEnabled: true,
},
{
value: K8S_1_28_9,
label: K8S_1_28_9,
value: K8S_1_30_7,
label: K8S_1_30_7,
rancherEnabled: true,
aliyunEnabled: true,
},
{
value: K8S_1_26_15,
label: K8S_1_26_15,
rancherEnabled: false,
aliyunEnabled: true,
},
{
value: K8S_1_24_6,
label: K8S_1_24_6,
rancherEnabled: false,
value: K8S_1_28_15,
label: K8S_1_28_15,
rancherEnabled: true,
aliyunEnabled: true,
},
];
const DEFAULT_KUBERNETES_VERSION = K8S_1_30_1;
const DEFAULT_KUBERNETES_VERSION = K8S_1_30_7;
const KUBERNETES = 'Kubernetes';
const MANAGED = 'ManagedKubernetes';

Expand Down

0 comments on commit aba8729

Please sign in to comment.