It looks like it is not so hard to have Tillerless Helm. So let me go to more details.
Parst of the Kubernetes series
- Part1a: Install K8S with ansible
- Part1b: Install K8S with kubeadm
- Part2: Install Nginx ingress to K8S
- Part3: Install cert-manager to K8S
- Part4: Intall metal-lb with K8S
- Part5a: Use ceph persisten volume with K8S
- Part5b: Use ceph CSI persisten volume with K8S
- Part6: Use Helm with K8S
- Part7: Tillerless helm2 install
- Part8: Kubernetes Dashboard SSO
- Part9: Kuberos for K8S
- Part10: Gangwayl for K8S
- Part11: Velero Backup for K8S
Since Helm v2, helm got a server part called The Tiller Server which is interacts with the helm client, and the Kubernetes API server. By default helm init installs a Tiller deployment to Kubernetes clusters and communicates via gRPC.
The community voted that Helm v3 should be Tillerless. If we can run tiller localli we can achieve the same goal.
There is a helm plugin for this same purpose.
$ helm plugin install https://github.com/rimusz/helm-tiller Installed plugin: tiller
Use this plugin locally
helm tiller start
It will start the tiller locally and kube-system namespace will be used to store helm releases but you can change the name of the namespace if you want:
helm tiller start my-team-namespace # stop tiller helm tiller stop
How to use this plugin in CI/CD pipelines
helm tiller start-ci export HELM_HOST=localhost:44134
Then your helm will know where to connect to Tiller and you do not need to make any changes in your CI pipelines.