Skip to content

Commit a738061

Browse files
fix: [M3-9086] – Revise description of "Add Node Pools" section on LKE Create page (#11516)
1 parent e0801d9 commit a738061

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

packages/manager/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
4545
- Object Storage `endpoint_type` sorting ([#11472](https://github.com/linode/manager/pull/11472))
4646
- Visibility of sensitive data in Managed and Longview with Mask Sensitive Data setting enabled ([#11476](https://github.com/linode/manager/pull/11476))
4747
- Display Kubernetes API endpoint for LKE-E cluster ([#11485](https://github.com/linode/manager/pull/11485))
48+
- Accuracy of "Add Node Pools" section on LKE Create page ([#11516](https://github.com/linode/manager/pull/11516))
4849

4950
### Removed:
5051

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
export const ADD_NODE_POOLS_DESCRIPTION =
2-
'Add groups of Linodes to your cluster. You can have a maximum of 250 Linodes per node pool. Node Pool data is encrypted at rest.';
2+
'Add groups of Linodes to your cluster. You can have a maximum of 100 Linodes per node pool and a maximum of 250 Linodes per cluster.';
3+
4+
export const ADD_NODE_POOLS_ENCRYPTION_DESCRIPTION =
5+
'Node Pool data is encrypted at rest.';

packages/manager/src/features/Kubernetes/CreateCluster/NodePoolPanel.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ import { useRegionsQuery } from 'src/queries/regions/regions';
99
import { doesRegionSupportFeature } from 'src/utilities/doesRegionSupportFeature';
1010
import { extendType } from 'src/utilities/extendType';
1111

12-
import { ADD_NODE_POOLS_DESCRIPTION } from '../ClusterList/constants';
12+
import {
13+
ADD_NODE_POOLS_DESCRIPTION,
14+
ADD_NODE_POOLS_ENCRYPTION_DESCRIPTION,
15+
} from '../ClusterList/constants';
1316
import { KubernetesPlansPanel } from '../KubernetesPlansPanel/KubernetesPlansPanel';
1417

1518
import type {
@@ -106,8 +109,8 @@ const Panel = (props: NodePoolPanelProps) => {
106109
<KubernetesPlansPanel
107110
copy={
108111
isDiskEncryptionFeatureEnabled && regionSupportsDiskEncryption
109-
? ADD_NODE_POOLS_DESCRIPTION
110-
: 'Add groups of Linodes to your cluster. You can have a maximum of 100 Linodes per node pool.'
112+
? `${ADD_NODE_POOLS_DESCRIPTION} ${ADD_NODE_POOLS_ENCRYPTION_DESCRIPTION}`
113+
: ADD_NODE_POOLS_DESCRIPTION
111114
}
112115
getTypeCount={(planId) =>
113116
typeCountMap.get(planId) ?? DEFAULT_PLAN_COUNT

0 commit comments

Comments
 (0)