Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-5621

breaking change in helm 3.5.2: validation: chart.metadata.version "master" is invalid

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      1
    • Backlog:
      yes
    • Days in progress:
      0

      Description

      helm version 3.5.2 introduced a "breaking change" (intentional in fact) that leads to:

      # helm version
      version.BuildInfo{Version:"v3.5.2", GitCommit:"167aac70832d3a384f65f9745335e9fb40169dc2", GitTreeState:"dirty", GoVersion:"go1.15.7"}
      # helm repo add mender https://charts.mender.io
      index.go:339: skipping loading invalid entry for chart "mender" "master" from https://charts.mender.io: validation: chart.metadata.version "master" is invalid
      

      the 3.5.1 works:

      # helm version
      version.BuildInfo{Version:"v3.5.1", GitCommit:"32c22239423b3b4ba6706d450bd044baffdcf9e6", GitTreeState:"clean", GoVersion:"go1.15.7"}
      # helm repo add mender https://charts.mender.io
      "mender" has been added to your repositories
      

        Attachments

          Activity

            People

            Assignee:
            tranchitella Fabio Tranchitella
            Reporter:
            merlin Peter Grzybowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support