-
Notifications
You must be signed in to change notification settings - Fork 858
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #618 from wyardley/wyardley/helm-updates
fix(helm): update to 3.12.0 and use gcloud auth plugin
- Loading branch information
Showing
3 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
FROM gcr.io/cloud-builders/gcloud | ||
|
||
ARG HELM_VERSION=v3.7.0 | ||
ARG HELM_VERSION=v3.12.0 | ||
ENV HELM_VERSION=$HELM_VERSION | ||
ENV USE_GKE_GCLOUD_AUTH_PLUGIN=True | ||
|
||
COPY helm.bash /builder/helm.bash | ||
|
||
RUN chmod +x /builder/helm.bash && \ | ||
mkdir -p /builder/helm && \ | ||
apt-get update && \ | ||
apt-get install -y curl && \ | ||
apt-get install -y --no-install-recommends curl && \ | ||
curl -SL https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -o helm.tar.gz && \ | ||
tar zxvf helm.tar.gz --strip-components=1 -C /builder/helm linux-amd64 && \ | ||
rm helm.tar.gz && \ | ||
apt-get --purge -y autoremove && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN gcloud -q components install gke-gcloud-auth-plugin | ||
|
||
ENV PATH=/builder/helm/:$PATH | ||
|
||
ENTRYPOINT ["/builder/helm.bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters