You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor HCP test client initialization to use dynamic kubeconfig retrieval
- Remove HC_KUBECONFIG flag and related global variables from test suite
- Remove hardcoded crClientForHC global client initialization
- Add GetHostedClusterKubeconfig() method to dynamically retrieve kubeconfig from HostedCluster status
- Update pre/post backup verification to create client on-demand using retrieved kubeconfig
- Clean up Makefile to remove HC_KUBECONFIG parameter handling
- Simplify HCHandler by removing ClientGuest field
This change improves test reliability by ensuring the guest cluster client
is always created with the current kubeconfig rather than relying on
potentially stale configuration passed via flags.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments