Skip to content

Chart versions prefixed with v aren't compatible with Flux semver ranges  #1715

@RedbackThomson

Description

@RedbackThomson

Describe the bug
All of our controller charts are versioned, prefixed with a v before the semver. eg. public.ecr.aws/aws-controllers-k8s/ec2-chart:v1.0.1

The Flux Helm controller has support for Semver ranges:

The chart.spec.version can be a fixed semver, or any semver range (i.e. >=4.0.0 <5.0.0). It is ignored for HelmRelease resources that reference a GitRepository or Bucket source.

This support is not compatible with the v. Instead, the controller complains that it cannot find any images within that range.

Steps to reproduce
Create a Flux HelmRelease for one of the ACK OCI Helm charts, and use the chart.spec.version with a range (eg. >=1.0.0 <2.0.0).

Expected outcome
The controller should understand the chart versions and be able to use proper semver ranges and filtering.

Metadata

Metadata

Labels

priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.service/allIndicates issues or PRs related to all the service controllers.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions