Skip to content

Commit

Permalink
Set explicit helm plugins dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Kostas Livieratos committed Jul 30, 2020
1 parent de43c38 commit 89097c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ RUN chmod +x /usr/bin/aws-iam-authenticator

RUN wget https://get.helm.sh/helm-v3.2.4-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm
RUN chmod +x /usr/local/bin/helm

RUN mkdir -p /usr/local/helm/plugins
RUN export HELM_PLUGINS=/usr/local/helm/plugins
RUN helm plugin install https://github.com/zendesk/helm-secrets

COPY entrypoint.sh /entrypoint.sh
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

echo ${KUBE_CONFIG_DATA} | base64 -d > kubeconfig
export KUBECONFIG=kubeconfig
export HELM_PLUGINS=/usr/local/helm/plugins

result="$($1)"

Expand Down

0 comments on commit 89097c6

Please sign in to comment.