Skip to content

Image Tag Validation #1692

@utieyin

Description

@utieyin

What happened?

This is a feature of the chart
Currently the chart expects all images to have a v prefix. In our case, we do not tag images with a prefix, just the version number 25.1.4 etc. This obviously breaks our deployment without a patch.

What did you expect to happen?

Either make the v-prefix optional when tag is not empty, add a key for a full image path or a digest key that can be used to compute the full image path.

How can we reproduce it (as minimally and precisely as possible)?. Please include values file.

Details
$ helm install redpanda redpanda/redpanda --set image.tag=25.1.4 --dry-run=client
Error: INSTALLATION FAILED: execution error at (redpanda/templates/_helpers.tpl:64:10): image.tag must start with a 'v' and be a valid semver

Anything else we need to know?

I can create a PR if this suggestion sounds good

Which are the affected charts?

Redpanda

Chart Version(s)

Details
$ helm -n <redpanda-release-namespace> list 
# paste output here

Cloud provider

Details

JIRA Link: K8S-657

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions