Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-31493

helm upgrade does not work, because repo path does not follow helm standards

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Kubernetes Operator

    Description

      the helm repo for flink-operator is a folder that includes the version, which is not following the helm chart repo standards.

      In a standard helm repo, the repo URL is the name of the product (without version) and then the folder includes the different versions of the chart.

      This is an issue because the repo itself needs to be installed every time the version is upgraded, as opposed to adding the repo once and then upgrading the version.

      When attempting to add the latest repo, helm will complain that the repo already exists. It is necessary to first remove the repo, and then add the updated one.

      When trying to upgrade the chart, it doesn't work, because helm expects the chart of the previous version to be in the same repo, but it cannot be found in the newly added repo.

      So the chart needs to be uninstalled, then the new one installed.

      The solution is to use a common path for all versions of the chart, and maintain a manifest with the various versions (instead of different folders with different manifests)

      Attachments

        Activity

          People

            Unassigned Unassigned
            eleroy Emmanuel Leroy
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: