Interview Prep/Helm/Helm 3 Architecture & Release Storage

What permissions does a CI service account need to run `helm upgrade --install`?

AdvancedConceptHelm 3 Architecture & Release Storage
Answer

Exactly what the rendered manifests need, plus access to the release storage:

  • get, list, create, update, patch, delete on Secrets in the namespace (release records).
  • The same verbs on every kind the chart creates (Deployments, Services, Jobs, ConfigMaps, Ingresses, HPAs...).
  • watch and list on Pods, ReplicaSets and Jobs if you use --wait.
  • Cluster-scoped kinds (ClusterRole, CRD) only if the chart contains them.

A namespaced Role plus RoleBinding is usually enough for application charts, which is far tighter than Helm 2's cluster-admin Tiller.

All Helm questions Roadmap: Helm

More on Helm 3 Architecture & Release Storage