docs: revert namespace to kube-system, use KUBE_VIP_NAMESPACE constant (#44)
Reverted inaccurate namespace references in docs back to kube-system. Replaced hardcoded 'kube-system' string in OverviewPage.tsx error message with KUBE_VIP_NAMESPACE constant. QA: privilegedescalation-qa ✅ | CTO: privilegedescalation-cto ✅ | CI: green ✅
This commit was merged in pull request #44.
This commit is contained in:
committed by
GitHub
parent
f6c86a79da
commit
cf617d4e47
@@ -21,6 +21,7 @@ import {
|
|||||||
isEgressEnabled,
|
isEgressEnabled,
|
||||||
isKubeVipService,
|
isKubeVipService,
|
||||||
isPodReady,
|
isPodReady,
|
||||||
|
KUBE_VIP_NAMESPACE,
|
||||||
phaseToStatus,
|
phaseToStatus,
|
||||||
} from '../api/k8s';
|
} from '../api/k8s';
|
||||||
import { useKubeVipContext } from '../api/KubeVipDataContext';
|
import { useKubeVipContext } from '../api/KubeVipDataContext';
|
||||||
@@ -105,7 +106,9 @@ export default function OverviewPage() {
|
|||||||
{
|
{
|
||||||
name: 'Status',
|
name: 'Status',
|
||||||
value: (
|
value: (
|
||||||
<StatusLabel status="error">No kube-vip pods found in kube-system</StatusLabel>
|
<StatusLabel status="error">
|
||||||
|
No kube-vip pods found in {KUBE_VIP_NAMESPACE}
|
||||||
|
</StatusLabel>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user