From 89097c677d0694f822eff32c9b548d2168bce357 Mon Sep 17 00:00:00 2001 From: Kostas Livieratos Date: Thu, 30 Jul 2020 16:28:45 +0300 Subject: [PATCH] Set explicit helm plugins dir --- Dockerfile | 3 +++ entrypoint.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 60169d9..e36fe0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/entrypoint.sh b/entrypoint.sh index 59a28c0..426dd3d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,6 +2,7 @@ echo ${KUBE_CONFIG_DATA} | base64 -d > kubeconfig export KUBECONFIG=kubeconfig +export HELM_PLUGINS=/usr/local/helm/plugins result="$($1)"