Skip to content

Helm chart version is not SemVer-compatible #2380

@alastairs

Description

@alastairs

Describe the bug:
The chart version field on the cert-manager Helm chart is not semver-compatible as it includes a leading v (e.g. v0.12.0-beta.1). As a result, cert-manager is not listed in Helm clients which enforce SemVer, such as Octopus Deploy. (See also OctopusDeploy/Issues#5220).

Expected behaviour:
I expected the cert-manager chart to be listed in Octopus Deploy after I added the jetstack feed to our server, but only jetstack/tor-proxy is listed. The jetstack/tor-proxy chart does have a valid SemVer chart version.

Steps to reproduce the bug:
N/A

Anything else we need to know?:
Octopus' support team responded with:

Looking through your index.yaml file, it looks like the cert-manager package is versioned with a leading v (i.e. v0.12.0-beta.1). The issue is this isn't valid SemVer2, which we enforce even for helm charts. We understand this is an annoying limitation, and we have an open issue to support non SemVer2 versions which you can track here.
OctopusDeploy/Issues#5220

The SemVer spec states:

A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0.

Environment details::

  • Kubernetes version: v1.12.10-gke.17
  • Cloud-provider/provisioner: GKE
  • cert-manager version: v0.10.1
  • Install method: Helm

As we're currently stuck on cert-manager v0.10 because of the breaking changes in v0.11, please could the fix be back-ported to these earlier releases?

/kind bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions