-
Bug
-
Resolution: Unresolved
-
Major
-
3.16.0.GA
-
None
-
False
-
None
-
False
-
-
Description of problem:
Users have some kind of annoying issue on Dev Spaces. When using empty workspace with persistent user directory. On subsequent restarts of workspace, the kubeconfig file (/home/user/.kube/config), gets malformed to the point oc cli is unable to read config:
$ oc get pods error: error loading config file "/home/user/.kube/config": yaml: mapping values are not allowed in this context
When we opened file, It's structure is lacking line breaks, making config a one liner. Deleting file and logging to the cluster using "Copy logging command" works, but file gets corrupted on next restart.
Additional Information :
Upstream bug found similar to this issue: https://github.com/eclipse-che/che/issues/23238