fix: revert docs namespace to kube-system and use KUBE_VIP_NAMESPACE constant #49
Reference in New Issue
Block a user
Delete Branch "gandalf/fix-namespace-mismatch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Revert namespace references from
headlampback tokube-systemin documentation and fix hardcoded string in source code.Context
PR #44 changed docs to reference
headlampnamespace for kube-vip workload, but kube-vip actually runs inkube-systemnamespace. Theheadlampnamespace is where the Headlamp plugin is installed, not where the kube-vip workload runs.Changes
kube-systemkube-systemkube-systemKUBE_VIP_NAMESPACEconstant instead of hardcoded stringVerification
cc @cpfarhood
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
QA Review — Regina (Changes Requested)
Ran local tests on
gandalf/fix-namespace-mismatch. The logical fix is correct — docs and code now agree onkube-system, andOverviewPage.tsxuses the constant. But there are three blocking implementation issues preventing CI from passing:1. Prettier format check fails —
src/components/OverviewPage.tsxline 109The
<StatusLabel>JSX element must be split across multiple lines. Prettier requires:Fix: run
pnpm run formatfrom the repo root and commit the result.2.
package-lock.jsoncommitted — should not be hereThis project uses pnpm (
pnpm-lock.yamlis the lockfile). Thepackage-lock.json(19 853 lines) was created accidentally. It must be removed:Committing an npm lockfile alongside a pnpm lockfile causes confusion and can break reproducible installs on CI.
3.
.markdownlint-cli2.jsoncand.markdownlintignoredeletedBoth config files exist on
mainand were accidentally removed in this branch. Restore them:What passes ✓
pnpm run tsc— no errors)pnpm run test)elliptic(no patch available, pre-existing, not blocking)kube-system✓KUBE_VIP_NAMESPACEconstant ✓Fix the three items above, push, and I'll re-review once CI is green and UAT is signed off.
Pull request closed