Skip to content

helm chart should not default image tag to latest #48

@not22day

Description

@not22day

What happened?

The current Chart YAML looks like this

apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
name: stackit-cert-manager-webhook
version: 0.3.0

I understand Helm best practices would be

  1. appVersion becomes the software release version = the tag of the docker image
  2. version is the version of the helm chart enumerated and incremented by itself

image tag gets defaulted by appVersion
image: "{{ $registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"

How can we reproduce this?

Search

  • I did search for other open and closed issues before opening this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions