Skip to content

Qarik-Group/helm-tiller-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helm/Tiller Manager

DEPRECATED: This project works with Helm v2 and has no place in the Helm universe with the introduction of Tiller-less Helm v3. I am currently still using Helm v2/Tiller at the time of writing, and will also try to help merge any PRs that appear. The .versions file for Helm CLI will always be a Helm v2 version.

I found the multi-step instructions for deploying Tiller (the API server for Helm) were not going to be rememberable. Creating certificates, running the correct helm init command, etc. So this project includes a helm-manager up and helm-manager down command to do it all for us.

To generate certificates and install Tiller into your current Kubernetes context:

export PATH=$PATH:$PWD/bin
helm-manager up

The output might look like:

Creating certificates, if missing...
Generating RSA private key, 4096 bit long modulus
.................................................................................................................++
....................................................................................................................++
e is 65537 (0x10001)
Generating RSA private key, 4096 bit long modulus
.............................................++
............................................................++
e is 65537 (0x10001)
Signature ok
subject=/O=Tiller Server/CN=tiller-server
Getting CA Private Key
Installing helm into current Kuberenetes context...
serviceaccount/helm created
clusterrolebinding.rbac.authorization.k8s.io/helm created
Creating /Users/drnic/.helm
Creating /Users/drnic/.helm/repository
Creating /Users/drnic/.helm/repository/cache
Creating /Users/drnic/.helm/repository/local
Creating /Users/drnic/.helm/plugins
Creating /Users/drnic/.helm/starters
Creating /Users/drnic/.helm/cache/archive
Creating /Users/drnic/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Adding local repo with URL: http://127.0.0.1:8879/charts
$HELM_HOME has been configured at /Users/drnic/.helm.

Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.
Happy Helming!
Installing helm client certificates...
Waiting for Tiller to start...
  Running

Tiller is ready, testing connection and certificates:
working

Tear down

To tear down Tiller and local Helm files:

export PATH=$PATH:$PWD/bin
helm-manager down

The output will look similar to:

deployment.extensions "tiller-deploy" deleted
service "tiller-deploy" deleted
secret "tiller-secret" deleted
serviceaccount "helm" deleted
clusterrolebinding.rbac.authorization.k8s.io "helm" deleted

To cleanup/regenerate the certificates:

helm-manager clean

About

Deploy a secure Tiller

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages