Skip to content

Commit

Permalink
Merge pull request #1 from erikwilson/helm-airgap
Browse files Browse the repository at this point in the history
Support installs from kubernetes api server
  • Loading branch information
ibuildthecloud authored Mar 19, 2019
2 parents d9517ca + b32f1ce commit 2a1df15
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion entry
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/bin/bash
set -e -x

set -e -v
eval set -- $(sed -e "s/%{KUBERNETES_API}%/${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT}/g" <<< "${@@Q}")
set +v -x

cp /var/run/secrets/kubernetes.io/serviceaccount/ca.crt /usr/local/share/ca-certificates/
update-ca-certificates

tiller --listen=127.0.0.1:44134 --storage=secret &
export HELM_HOST=127.0.0.1:44134
Expand Down

0 comments on commit 2a1df15

Please sign in to comment.