Kubeconfig file is getting malformed when workspace starts with persistent $HOME directory
Issue
- Kubeconfig file is getting malformed when workspace startswith persistent
$HOMEdirectory. -
Users getting below error when running commands using
oc clion workspace terminal :$ oc get pods error: error loading config file "/home/user/.kube/config": yaml: mapping values are not allowed in this context
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- v4.12+
- Red Hat OpenShift Dev Spaces
- v3.16
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.