[go: up one dir, main page]

Skip to content

Upgrade Auto DevOps to Helm 3

Release Post candidate

Auto DevOps want to bring outstanding ease-of-use and security best practices out of the box to its users. Until now Auto DevOps in Kubernetes environments required Helm v2 to be installed on the cluster, and this involved a security risk given Tiller's root access rights. With the introduction of Helm v3, Tiller is no longer a requirement.

The current GitLab version finally supports Helm v3. You can upgrade your Helm installation in the case of a GitLab Managed Cluster following our documentation. Note that Helm 2 support is expected to end around November 2020.

Problem to solve

Auto DevOps currently makes use of Helm 2. Helm 2 support will end in 12 months (around Nov 13, 2020)

Also, Tiller will be removed as part of Helm V3.0.0 to provide a way to simply fetch information from the Kubernetes API server, render the Charts client-side, and store a record of the installation in Kubernetes.

Intended users

Further details

Proposal

Migrate Auto DevOps to use Helm 3

  1. Migrate to Tillerless
  2. Update Chart.yaml to be Helm 3 compatible (apiVersion: v2) - see gitlab-org/charts/auto-deploy-app#44 (moved): Edit: this would be a breaking change for Helm 2 users, so we need to keep it as-is for now.
  3. Remove local tiller and use Helm 3 binary
  4. Migrate and cleanup Helm v2 configuration and releases to Helm v3 in-place.
  5. Cleanup Tiller deployment

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

Links / references

Out of scope

Edited by Hordur Freyr Yngvason