Skip to content

Commit

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

result="$($1)"

Expand Down

0 comments on commit d274eac

Please sign in to comment.