tools: Update Helm to v2.13.1

Helm v2.13.1 has been released [0], and is the next version of Helm
Armada is compatible with. Currently, Armada is not compatible with the
latest version of Helm toolkit due to a divergence caused in Helm v2.13.
This change uplifts Helm to v2.13.1 to restore compatibility with the
latest version of Helm toolkit.

[0] https://github.com/helm/helm/releases/tag/v2.13.1

Change-Id: Ieaf2475562c56530b6ec69c6a43611b4b47b7c83
This commit is contained in:
Drew Walters 2019-03-26 16:53:15 +00:00
parent 48920224cc
commit 12f4e8d2c3
7 changed files with 57 additions and 37 deletions

View File

@ -35,7 +35,7 @@ from armada.handlers.k8s import K8s
from armada.utils import helm
from armada.utils.release import label_selectors, get_release_status
TILLER_VERSION = b'2.12.1'
TILLER_VERSION = b'2.13.1'
GRPC_EPSILON = 60
LIST_RELEASES_PAGE_SIZE = 32
LIST_RELEASES_ATTEMPTS = 3

View File

@ -20,7 +20,7 @@ dependencies:
images:
tags:
tiller: gcr.io/kubernetes-helm/tiller:v2.12.1
tiller: gcr.io/kubernetes-helm/tiller:v2.13.1
pull_policy: "IfNotPresent"
local_registry:
# NOTE(portdirect): this tiller chart does not support image pulling

File diff suppressed because one or more lines are too long

View File

@ -156,7 +156,7 @@ class ReleaseServiceServicer(object):
raise NotImplementedError('Method not implemented!')
def GetHistory(self, request, context):
"""ReleaseHistory retrieves a releasse's history.
"""ReleaseHistory retrieves a release's history.
"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
HELM_BRANCH='release-2.12'
HELM_BRANCH='v2.13.1'
git clone https://github.com/helm/helm ./helm -b $HELM_BRANCH

View File

@ -17,7 +17,7 @@
set -x
HELM=$1
HELM_ARTIFACT_URL=${HELM_ARTIFACT_URL:-"https://storage.googleapis.com/kubernetes-helm/helm-v2.12.1-linux-amd64.tar.gz"}
HELM_ARTIFACT_URL=${HELM_ARTIFACT_URL:-"https://storage.googleapis.com/kubernetes-helm/helm-v2.13.1-linux-amd64.tar.gz"}
function install_helm_binary {

View File

@ -22,8 +22,7 @@ HELM=${1}
HELM_PIDFILE=${2}
SERVE_DIR=$(mktemp -d)
# TODO: Set this back to "master" when uplifting armada to helm 2.13.1.
HTK_STABLE_COMMIT=${HTK_COMMIT:-"d6996b8004db35acad7d51412b0b3216189e745f"}
HTK_STABLE_COMMIT=${HTK_COMMIT:-"200b5e902b3a176fbfbe669b6a10a254c9b50f5d"}
${HELM} init --client-only