fix(kube): switch to --kubeconfig flag, add Test Connection diagnostic, fix SelectValue label #82
No reviewers
Labels
No Label
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sarman/tftsr-devops_investigation#82
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/kube-select-label-and-context"
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?
Changes
--kubeconfig flag (was: KUBECONFIG env var)
All 40 kubectl invocations now pass
--kubeconfig <path>as an explicit CLI flag instead of setting theKUBECONFIGenvironment variable. The flag takes highest precedence in kubectl's lookup order and is unambiguous regardless of any inherited env vars from the parent process.current-context fix (carried over from previous PR)
extract_context()andupload_kubeconfig()now read thecurrent-contextfield from the YAML instead of always pickingcontexts[0]. Re-upload your kubeconfig after deploying.SelectValue label display fix (carried over)
SelectValuenow resolves the display label from avalue → childrenmap built at render time, so the cluster dropdown shows the friendly name instead of the UUID.Test Connection diagnostic
New
test_kubectl_connectionTauri command runskubectl cluster-infowith the stored kubeconfig and returns: context name, kubectl binary path, exit code, full stdout and stderr. A Test button in Settings → Kubeconfig triggers it — the output will show exactly what kubectl sees (wrong context, expired certs, missing exec plugin, etc.) without needing to inspect tracing logs.Test plan
npm run test:run268 pass,cargo test343 pass, zero lint/type errors