dtzar / helm-kubectl

Docker Hub image with helm and kubectl on top of alpine linux with bash
https://hub.docker.com/r/dtzar/helm-kubectl/
MIT License
365 stars 133 forks source link

Helm install doesn't work in OpenShift container #59

Closed seansund closed 4 years ago

seansund commented 4 years ago

The default behavior of a container that is run in OpenShift is to run under a randomly assigned uid that is part of the root group.

For a helm install of a chart in a helm repository, two things happen:

  1. The helm repo index is downloaded into /root/.cache/helm/repository
  2. The helm chart is downloaded into the current working directory - /config

For the helm install to work in an OpenShfit container, the root group needs to be able to read and write to the home and working directories.