chectl cannot find a workspace pod while injecting kubeconfig #14746
Labels
area/chectl
Issues related to chectl, the CLI of Che
severity/P1
Has a major impact to usage or development of the system.
Describe the bug
chectl workspace:inject -k
looks for a workspace pod by labelche.workspace_id
. But it gets incorrect pod since there's another pod with the same label may present -che-jwt-proxy
.Need to change the way of looking for a workspace pod relying on the label
che.original_name=che-workspace-pod
.Che version
Steps to reproduce
Call
chectl workspace:inject -k
. It should find a single running workspace pod. But it reports:Even after specifying the correct workspace ID, chectl tries using incorrect pod:
Expected behavior
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
Environment
Additional context
The text was updated successfully, but these errors were encountered: