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
This commit is contained in:
parent
f71c497f5d
commit
2062560ef9
1 changed files with 2 additions and 5 deletions
|
@ -689,9 +689,6 @@ rollout 100%:
|
|||
helm version --client
|
||||
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"
|
||||
chmod +x /usr/bin/kubectl
|
||||
kubectl version --client
|
||||
|
@ -800,9 +797,9 @@ rollout 100%:
|
|||
function initialize_tiller() {
|
||||
echo "Checking Tiller..."
|
||||
|
||||
helm local start
|
||||
helm local status
|
||||
export HELM_HOST=":44134"
|
||||
tiller -listen ${HELM_HOST} -alsologtostderr &
|
||||
echo "Tiller is listening on ${HELM_HOST}"
|
||||
|
||||
if ! helm version --debug; then
|
||||
echo "Failed to init Tiller."
|
||||
|
|
Loading…
Reference in a new issue