Description
Tiller is the Helm 2 server that manages resources using its service account. Helm 2 stopped receiving security updates in November 2020.
Potential impact
Unauthorized requests to a broadly privileged Tiller instance can change several workloads.
Remediation
Preserve release records and values, then migrate to a supported version of Helm that runs without Tiller. Confirm you can manage the migrated releases and that applications still work before removing the Tiller Deployment, Service, dedicated accounts and permission bindings.
Examples
The first excerpt uses the placeholder tiller-image. The Service and service account determine who can reach Tiller and what it can change.
Before
apiVersion: apps/v1
kind: Deployment
metadata:
name: tiller-deploy
labels:
app: helm
name: tiller
spec:
selector:
matchLabels:
app: helm
name: tiller
template:
metadata:
labels:
app: helm
name: tiller
spec:
containers:
- name: tiller-v2
image: tiller-image
After
apiVersion: v1
kind: Pod
metadata:
name: security-context-demo
spec:
containers:
- name: sec-ctx-demo
image: busybox
securityContext:
allowPrivilegeEscalation: false
The second Pod restricts privilege escalation. Deploying it leaves any existing Tiller installation in place.