Bump Helm to v3.0.0
This commit is contained in:
parent
f466800e1a
commit
43f1188325
|
|
@ -136,7 +136,7 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Install helm
|
name: Install helm
|
||||||
environment:
|
environment:
|
||||||
HELM_VERSION: v3.0.0-rc.2
|
HELM_VERSION: v3.0.0
|
||||||
command: |
|
command: |
|
||||||
HELM_FILENAME="helm-${HELM_VERSION}-linux-amd64.tar.gz"
|
HELM_FILENAME="helm-${HELM_VERSION}-linux-amd64.tar.gz"
|
||||||
curl -Lo ${HELM_FILENAME} "https://get.helm.sh/${HELM_FILENAME}"
|
curl -Lo ${HELM_FILENAME} "https://get.helm.sh/${HELM_FILENAME}"
|
||||||
|
|
|
||||||
|
|
@ -11,10 +11,10 @@ FROM alpine:3.10
|
||||||
|
|
||||||
RUN apk add --no-cache ca-certificates git bash curl jq
|
RUN apk add --no-cache ca-certificates git bash curl jq
|
||||||
|
|
||||||
ARG HELM_VERSION=v3.0.0-rc.2
|
ARG HELM_VERSION=v3.0.0
|
||||||
ARG HELM_LOCATION="https://get.helm.sh"
|
ARG HELM_LOCATION="https://get.helm.sh"
|
||||||
ARG HELM_FILENAME="helm-${HELM_VERSION}-linux-amd64.tar.gz"
|
ARG HELM_FILENAME="helm-${HELM_VERSION}-linux-amd64.tar.gz"
|
||||||
ARG HELM_SHA256="b6fff8e01aa6cd9a4541bd48172bb53b9a0ae38d7e7783a8e0fcc1db63802aaa"
|
ARG HELM_SHA256="10e1fdcca263062b1d7b2cb93a924be1ef3dd6c381263d8151dd1a20a3d8c0dc"
|
||||||
RUN wget ${HELM_LOCATION}/${HELM_FILENAME} && \
|
RUN wget ${HELM_LOCATION}/${HELM_FILENAME} && \
|
||||||
echo Verifying ${HELM_FILENAME}... && \
|
echo Verifying ${HELM_FILENAME}... && \
|
||||||
sha256sum ${HELM_FILENAME} | grep -q "${HELM_SHA256}" && \
|
sha256sum ${HELM_FILENAME} | grep -q "${HELM_SHA256}" && \
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ function retry() {
|
||||||
set -e
|
set -e
|
||||||
info "Using namespace: ${test_ns}"
|
info "Using namespace: ${test_ns}"
|
||||||
# helm v2
|
# helm v2
|
||||||
if helm version --client 1>/dev/null 2>/dev/null; then
|
if helm version --client 2>/dev/null | grep '"v2\.'; then
|
||||||
info "Using Helm version: $(helm version --short --client | grep -o v.*$)"
|
info "Using Helm version: $(helm version --short --client | grep -o v.*$)"
|
||||||
${helm} init --wait --override spec.template.spec.automountServiceAccountToken=true
|
${helm} init --wait --override spec.template.spec.automountServiceAccountToken=true
|
||||||
# helm v3
|
# helm v3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue