This instance will be upgraded to Heptapod 0.31.0rc on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

Commit cb6b8e08 authored by Thong Kuah's avatar Thong Kuah
Browse files

Use tiller directly for Auto DevOps

This saves a external network call to fetch a helm plugin. The cost is a
few lines of shell script
parent 3f1790380e07
...@@ -689,9 +689,6 @@ rollout 100%: ...@@ -689,9 +689,6 @@ rollout 100%:
helm version --client helm version --client
tiller -version tiller -version
helm init --client-only
helm plugin install https://github.com/adamreese/helm-local
curl -L -o /usr/bin/kubectl "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl" curl -L -o /usr/bin/kubectl "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl"
chmod +x /usr/bin/kubectl chmod +x /usr/bin/kubectl
kubectl version --client kubectl version --client
...@@ -800,9 +797,9 @@ rollout 100%: ...@@ -800,9 +797,9 @@ rollout 100%:
function initialize_tiller() { function initialize_tiller() {
echo "Checking Tiller..." echo "Checking Tiller..."
helm local start
helm local status
export HELM_HOST=":44134" export HELM_HOST=":44134"
tiller -listen ${HELM_HOST} -alsologtostderr &
echo "Tiller is listening on ${HELM_HOST}"
if ! helm version --debug; then if ! helm version --debug; then
echo "Failed to init Tiller." echo "Failed to init Tiller."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment