features icon indicating copy to clipboard operation
features copied to clipboard

Hard-coded user name in the kubectl-helm-minikube Feature's mount property

Open eitsupi opened this issue 3 years ago • 2 comments

Shouldn't this be changed since the user in the container is not always vscode?

https://github.com/devcontainers/features/blob/b9bfe406d211ce5645a165a73b72048e9ea9e88e/src/kubectl-helm-minikube/devcontainer-feature.json#L40

eitsupi avatar Jan 07 '23 11:01 eitsupi

Thanks for reporting.

Shouldn't this be changed since the user in the container is not always vscode?

Yep, it should.

Note: The Feature's major version should be bumped in the bug fix PR.

samruddhikhandale avatar Jan 09 '23 21:01 samruddhikhandale

Is it possible to make this mount optional? I prefer to have Minikube installed locally in my machine, and then I mount $HOME/.minikube in /home/vscode/.minikube. But with this mount in devcontainer-feature.json I am not able to do that.

My use case is the following. I would like to use Lens in order to access my cluster, so it is easier to have cluster config and credentials out of the container.

Thanks in advance.

bruno-lopes avatar Feb 16 '24 22:02 bruno-lopes