Parameterizing the Container Image
Wiring image repository and tag to values.
Why Parameterize the Image
A hard-coded image locks every user to one version. Wiring the image to values lets people pick the repository and tag they need.
Split Repository and Tag
By convention charts store the image as two fields: a repository and a tag. Keeping them separate makes version bumps clean.
# values.yaml
image:
repository: nginx
tag: "1.27"All lessons in this course
- A Minimal Deployment Template
- Parameterizing the Container Image
- Adding a Service Template
- Installing and Iterating Your Chart