-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.15.0
-
None
-
No
-
False
-
-
-
Bug Fix
-
In Progress
Description of problem:
hypershift dump fails to acquire localhost-kubeconfig when impersonating. When attempting to dump guest cluster, it fails to read Secrets from the HCP namespace on the management cluster. As a result, it can't access anything from the guest cluster and fails to dump it successfully.
Version-Release number of selected component (if applicable):
Hypershift 0.1.11 Supported OCP version 4.15.0
How reproducible:
100%
Steps to Reproduce:
Execute hypershift dump cluster --as backplane-cluster-admin --name ${CLUSTER_NAME} --namespace ocm-${ENVIRONMENT}-${CLUSTER_ID} --dump-guest-cluster --artifact-dir ${DIR_NAME}
Actual results:
After a while a failure message will appear showing permission issue when attempting to acquire localhost-kubeconfig
Expected results:
localhost-kubeconfig should be acquired correctly and dump should be able to dump the guest cluster successfully
Additional info: