conjure-up / spells

conjure-up spells registry
79 stars 37 forks source link

Fix helm #180

Closed Cynerva closed 6 years ago

Cynerva commented 6 years ago

Fixing two issues:


Helm addon fails when the user does not have a ~/bin folder

mv: cannot move '/tmp/tmp.5gLDeDUCrA/linux-amd64/helm' to '/home/gkk/bin/.helm': No such file or directory

Fixed this by adding mkdir -p "$HOME/bin" to install_helm.


Helm addon fails during helm init --upgrade

+ helm init --upgrade
Error: error installing: Post http://localhost:8080/apis/extensions/v1beta1/namespaces/kube-system/deployments: dial tcp 127.0.0.1:8080: getsockopt: connection refused

This occurs for two reasons:

  1. A helm wrapper is created that points to a non-existent kubeconfig
  2. The 01_install-helm step exports KUBECONFIG that points to a non-existent kubeconfig

Fixed this by removing the helm wrapper and the export.