Skip to content

CICD-163 · Use an immutable image in values ​

Encyclopedia · Helm release engineering · All snippets

Previous · CICD-162 · Next · CICD-164

1. Where it fits ​

  • Placement helm/web/values.yaml, then update the matching template.
  • Prerequisites Helm 3, reviewed values and staging cluster when applying charts.
  • Platforms kubernetes, local-lab.

2. Copy the snippet ​

yaml
image:
  repository: registry.example.com/platform/web
  digest: sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc

3. How it works ​

The image reference identifies the candidate for the selected runtime. A digest fixes its content independently of tag updates.

4. Verify the result ​

Replace the illustrative digest. Template should join repository@digest and reject missing digest.

Validation syntax-validated (YAML parse). Status definitions.