Skip to content

Commit

Permalink
Another helm plugins dir change
Browse files Browse the repository at this point in the history
  • Loading branch information
Kostas Livieratos committed Jul 30, 2020
1 parent 30ab51d commit 4964ff2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ 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 export HELM_PLUGINS=~/.helm/plugins
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
RUN ls ~/.helm/plugins
RUN ls -all /usr/local/.helm/plugins/

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]:
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

result="$($1)"

Expand Down

0 comments on commit 4964ff2

Please sign in to comment.