Emmanuel Leroy created FLINK-31493:
--------------------------------------

             Summary: helm upgrade does not work, because repo path does not 
follow helm standards
                 Key: FLINK-31493
                 URL: https://issues.apache.org/jira/browse/FLINK-31493
             Project: Flink
          Issue Type: Bug
          Components: Kubernetes Operator
            Reporter: Emmanuel Leroy


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)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to