Anything you do to Helm twice should be automated. This walks the path from a manual install to a repeatable, pipeline-driven setup.
1. Install it reproducibly
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
helm version
helm create mychart # scaffold a new chart2. Describe the desired state
A templated Deployment snippet plus its values.yaml.
# templates/deployment.yaml
spec:
replicas: {{ .Values.replicaCount }}
template:
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repo }}:{{ .Values.image.tag }}"
---
# values.yaml
replicaCount: 3
image:
repo: ghcr.io/acme/web
tag: "1.0"3. Run it from CI
Lint and template charts in CI before they ever reach a cluster.
- run: helm lint ./mychart
- run: helm template web ./mychart -f values.prod.yaml | kubeconform -strictWant senior help putting Helm to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.