Skip to content

Commit 32b8aac

Browse files
authored
Merge pull request #2755 from devtron-labs/fix/infra-installation-cm
feat: rename create cluster
2 parents 2e25f83 + 785a15f commit 32b8aac

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@ FEATURE_AI_INTEGRATION_ENABLE=false
7171
LOGIN_PAGE_IMAGE=
7272
FEATURE_MANAGE_TRAFFIC_ENABLE=false
7373
FEATURE_REDFISH_NODE_ENABLE=false
74+
FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE=false

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.15.0",
7+
"@devtron-labs/devtron-fe-common-lib": "1.15.1",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/Pages/GlobalConfigurations/ClustersAndEnvironments/CreateCluster/CreateCluster.component.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ const CreateClusterForm = importComponentFromFELibrary(
2828
'CreateClusterForm',
2929
() => (
3030
<EnterpriseTrialDialog
31-
featureTitle="EKS Cluster"
32-
featureDescription="With Devtron, you can effortlessly create an Amazon EKS cluster."
31+
featureTitle="Create Kubernetes Cluster"
32+
featureDescription="Use Devtron to easily create Kubernetes clusters on popular cloud providers. Simplify cluster
33+
provisioning and management with a guided, user-friendly interface."
3334
/>
3435
),
3536
'function',
@@ -74,7 +75,7 @@ const CreateCluster = ({ handleReloadClusterList, handleRedirectOnModalClose }:
7475
FooterComponent={FooterComponent}
7576
/>
7677
)
77-
case CreateClusterTypeEnum.CREATE_EKS_CLUSTER:
78+
case CreateClusterTypeEnum.CREATE_CLUSTER:
7879
return (
7980
<CreateClusterForm
8081
apiCallInProgress={apiCallInProgress}

src/Pages/GlobalConfigurations/ClustersAndEnvironments/CreateCluster/constants.tsx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,15 @@ export const SIDEBAR_CONFIG: SidebarConfigType = {
1212
</p>
1313
),
1414
},
15-
[CreateClusterTypeEnum.CREATE_EKS_CLUSTER]: {
16-
title: 'Create EKS Cluster',
17-
iconName: 'ic-cluster',
18-
dataTestId: 'create-eks-cluster-tab',
15+
[CreateClusterTypeEnum.CREATE_CLUSTER]: {
16+
title: 'Create Kubernetes Cluster',
17+
iconName: 'ic-new',
18+
dataTestId: 'create-cluster-tab',
1919
body: (
20-
<>
21-
<p className="m-0">With Devtron, you can effortlessly create an Amazon EKS cluster.</p>
22-
<p className="m-0">
23-
Amazon Elastic Kubernetes Service (Amazon EKS) is a fully managed Kubernetes service that enables
24-
you to run Kubernetes seamlessly in both AWS Cloud and on-premises data centers.
25-
</p>
26-
</>
20+
<p className="m-0">
21+
Use Devtron to easily create Kubernetes clusters on popular cloud providers. Simplify cluster
22+
provisioning and management with a guided, user-friendly interface.
23+
</p>
2724
),
2825
isEnterprise: true,
2926
},

src/Pages/GlobalConfigurations/ClustersAndEnvironments/CreateCluster/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { IconName } from '@devtron-labs/devtron-fe-common-lib'
22

33
export enum CreateClusterTypeEnum {
44
CONNECT_CLUSTER = 'connect-cluster',
5-
CREATE_EKS_CLUSTER = 'create-eks-cluster',
5+
CREATE_CLUSTER = 'create-cluster',
66
ADD_ISOLATED_CLUSTER = 'add-isolated-cluster',
77
}
88

src/config/routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import { AppConfigProps, URLS as COMMON_URLS, EnvResourceType } from '@devtron-labs/devtron-fe-common-lib'
1818
import { generatePath } from 'react-router-dom'
1919

20-
const CREATE_CLUSTER_PATH = 'create/cluster/:type(connect-cluster|create-eks-cluster|add-isolated-cluster)'
20+
const CREATE_CLUSTER_PATH = 'create/cluster/:type(connect-cluster|create-cluster|add-isolated-cluster)'
2121

2222
export const URLS = {
2323
CHARTS: '/chart-store',

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ if (!window || !window._env_) {
174174
LOGIN_PAGE_IMAGE: '',
175175
FEATURE_MANAGE_TRAFFIC_ENABLE: true,
176176
FEATURE_REDFISH_NODE_ENABLE: false,
177+
FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE: false,
177178
}
178179
}
179180

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,10 +1124,10 @@
11241124
dependencies:
11251125
"@jridgewell/trace-mapping" "0.3.9"
11261126

1127-
"@devtron-labs/[email protected].0":
1128-
version "1.15.0"
1129-
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.15.0.tgz#a0895775e32cf29414f0bcea77c3d4b2de00a362"
1130-
integrity sha512-HimvKRILKRKKpNyDwAre+T3a8YFTJXrppm8FZtCJ2JDpvpjcCYtG/Ny+WsUAm89P/6OVQKC9baUt0HEIcGeAMQ==
1127+
"@devtron-labs/[email protected].1":
1128+
version "1.15.1"
1129+
resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.15.1.tgz#d3f45a1d11726f663ba5ef388278a031640ffc09"
1130+
integrity sha512-DSxXpQiv++RVq0UlfJLIlJqwScKUJuZ+XIlo7Pty/2P7nwS5mbPpdczItIDN9Q5ipLM6eM0/nBIJaIEfd2C4Bw==
11311131
dependencies:
11321132
"@codemirror/lang-json" "6.0.1"
11331133
"@codemirror/lang-yaml" "6.1.2"

0 commit comments

Comments
 (0)