Skip to content

Helm upgrade should not install pre-release version by default #2270

Closed

Description

@sstarcher

If semver is followed and a user uses pre-released versions they can be installed over the stable version.

If a user has the following versions and 0.0.5 is currently installed. A helm upgrade will install 0.1.1-alpha when I believe most users would prefer 0.1.0 to be installed. Possibly an additional flag to allow pre-released charts to be an upgrade path.

  • 0.1.1-alpha
  • 0.1.0
  • 0.0.5

Activity

  1. technosophos commented on Apr 13, 2017

    @technosophos
    Member

    I agree that we should (by default) favor stable charts.

    Just so I'm clear -- this is when you're doing something like helm install stable/foo, right?

  2. sstarcher commented on Apr 13, 2017

    @sstarcher
    ContributorAuthor

    I'm working with private charts. So in my case helm install repo/foo and foo can have tons of versions including versions that were built from pull/merge requests. Those pull/merge request features will have a VERSION-something and preferably would not be installed/upgraded to unless specifically requested.

  3. added this to the 2.5.0 - Features milestone on Apr 13, 2017
  4. technosophos commented on Apr 13, 2017

    @technosophos
    Member

    Okay. I can't decide whether this is a feature request or a bug.

  5. chrislovecnm commented on Apr 13, 2017

    @chrislovecnm

    May we please list this as a bug :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions