@camunda/ccma-saas-frontend 0.0.43 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/components/c4-app-teaser-cards/c4-app-teaser-cards.d.ts +1 -1
- package/lib/esm/components/c4-cluster-client-credentials/c4-cluster-client-credentials.d.ts +3 -3
- package/lib/esm/components/c4-cluster-client-credentials-identity/c4-cluster-client-credentials-identity.d.ts +3 -3
- package/lib/esm/components/c4-cluster-details-encryption/c4-cluster-details-encryption.types.d.ts +2 -1
- package/lib/esm/components/c4-cluster-overview/applications.d.ts +2 -2
- package/lib/esm/components/c4-cluster-overview/applications.js +10 -2
- package/lib/esm/components/c4-cluster-overview/c4-cluster-overview.d.ts +1 -1
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.d.ts +3 -3
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.js +5 -13
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.spec.d.ts +1 -0
- package/lib/esm/components/c4-cluster-settings/elements/multi-tenancy.spec.js +42 -0
- package/lib/esm/components/c4-cluster-settings/elements/tasklist-mode-toggle.d.ts +1 -1
- package/lib/esm/components/c4-console-dashboard/elements/empty-state.d.ts +1 -1
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.js +1 -1
- package/lib/esm/components/c4-create-cluster/c4-create-cluster.spec.js +3 -3
- package/lib/esm/components/c4-create-console-api-client-modal/c4-create-console-api-client-modal.js +12 -0
- package/lib/esm/components/c4-divider/c4-divider.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-details-page/c4-job-dashboard-details-page.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-error-table.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-piechart.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-details-page/elements/c4-job-dashboard-worker-table.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-shared/c4-job-dashboard-time-range-dropdown.d.ts +1 -1
- package/lib/esm/components/c4-job-dashboard-shared/c4-timestamp-information.d.ts +1 -1
- package/lib/esm/components/c4-multi-step-modal-ugly/c4-multi-step-modal-ugly.d.ts +1 -1
- package/lib/esm/components/c4-number-input/c4-number-input.d.ts +1 -1
- package/lib/esm/components/c4-optimize-activation-modal/c4-optimize-activation-modal.d.ts +3 -0
- package/lib/esm/components/c4-optimize-activation-modal/c4-optimize-activation-modal.js +21 -0
- package/lib/esm/components/c4-optimize-activation-modal/c4-optimize-activation-modal.types.d.ts +6 -0
- package/lib/esm/components/c4-optimize-activation-modal/c4-optimize-activation-modal.types.js +6 -0
- package/lib/esm/components/c4-page-template/c4-page-template.d.ts +1 -1
- package/lib/esm/components/c4-search/c4-search-results.d.ts +1 -1
- package/lib/esm/components/c4-telemetry-page/metrics-empty-state-image.d.ts +1 -1
- package/lib/esm/externalUrls.const.d.ts +1 -0
- package/lib/esm/externalUrls.const.js +2 -0
- package/lib/esm/externalUrls.const.spec.js +1 -0
- package/lib/esm/i18n/en/modals/apiclients.json +1 -0
- package/lib/esm/i18n/en/modals/clusters.json +6 -0
- package/lib/esm/i18n/en/pages/clusterdetails.json +25 -0
- package/lib/esm/i18n/en/pages/createcluster.json +1 -1
- package/lib/esm/i18n/en/pages/orgmanagement.json +1 -0
- package/lib/esm/icons/c4-icons.d.ts +11 -11
- package/lib/esm/index.d.ts +2 -0
- package/lib/esm/index.js +1 -0
- package/lib/esm/runtime/c4-console-data-context.d.ts +1 -1
- package/lib/esm/runtime/c4-console-data-context.js +2 -2
- package/lib/esm/runtime/c4-console-data-context.types.d.ts +3 -3
- package/lib/esm/runtime/c4-console-data-store.d.ts +3 -3
- package/lib/esm/runtime/c4-console-data-store.js +34 -15
- package/lib/esm/runtime/c4-console-data-store.spec.js +55 -1
- package/lib/esm/runtime/c4-console-notifications-context.d.ts +1 -1
- package/lib/esm/runtime/c4-console-runtime-context.d.ts +1 -1
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.js +27 -1
- package/lib/esm/widgets/cluster-details/c4-cluster-details-app.types.d.ts +2 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.js +7 -0
- package/lib/esm/widgets/cluster-details/c4-cluster-details-page.types.d.ts +2 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-clients-tab.spec.js +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.d.ts +1 -1
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-encryption-tab.js +2 -18
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-ip-whitelist-tab.js +37 -2
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.js +128 -59
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-overview-tab.spec.js +297 -3
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-secure-connectivity-tab.js +17 -4
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.d.ts +1 -0
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.js +63 -10
- package/lib/esm/widgets/cluster-details/tabs/c4-cluster-details-settings-tab.spec.js +116 -1
- package/lib/esm/widgets/clusters/c4-clusters-page.d.ts +1 -1
- package/lib/esm/widgets/clusters/c4-clusters-page.js +21 -11
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.d.ts +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-executable-details-page.js +2 -2
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.d.ts +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management-executables-table-page.js +2 -2
- package/lib/esm/widgets/connector-management/c4-connector-management-page.d.ts +1 -1
- package/lib/esm/widgets/connector-management/c4-connector-management.shared.js +1 -1
- package/lib/esm/widgets/create-cluster/c4-create-cluster-page.js +1 -1
- package/lib/esm/widgets/management/c4-management-app.js +6 -0
- package/lib/esm/widgets/management/tabs/c4-management-api-tab.js +7 -0
- package/package.json +21 -21
|
@@ -24,6 +24,15 @@ const hoisted = vi.hoisted(() => {
|
|
|
24
24
|
return {
|
|
25
25
|
upgradableGenerations: [],
|
|
26
26
|
upgradeClusterGenerationMock: vi.fn().mockResolvedValue(undefined),
|
|
27
|
+
getUpgradableGenerationsMock: vi.fn().mockImplementation(() => {
|
|
28
|
+
if (hoisted.upgradableGenerations.length === 0) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
preferred: hoisted.upgradableGenerations[0] || null,
|
|
33
|
+
options: hoisted.upgradableGenerations,
|
|
34
|
+
};
|
|
35
|
+
}),
|
|
27
36
|
};
|
|
28
37
|
});
|
|
29
38
|
vi.mock('@camunda/ccma-api', async () => {
|
|
@@ -61,9 +70,7 @@ vi.mock('../../../runtime/c4-console-data-context', async () => {
|
|
|
61
70
|
fetchGenerationDetails: vi.fn().mockResolvedValue(undefined),
|
|
62
71
|
upgradableGenerations: {},
|
|
63
72
|
generationDetails: {},
|
|
64
|
-
getUpgradableGenerations:
|
|
65
|
-
.fn()
|
|
66
|
-
.mockImplementation(() => hoisted.upgradableGenerations),
|
|
73
|
+
getUpgradableGenerations: hoisted.getUpgradableGenerationsMock,
|
|
67
74
|
getGenerationDetails: vi.fn().mockReturnValue(undefined),
|
|
68
75
|
upgradeClusterGeneration: hoisted.upgradeClusterGenerationMock,
|
|
69
76
|
getSseEntityVersion: vi.fn().mockReturnValue(0),
|
|
@@ -587,6 +594,141 @@ describe('C4ClusterDetailsOverviewTab upgrade wizard', () => {
|
|
|
587
594
|
expect(screen.queryByText('Update removes Tasklist V1')).toBeNull();
|
|
588
595
|
});
|
|
589
596
|
});
|
|
597
|
+
describe('C4ClusterDetailsOverviewTab version picker', () => {
|
|
598
|
+
beforeEach(() => {
|
|
599
|
+
lastOverviewProps = undefined;
|
|
600
|
+
hoisted.upgradeClusterGenerationMock.mockClear();
|
|
601
|
+
hoisted.upgradableGenerations = [];
|
|
602
|
+
});
|
|
603
|
+
afterEach(() => {
|
|
604
|
+
cleanup();
|
|
605
|
+
});
|
|
606
|
+
function renderWithVersionPickerFlag(props) {
|
|
607
|
+
return render(_jsx(C4ConsoleRuntimeProvider, { config: {
|
|
608
|
+
stage: 'dev',
|
|
609
|
+
auth: { getAccessToken: async () => 'token' },
|
|
610
|
+
backendUrls: {},
|
|
611
|
+
featureFlags: {
|
|
612
|
+
isEnabled: (key) => key === 'console.upgradeVersionSelection',
|
|
613
|
+
},
|
|
614
|
+
}, children: _jsx(C4ClusterDetailsOverviewTab, { ...defaultProps, ...props }) }));
|
|
615
|
+
}
|
|
616
|
+
it('does not show the version picker when only one upgrade option exists', async () => {
|
|
617
|
+
const cluster = buildCluster('Healthy', { zeebeVersion: 'zeebe:8.9.0' });
|
|
618
|
+
hoisted.upgradableGenerations = [
|
|
619
|
+
{
|
|
620
|
+
uuid: 'gen-810',
|
|
621
|
+
name: 'Camunda 8.10',
|
|
622
|
+
versions: {
|
|
623
|
+
zeebe: 'zeebe:8.10.0',
|
|
624
|
+
tasklist: 'tasklist:8.10.0',
|
|
625
|
+
operate: 'operate:8.10.0',
|
|
626
|
+
elasticSearchOss: 'elasticsearch:8.10.0',
|
|
627
|
+
optimize: 'optimize:8.10.0',
|
|
628
|
+
},
|
|
629
|
+
},
|
|
630
|
+
];
|
|
631
|
+
renderWithVersionPickerFlag({ cluster, canEditCluster: true });
|
|
632
|
+
await screen.findByTestId('cluster-overview');
|
|
633
|
+
act(() => {
|
|
634
|
+
lastOverviewProps?.details.generation.update.updateStates.updateAvailable.action?.();
|
|
635
|
+
});
|
|
636
|
+
await screen.findByText(/Update cluster generation from/i);
|
|
637
|
+
expect(screen.queryByText('Select target version')).toBeNull();
|
|
638
|
+
});
|
|
639
|
+
it('shows the version picker when flag is on and multiple options exist', async () => {
|
|
640
|
+
const user = userEvent.setup();
|
|
641
|
+
const cluster = buildCluster('Healthy', { zeebeVersion: 'zeebe:8.9.0' });
|
|
642
|
+
hoisted.upgradableGenerations = [
|
|
643
|
+
{
|
|
644
|
+
uuid: 'gen-810',
|
|
645
|
+
name: 'Camunda 8.10',
|
|
646
|
+
versions: {
|
|
647
|
+
zeebe: 'zeebe:8.10.0',
|
|
648
|
+
tasklist: 'tasklist:8.10.0',
|
|
649
|
+
operate: 'operate:8.10.0',
|
|
650
|
+
elasticSearchOss: 'elasticsearch:8.10.0',
|
|
651
|
+
optimize: 'optimize:8.10.0',
|
|
652
|
+
},
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
uuid: 'gen-811',
|
|
656
|
+
name: 'Camunda 8.11',
|
|
657
|
+
versions: {
|
|
658
|
+
zeebe: 'zeebe:8.11.0',
|
|
659
|
+
tasklist: 'tasklist:8.11.0',
|
|
660
|
+
operate: 'operate:8.11.0',
|
|
661
|
+
elasticSearchOss: 'elasticsearch:8.11.0',
|
|
662
|
+
optimize: 'optimize:8.11.0',
|
|
663
|
+
},
|
|
664
|
+
},
|
|
665
|
+
];
|
|
666
|
+
renderWithVersionPickerFlag({ cluster, canEditCluster: true });
|
|
667
|
+
await screen.findByTestId('cluster-overview');
|
|
668
|
+
act(() => {
|
|
669
|
+
lastOverviewProps?.details.generation.update.updateStates.updateAvailable.action?.();
|
|
670
|
+
});
|
|
671
|
+
await screen.findByText('Select target version');
|
|
672
|
+
expect(screen.getByText('Available versions')).toBeInTheDocument();
|
|
673
|
+
// Both options should be visible
|
|
674
|
+
expect(screen.getByRole('radio', { name: /Camunda 8\.10/i })).toBeInTheDocument();
|
|
675
|
+
expect(screen.getByRole('radio', { name: /Camunda 8\.11/i })).toBeInTheDocument();
|
|
676
|
+
// The preferred (first) option should be pre-selected
|
|
677
|
+
expect(screen.getByRole('radio', { name: /Camunda 8\.10/i })).toBeChecked();
|
|
678
|
+
// Advance past the picker to the confirmation step
|
|
679
|
+
await user.click(screen.getByRole('button', { name: 'Next' }));
|
|
680
|
+
await screen.findByText(/Update cluster generation from/i);
|
|
681
|
+
// Confirmation step shows the preferred generation name
|
|
682
|
+
expect(screen.getByText(/Camunda 8\.10/)).toBeInTheDocument();
|
|
683
|
+
});
|
|
684
|
+
it('selecting a non-preferred option carries through to the confirmation step', async () => {
|
|
685
|
+
const user = userEvent.setup();
|
|
686
|
+
const cluster = buildCluster('Healthy', { zeebeVersion: 'zeebe:8.9.0' });
|
|
687
|
+
hoisted.upgradableGenerations = [
|
|
688
|
+
{
|
|
689
|
+
uuid: 'gen-810',
|
|
690
|
+
name: 'Camunda 8.10',
|
|
691
|
+
versions: {
|
|
692
|
+
zeebe: 'zeebe:8.10.0',
|
|
693
|
+
tasklist: 'tasklist:8.10.0',
|
|
694
|
+
operate: 'operate:8.10.0',
|
|
695
|
+
elasticSearchOss: 'elasticsearch:8.10.0',
|
|
696
|
+
optimize: 'optimize:8.10.0',
|
|
697
|
+
},
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
uuid: 'gen-811',
|
|
701
|
+
name: 'Camunda 8.11',
|
|
702
|
+
versions: {
|
|
703
|
+
zeebe: 'zeebe:8.11.0',
|
|
704
|
+
tasklist: 'tasklist:8.11.0',
|
|
705
|
+
operate: 'operate:8.11.0',
|
|
706
|
+
elasticSearchOss: 'elasticsearch:8.11.0',
|
|
707
|
+
optimize: 'optimize:8.11.0',
|
|
708
|
+
},
|
|
709
|
+
},
|
|
710
|
+
];
|
|
711
|
+
renderWithVersionPickerFlag({ cluster, canEditCluster: true });
|
|
712
|
+
await screen.findByTestId('cluster-overview');
|
|
713
|
+
act(() => {
|
|
714
|
+
lastOverviewProps?.details.generation.update.updateStates.updateAvailable.action?.();
|
|
715
|
+
});
|
|
716
|
+
await screen.findByText('Select target version');
|
|
717
|
+
// Select the non-preferred option
|
|
718
|
+
await user.click(screen.getByRole('radio', { name: /Camunda 8\.11/i }));
|
|
719
|
+
expect(screen.getByRole('radio', { name: /Camunda 8\.11/i })).toBeChecked();
|
|
720
|
+
await user.click(screen.getByRole('button', { name: 'Next' }));
|
|
721
|
+
await screen.findByText(/Update cluster generation from/i);
|
|
722
|
+
// The confirmation step should reference the selected generation (8.11) in the "from … to …" line
|
|
723
|
+
const confirmationParagraph = await screen.findByText(/Update cluster generation from/i);
|
|
724
|
+
expect(confirmationParagraph.textContent).toContain('Camunda 8.11');
|
|
725
|
+
// Submit and verify the correct generationUuid is sent
|
|
726
|
+
await user.click(screen.getByRole('button', { name: 'Update' }));
|
|
727
|
+
await waitFor(() => {
|
|
728
|
+
expect(hoisted.upgradeClusterGenerationMock).toHaveBeenCalledWith(expect.objectContaining({ generationUuid: 'gen-811' }));
|
|
729
|
+
});
|
|
730
|
+
});
|
|
731
|
+
});
|
|
590
732
|
describe('C4ClusterDetailsOverviewTab hardware packages', () => {
|
|
591
733
|
beforeEach(() => {
|
|
592
734
|
lastOverviewProps = undefined;
|
|
@@ -844,3 +986,155 @@ describe('C4ClusterDetailsOverviewTab swagger URL', () => {
|
|
|
844
986
|
expect(lastOverviewProps?.details?.swaggerUrl?.pausedWarning).toBeUndefined();
|
|
845
987
|
});
|
|
846
988
|
});
|
|
989
|
+
describe('C4ClusterDetailsOverviewTab tasklist/operate version fallback', () => {
|
|
990
|
+
beforeEach(() => {
|
|
991
|
+
lastOverviewProps = undefined;
|
|
992
|
+
hoisted.upgradableGenerations = [];
|
|
993
|
+
hoisted.upgradeClusterGenerationMock
|
|
994
|
+
.mockReset()
|
|
995
|
+
.mockResolvedValue(undefined);
|
|
996
|
+
vi.clearAllMocks();
|
|
997
|
+
});
|
|
998
|
+
afterEach(() => {
|
|
999
|
+
cleanup();
|
|
1000
|
+
});
|
|
1001
|
+
it('falls back to the zeebe version for tasklist and operate tiles when those fields are unset', async () => {
|
|
1002
|
+
const cluster = buildCluster('Healthy', {
|
|
1003
|
+
zeebeVersion: 'reg/zeebe:8.9.0',
|
|
1004
|
+
});
|
|
1005
|
+
renderTab({ cluster });
|
|
1006
|
+
await waitFor(() => expect(lastOverviewProps).toBeDefined());
|
|
1007
|
+
const apps = lastOverviewProps?.applications.applications;
|
|
1008
|
+
expect(apps?.tasklist?.version).toBe('8.9.0');
|
|
1009
|
+
expect(apps?.operate?.version).toBe('8.9.0');
|
|
1010
|
+
});
|
|
1011
|
+
it('treats blank-string tasklist and operate as unset and falls back to zeebe', async () => {
|
|
1012
|
+
const cluster = buildCluster('Healthy', {
|
|
1013
|
+
zeebeVersion: 'reg/zeebe:8.9.0',
|
|
1014
|
+
});
|
|
1015
|
+
cluster.generation.versions = {
|
|
1016
|
+
...cluster.generation.versions,
|
|
1017
|
+
tasklist: ' ',
|
|
1018
|
+
operate: '',
|
|
1019
|
+
};
|
|
1020
|
+
renderTab({ cluster });
|
|
1021
|
+
await waitFor(() => expect(lastOverviewProps).toBeDefined());
|
|
1022
|
+
const apps = lastOverviewProps?.applications.applications;
|
|
1023
|
+
expect(apps?.tasklist?.version).toBe('8.9.0');
|
|
1024
|
+
expect(apps?.operate?.version).toBe('8.9.0');
|
|
1025
|
+
});
|
|
1026
|
+
it('uses tasklist and operate versions when explicitly set (regression)', async () => {
|
|
1027
|
+
const cluster = buildCluster('Healthy', {
|
|
1028
|
+
zeebeVersion: 'reg/zeebe:8.9.0',
|
|
1029
|
+
});
|
|
1030
|
+
cluster.generation.versions = {
|
|
1031
|
+
...cluster.generation.versions,
|
|
1032
|
+
tasklist: 'reg/tasklist:8.8.0',
|
|
1033
|
+
operate: 'reg/operate:8.8.0',
|
|
1034
|
+
};
|
|
1035
|
+
renderTab({ cluster });
|
|
1036
|
+
await waitFor(() => expect(lastOverviewProps).toBeDefined());
|
|
1037
|
+
const apps = lastOverviewProps?.applications.applications;
|
|
1038
|
+
expect(apps?.tasklist?.version).toBe('8.8.0');
|
|
1039
|
+
expect(apps?.operate?.version).toBe('8.8.0');
|
|
1040
|
+
});
|
|
1041
|
+
it('uses zeebe version for tasklist/operate deltas when upgrading across the 8.9 boundary', async () => {
|
|
1042
|
+
const cluster = buildCluster('Healthy', { zeebeVersion: 'zeebe:8.8.0' });
|
|
1043
|
+
cluster.generation.versions = {
|
|
1044
|
+
...cluster.generation.versions,
|
|
1045
|
+
tasklist: 'tasklist:8.8.0',
|
|
1046
|
+
operate: 'operate:8.8.0',
|
|
1047
|
+
};
|
|
1048
|
+
hoisted.upgradableGenerations = [
|
|
1049
|
+
{
|
|
1050
|
+
uuid: 'gen-target',
|
|
1051
|
+
name: 'Camunda 8.9',
|
|
1052
|
+
versions: {
|
|
1053
|
+
zeebe: 'zeebe:8.9.0',
|
|
1054
|
+
elasticSearchOss: 'elasticsearch:8.9.0',
|
|
1055
|
+
optimize: 'optimize:8.9.0',
|
|
1056
|
+
// No tasklist or operate — 8.9+ generations omit these.
|
|
1057
|
+
},
|
|
1058
|
+
},
|
|
1059
|
+
];
|
|
1060
|
+
renderTab({ cluster, canEditCluster: true });
|
|
1061
|
+
await screen.findByTestId('cluster-overview');
|
|
1062
|
+
act(() => {
|
|
1063
|
+
lastOverviewProps?.details.generation.update.updateStates.updateAvailable.action?.();
|
|
1064
|
+
});
|
|
1065
|
+
await screen.findByText(/Update cluster generation from/i);
|
|
1066
|
+
expect(await screen.findByText(/Tasklist - 8\.8\.0 → 8\.9\.0/)).toBeInTheDocument();
|
|
1067
|
+
expect(await screen.findByText(/Operate - 8\.8\.0 → 8\.9\.0/)).toBeInTheDocument();
|
|
1068
|
+
});
|
|
1069
|
+
});
|
|
1070
|
+
describe('C4ClusterDetailsOverviewTab disabled Optimize tile', () => {
|
|
1071
|
+
beforeEach(() => {
|
|
1072
|
+
lastOverviewProps = undefined;
|
|
1073
|
+
});
|
|
1074
|
+
afterEach(() => {
|
|
1075
|
+
cleanup();
|
|
1076
|
+
});
|
|
1077
|
+
const disabledOptimizeCluster = {
|
|
1078
|
+
...buildCluster('Healthy'),
|
|
1079
|
+
externalMetadata: { optimizeEnabled: false },
|
|
1080
|
+
};
|
|
1081
|
+
function renderWithFlag(canEditCluster) {
|
|
1082
|
+
return render(_jsx(C4ConsoleRuntimeProvider, { config: {
|
|
1083
|
+
stage: 'dev',
|
|
1084
|
+
auth: { getAccessToken: async () => 'token' },
|
|
1085
|
+
backendUrls: {},
|
|
1086
|
+
featureFlags: {
|
|
1087
|
+
isEnabled: (key) => key === 'console.optimizeScalingForTrials',
|
|
1088
|
+
},
|
|
1089
|
+
}, children: _jsx(C4ClusterDetailsOverviewTab, { ...defaultProps, cluster: disabledOptimizeCluster, canEditCluster: canEditCluster }) }));
|
|
1090
|
+
}
|
|
1091
|
+
it('shows "Enable Optimize" CTA with onClick when canEditCluster=true', async () => {
|
|
1092
|
+
renderWithFlag(true);
|
|
1093
|
+
await screen.findByTestId('cluster-overview');
|
|
1094
|
+
const optimize = lastOverviewProps?.applications?.applications?.optimize;
|
|
1095
|
+
expect(optimize?.description).toContain('Optimize is not active for this cluster');
|
|
1096
|
+
expect(optimize?.link?.visible).toBe(true);
|
|
1097
|
+
expect(optimize?.link?.label).toBe('Enable Optimize');
|
|
1098
|
+
expect(optimize?.link?.url).toBeUndefined();
|
|
1099
|
+
expect(optimize?.link?.onClick).toBeDefined();
|
|
1100
|
+
expect(optimize?.status).toBeUndefined();
|
|
1101
|
+
});
|
|
1102
|
+
it('shows "Ask an admin" message with no link when canEditCluster=false', async () => {
|
|
1103
|
+
renderWithFlag(false);
|
|
1104
|
+
await screen.findByTestId('cluster-overview');
|
|
1105
|
+
const optimize = lastOverviewProps?.applications?.applications?.optimize;
|
|
1106
|
+
expect(optimize?.description).toContain('Ask an admin to enable it');
|
|
1107
|
+
expect(optimize?.link).toBeUndefined();
|
|
1108
|
+
expect(optimize?.status).toBeUndefined();
|
|
1109
|
+
});
|
|
1110
|
+
it('clicking Enable Optimize link opens the activation modal', async () => {
|
|
1111
|
+
renderWithFlag(true);
|
|
1112
|
+
await screen.findByTestId('cluster-overview');
|
|
1113
|
+
expect(screen.queryByRole('dialog', { name: /Enable Optimize/i })).toBeNull();
|
|
1114
|
+
const optimize = lastOverviewProps?.applications?.applications?.optimize;
|
|
1115
|
+
act(() => {
|
|
1116
|
+
optimize?.link?.onClick?.();
|
|
1117
|
+
});
|
|
1118
|
+
await screen.findByRole('dialog', { name: /Enable Optimize/i });
|
|
1119
|
+
expect(screen.getByText('Enable Optimize')).toBeInTheDocument();
|
|
1120
|
+
});
|
|
1121
|
+
it('confirming in the activation modal calls updateCluster with optimizeEnabled: true', async () => {
|
|
1122
|
+
vi.mocked(ConsoleClusterService.updateCluster).mockResolvedValue(undefined);
|
|
1123
|
+
renderWithFlag(true);
|
|
1124
|
+
await screen.findByTestId('cluster-overview');
|
|
1125
|
+
const optimize = lastOverviewProps?.applications?.applications?.optimize;
|
|
1126
|
+
act(() => {
|
|
1127
|
+
optimize?.link?.onClick?.();
|
|
1128
|
+
});
|
|
1129
|
+
await screen.findByRole('dialog', { name: /Enable Optimize/i });
|
|
1130
|
+
const enableButton = screen.getByRole('button', { name: /^Enable$/i });
|
|
1131
|
+
await userEvent.click(enableButton);
|
|
1132
|
+
await waitFor(() => {
|
|
1133
|
+
expect(ConsoleClusterService.updateCluster).toHaveBeenCalledWith({
|
|
1134
|
+
config: expect.anything(),
|
|
1135
|
+
params: { orgId: 'org-1', clusterId: 'cluster-1' },
|
|
1136
|
+
body: { optimizeEnabled: true },
|
|
1137
|
+
});
|
|
1138
|
+
});
|
|
1139
|
+
});
|
|
1140
|
+
});
|
|
@@ -258,9 +258,18 @@ export const C4ClusterDetailsSecureConnectivityTab = (props) => {
|
|
|
258
258
|
secureConnectivityStatus === undefined &&
|
|
259
259
|
!hasSeenSecureConnectivityLoadingRef.current;
|
|
260
260
|
const isSecureConnectivityLoadingVisible = secureConnectivityLoading || isInitialActiveLoadPending;
|
|
261
|
+
const cachedCluster = (data.getClusters(orgId) ?? []).find((item) => item?.uuid === clusterId);
|
|
262
|
+
// PrivateLink traffic arrives at the cluster with private VPC IPs
|
|
263
|
+
// (NLB / VPC endpoint interfaces), not the customer's public/corporate
|
|
264
|
+
// egress IPs. A cluster ipWhitelist built from public CIDRs therefore
|
|
265
|
+
// silently blocks PrivateLink traffic. Surface the conflict so users
|
|
266
|
+
// can either remove the allowlist or update it to include their VPC
|
|
267
|
+
// CIDR.
|
|
268
|
+
const hasIpAllowlist = (cachedCluster?.ipWhitelist?.length ?? 0) > 0;
|
|
269
|
+
const showActivePrivateLinkIpAllowlistConflict = hasIpAllowlist && !!secureConnectivityStatus;
|
|
270
|
+
const ipAllowlistConflictTitle = safeTranslate(t, 'clusterdetails:secureConnectivity.ipAllowlistConflict.title', 'IP allowlist may block PrivateLink traffic');
|
|
271
|
+
const ipAllowlistConflictSubtitle = safeTranslate(t, 'clusterdetails:secureConnectivity.ipAllowlistConflict.subtitle', 'The IP allowlist also applies to PrivateLink traffic. PrivateLink connections arrive with private VPC IPs (not your public or corporate IPs), so they will be blocked unless the allowlist includes your VPC CIDR. Add your VPC CIDR to the allowlist, or remove the allowlist entirely.');
|
|
261
272
|
const defaultClusterRegion = (() => {
|
|
262
|
-
const clusters = data.getClusters(orgId) ?? [];
|
|
263
|
-
const cachedCluster = clusters.find((item) => item?.uuid === clusterId);
|
|
264
273
|
const possibleRegion = cachedCluster?.k8sContext?.name;
|
|
265
274
|
if (!possibleRegion) {
|
|
266
275
|
return undefined;
|
|
@@ -344,7 +353,11 @@ export const C4ClusterDetailsSecureConnectivityTab = (props) => {
|
|
|
344
353
|
hasTooManyAllowedPrincipals) ||
|
|
345
354
|
(secureConnectivityEditMode === 'regions' && hasTooManyAllowedRegions);
|
|
346
355
|
const emptyDescription = (_jsxs(Stack, { gap: 6, children: [_jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.description0', 'Private networking allows you to connect privately to the cluster using inbound AWS PrivateLink.') }), _jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.description1', 'With inbound PrivateLink, traffic from your AWS VPC to Camunda cluster is routed privately and never traverses the public internet. This enables job workers and inbound connectors to run inside your own network while securely accessing Camunda.') }), showActivatingTile ? (_jsx(Tile, { light: true, children: _jsxs(Stack, { gap: 2, children: [_jsx(InlineLoading, { description: safeTranslate(t, 'clusterdetails:secureConnectivity.activatingTitle', 'Activating PrivateLink endpoint service…') }), _jsxs(Stack, { gap: 1, children: [_jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.activatingText0', 'This may take a few minutes.') }), _jsx("p", { children: safeTranslate(t, 'clusterdetails:secureConnectivity.activatingText1', 'You can leave this page. We will notify you when the endpoint service is ready.') })] })] }) })) : undefined] }));
|
|
347
|
-
return (_jsxs(_Fragment, { children: [_jsx(
|
|
356
|
+
return (_jsxs(_Fragment, { children: [showActivePrivateLinkIpAllowlistConflict && (_jsx(InlineNotification, { kind: 'warning', lowContrast: true, hideCloseButton: true, title: ipAllowlistConflictTitle, subtitle: ipAllowlistConflictSubtitle, style: {
|
|
357
|
+
maxWidth: '100%',
|
|
358
|
+
width: '100%',
|
|
359
|
+
marginBottom: 'var(--cds-spacing-05)',
|
|
360
|
+
} })), _jsx(C4ClusterDetailsSecureConnectivity, { status: secureConnectivityStatus, privateEndpoints: privateEndpoints, connectInAwsUrl: 'https://docs.aws.amazon.com/vpc/latest/privatelink/create-interface-endpoint.html', isLoading: isSecureConnectivityLoadingVisible, isDeactivating: secureConnectivityDeactivating, text: {
|
|
348
361
|
title: safeTranslate(t, 'clusterdetails:secureConnectivity.title', 'Private networking'),
|
|
349
362
|
activatedTitle: safeTranslate(t, 'clusterdetails:secureConnectivity.title', 'Private networking'),
|
|
350
363
|
loadingDescription: safeTranslate(t, 'clusterdetails:secureConnectivity.loadingDescription', 'Loading Private Link status…'),
|
|
@@ -419,7 +432,7 @@ export const C4ClusterDetailsSecureConnectivityTab = (props) => {
|
|
|
419
432
|
}
|
|
420
433
|
closeActivateModal();
|
|
421
434
|
return true;
|
|
422
|
-
}, children: [_jsx(ModalHeader, { title: safeTranslate(t, 'clusterdetails:secureConnectivity.enableButton', 'Activate PrivateLink endpoint service') }), _jsx(ModalBody, { hasForm: true, children: _jsxs(Stack, { gap: 6, children: [secureConnectivityMutationError && (_jsx(InlineNotification, { kind: 'error', lowContrast: true, title: 'Activation failed', subtitle: secureConnectivityMutationError, onCloseButtonClick: () => setSecureConnectivityMutationError('') })), _jsxs(ProgressIndicator, { currentIndex: secureConnectivityModalStep, spaceEqually: true, onChange: setSecureConnectivityModalStep, children: [_jsx(ProgressStep, { label: 'Allowed principals' }, 'private-link-step-0'), _jsx(ProgressStep, { label: 'Supported regions' }, 'private-link-step-1')] }), (() => {
|
|
435
|
+
}, children: [_jsx(ModalHeader, { title: safeTranslate(t, 'clusterdetails:secureConnectivity.enableButton', 'Activate PrivateLink endpoint service') }), _jsx(ModalBody, { hasForm: true, children: _jsxs(Stack, { gap: 6, children: [hasIpAllowlist && (_jsx(InlineNotification, { kind: 'warning', lowContrast: true, hideCloseButton: true, title: ipAllowlistConflictTitle, subtitle: ipAllowlistConflictSubtitle })), secureConnectivityMutationError && (_jsx(InlineNotification, { kind: 'error', lowContrast: true, title: 'Activation failed', subtitle: secureConnectivityMutationError, onCloseButtonClick: () => setSecureConnectivityMutationError('') })), _jsxs(ProgressIndicator, { currentIndex: secureConnectivityModalStep, spaceEqually: true, onChange: setSecureConnectivityModalStep, children: [_jsx(ProgressStep, { label: 'Allowed principals' }, 'private-link-step-0'), _jsx(ProgressStep, { label: 'Supported regions' }, 'private-link-step-1')] }), (() => {
|
|
423
436
|
switch (secureConnectivityModalStep) {
|
|
424
437
|
case 0:
|
|
425
438
|
return renderAllowedPrincipalsEditor('activateModal');
|
|
@@ -22,6 +22,7 @@ interface C4ClusterDetailsSettingsTabProps {
|
|
|
22
22
|
swagger: string;
|
|
23
23
|
mcpOverview: string;
|
|
24
24
|
tasklistApiVersions: string;
|
|
25
|
+
multiTenancy: string;
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
28
|
export declare const C4ClusterDetailsSettingsTab: (props: C4ClusterDetailsSettingsTabProps) => JSX.Element;
|
|
@@ -11,8 +11,10 @@ import { isClusterReconciliationPaused } from '../../is-cluster-reconciliation-p
|
|
|
11
11
|
function safeTranslate(translateFn, key, fallback, options) {
|
|
12
12
|
try {
|
|
13
13
|
const result = translateFn(key, options);
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
const keyWithoutNamespace = key.includes(':')
|
|
15
|
+
? key.split(':').slice(1).join(':')
|
|
16
|
+
: key;
|
|
17
|
+
if (result === key || result === keyWithoutNamespace) {
|
|
16
18
|
return fallback;
|
|
17
19
|
}
|
|
18
20
|
return result;
|
|
@@ -50,9 +52,12 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
50
52
|
const [tasklistV2UpgradeError, setTasklistV2UpgradeError] = useState(undefined);
|
|
51
53
|
const [isUpdatingRba, setIsUpdatingRba] = useState(false);
|
|
52
54
|
const [isUpdatingIdentityAuthorizations, setIsUpdatingIdentityAuthorizations,] = useState(false);
|
|
55
|
+
const [isUpdatingMultiTenancy, setIsUpdatingMultiTenancy] = useState(false);
|
|
53
56
|
const [rbaError, setRbaError] = useState(false);
|
|
54
57
|
const [authorizationsConfirm, setAuthorizationsConfirm] = useState(undefined);
|
|
55
58
|
const [authorizationsConfirmError, setAuthorizationsConfirmError] = useState(undefined);
|
|
59
|
+
const [operationError, setOperationError] = useState(undefined);
|
|
60
|
+
const settingUpdateFailedFallback = safeTranslate(props.t, 'clusterdetails:settings.operationError.fallback', 'Could not update setting. Please try again.');
|
|
56
61
|
const isReconciliationPaused = isClusterReconciliationPaused(props.cluster);
|
|
57
62
|
const effectiveCanEdit = props.canEditCluster && !isReconciliationPaused && !props.restoreInProgress;
|
|
58
63
|
const checkClusterVersion = useCallback((minVersion) => {
|
|
@@ -123,7 +128,7 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
123
128
|
clusterId: props.clusterId,
|
|
124
129
|
state: nextState,
|
|
125
130
|
});
|
|
126
|
-
|
|
131
|
+
setOperationError(error instanceof Error ? error.message : settingUpdateFailedFallback);
|
|
127
132
|
}
|
|
128
133
|
finally {
|
|
129
134
|
setIsUpdatingAutoUpdate(false);
|
|
@@ -156,7 +161,7 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
156
161
|
clusterId: props.clusterId,
|
|
157
162
|
state: nextState,
|
|
158
163
|
});
|
|
159
|
-
|
|
164
|
+
setOperationError(error instanceof Error ? error.message : settingUpdateFailedFallback);
|
|
160
165
|
}
|
|
161
166
|
finally {
|
|
162
167
|
setIsUpdatingEnforceGroups(false);
|
|
@@ -183,7 +188,7 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
183
188
|
clusterId: props.clusterId,
|
|
184
189
|
state: nextState,
|
|
185
190
|
});
|
|
186
|
-
|
|
191
|
+
setOperationError(error instanceof Error ? error.message : settingUpdateFailedFallback);
|
|
187
192
|
}
|
|
188
193
|
finally {
|
|
189
194
|
setIsUpdatingLowLatency(false);
|
|
@@ -210,7 +215,7 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
210
215
|
clusterId: props.clusterId,
|
|
211
216
|
state: nextState,
|
|
212
217
|
});
|
|
213
|
-
|
|
218
|
+
setOperationError(error instanceof Error ? error.message : settingUpdateFailedFallback);
|
|
214
219
|
}
|
|
215
220
|
finally {
|
|
216
221
|
setIsUpdatingSwagger(false);
|
|
@@ -237,7 +242,7 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
237
242
|
clusterId: props.clusterId,
|
|
238
243
|
state: nextState,
|
|
239
244
|
});
|
|
240
|
-
|
|
245
|
+
setOperationError(error instanceof Error ? error.message : settingUpdateFailedFallback);
|
|
241
246
|
}
|
|
242
247
|
finally {
|
|
243
248
|
setIsUpdatingMcp(false);
|
|
@@ -266,7 +271,7 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
266
271
|
clusterId: props.clusterId,
|
|
267
272
|
state: nextState,
|
|
268
273
|
});
|
|
269
|
-
|
|
274
|
+
setOperationError(error instanceof Error ? error.message : settingUpdateFailedFallback);
|
|
270
275
|
}
|
|
271
276
|
finally {
|
|
272
277
|
setIsUpdatingBusinessIdUniqueness(false);
|
|
@@ -389,6 +394,36 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
389
394
|
setIsUpdatingIdentityAuthorizations(false);
|
|
390
395
|
}
|
|
391
396
|
}, [props, runtime.telemetry]);
|
|
397
|
+
const updateMultiTenancy = useCallback(async (nextState) => {
|
|
398
|
+
runtime.telemetry?.track?.(`multiTenancy:${nextState}:confirm`, {
|
|
399
|
+
message: `Confirm ${nextState} multi-tenancy`,
|
|
400
|
+
orgId: props.orgId,
|
|
401
|
+
clusterId: props.clusterId,
|
|
402
|
+
state: nextState,
|
|
403
|
+
});
|
|
404
|
+
setIsUpdatingMultiTenancy(true);
|
|
405
|
+
try {
|
|
406
|
+
await ConsoleClusterService.updateCluster({
|
|
407
|
+
config: props.apiConfig,
|
|
408
|
+
params: { orgId: props.orgId, clusterId: props.clusterId },
|
|
409
|
+
body: { multiTenancyEnabled: nextState },
|
|
410
|
+
});
|
|
411
|
+
await props.onReloadCluster();
|
|
412
|
+
}
|
|
413
|
+
catch (error) {
|
|
414
|
+
runtime.telemetry?.captureException?.(error, {
|
|
415
|
+
eventName: `multiTenancy:${nextState}:confirm`,
|
|
416
|
+
message: 'Error while toggling multi-tenancy',
|
|
417
|
+
orgId: props.orgId,
|
|
418
|
+
clusterId: props.clusterId,
|
|
419
|
+
state: nextState,
|
|
420
|
+
});
|
|
421
|
+
setOperationError(error instanceof Error ? error.message : settingUpdateFailedFallback);
|
|
422
|
+
}
|
|
423
|
+
finally {
|
|
424
|
+
setIsUpdatingMultiTenancy(false);
|
|
425
|
+
}
|
|
426
|
+
}, [props, runtime.telemetry]);
|
|
392
427
|
const openIdentityBasedAuthorizationsConfirmation = useCallback(() => {
|
|
393
428
|
if (!props.cluster)
|
|
394
429
|
return;
|
|
@@ -401,6 +436,10 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
401
436
|
const shouldShowResourceBasedAuthorizations = useMemo(() => {
|
|
402
437
|
return checkClusterVersion('8.6.0') && !checkClusterVersion('8.8.0-alpha5');
|
|
403
438
|
}, [checkClusterVersion]);
|
|
439
|
+
const isMultiTenancyFeatureEnabled = runtime.featureFlags?.isEnabled?.('console.multiTenancy') ?? false;
|
|
440
|
+
const shouldShowMultiTenancy = useMemo(() => {
|
|
441
|
+
return checkClusterVersion('8.8.0-alpha7') && isMultiTenancyFeatureEnabled;
|
|
442
|
+
}, [checkClusterVersion, isMultiTenancyFeatureEnabled]);
|
|
404
443
|
if (!props.cluster)
|
|
405
444
|
return _jsx(_Fragment, {});
|
|
406
445
|
const isSubjectToIdentityAuthorization = checkClusterVersion('8.8.0-alpha5');
|
|
@@ -469,7 +508,7 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
469
508
|
updateIdentityBasedAuthorizations,
|
|
470
509
|
updateResourceBasedAuthorizations,
|
|
471
510
|
]);
|
|
472
|
-
return (_jsxs(_Fragment, { children: [_jsx(C4ClusterSettings, { settings: {
|
|
511
|
+
return (_jsxs(_Fragment, { children: [operationError && (_jsx(InlineNotification, { kind: 'error', lowContrast: true, title: safeTranslate(props.t, 'clusterdetails:settings.operationError.title', 'Setting update failed'), subtitle: operationError, onCloseButtonClick: () => setOperationError(undefined) })), _jsx(C4ClusterSettings, { settings: {
|
|
473
512
|
title: safeTranslate(props.t, 'clusterdetails:settings.clusterSettings.title', 'Cluster settings'),
|
|
474
513
|
...(shouldShowResourceBasedAuthorizations && {
|
|
475
514
|
resourceBasedAuthorizations: {
|
|
@@ -525,7 +564,21 @@ export const C4ClusterDetailsSettingsTab = (props) => {
|
|
|
525
564
|
permissions: {
|
|
526
565
|
mayToggleIdentityBasedAuthorizations: effectiveCanEdit && !isUpdatingIdentityAuthorizations,
|
|
527
566
|
},
|
|
528
|
-
description: (_jsxs(_Fragment, { children: [_jsx("p", { children: "When enabled, users and clients will no longer have access to cluster resources and applications, requiring you to define authorizations in the cluster's Admin component." }), _jsx("p", { children: "Organization admins will keep all permissions and access to all resources." }), _jsx("br", {}), _jsx("p", { children: "When disabled, authorizations can be configured for users and clients, but they will remain inactive until the feature is enabled." }), _jsx("br", {}), _jsxs("p", { children: ["Learn more about", ' ', _jsx(Link, { href: props.docsUrls.identityAuthorization, target: '_blank', rel: 'noopener noreferrer', children: "
|
|
567
|
+
description: (_jsxs(_Fragment, { children: [_jsx("p", { children: "When enabled, users and clients will no longer have access to cluster resources and applications, requiring you to define authorizations in the cluster's Admin component." }), _jsx("p", { children: "Organization admins will keep all permissions and access to all resources." }), _jsx("br", {}), _jsx("p", { children: "When disabled, authorizations can be configured for users and clients, but they will remain inactive until the feature is enabled." }), _jsx("br", {}), _jsxs("p", { children: ["Learn more about", ' ', _jsx(Link, { href: props.docsUrls.identityAuthorization, target: '_blank', rel: 'noopener noreferrer', children: "resource-based authorizations" })] })] })),
|
|
568
|
+
},
|
|
569
|
+
}),
|
|
570
|
+
...(shouldShowMultiTenancy && {
|
|
571
|
+
multiTenancy: {
|
|
572
|
+
enabled: props.cluster.multiTenancyEnabled ?? false,
|
|
573
|
+
action: {
|
|
574
|
+
label: safeTranslate(props.t, 'clusterdetails:settings.multiTenancy.title', 'Multi-tenancy'),
|
|
575
|
+
onClick: () => updateMultiTenancy(!(props.cluster?.multiTenancyEnabled ?? false)),
|
|
576
|
+
},
|
|
577
|
+
permissions: {
|
|
578
|
+
mayToggle: effectiveCanEdit && !isUpdatingMultiTenancy,
|
|
579
|
+
},
|
|
580
|
+
description: (_jsxs(_Fragment, { children: [_jsx("p", { children: safeTranslate(props.t, 'clusterdetails:settings.multiTenancy.description.enabled', 'When enabled, tenant-level authorization checks will be enforced for all resource-based authorizations. Users, groups, and roles not assigned to a tenant will lose access to any resources scoped to that tenant.') }), _jsx("br", {}), _jsx("p", { children: safeTranslate(props.t, 'clusterdetails:settings.multiTenancy.description.disabled', 'When disabled, tenants can still be created and principals assigned, but tenant-level checks will not be enforced until the feature is enabled. All data is associated with the <default> tenant.') }), _jsx("br", {}), _jsxs("p", { children: [safeTranslate(props.t, 'clusterdetails:settings.multiTenancy.docsLink.prefix', 'Learn more about'), ' ', _jsx(Link, { href: props.docsUrls.multiTenancy, target: '_blank', rel: 'noopener noreferrer', children: safeTranslate(props.t, 'clusterdetails:settings.multiTenancy.docsLink.label', 'managing tenants') })] })] })),
|
|
581
|
+
docsUrl: props.docsUrls.multiTenancy,
|
|
529
582
|
},
|
|
530
583
|
}),
|
|
531
584
|
autoUpdate: {
|