This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
[stable/several] CI/CD failing if dependencies updated using Helm 3 #20809
Comments
This was referenced Feb 17, 2020
/assign @mattfarina @unguiculus @cpanato |
This was referenced Feb 18, 2020
For the record: CI uses https://github.com/helm/charts/blob/master/test/e2e.sh. Indeed, CI still uses Helm 2. This will not change. See https://github.com/helm/charts#deprecation-timeline |
Hi @unguiculus
Could you please elaborate the reasons for this? Do you refer to this?
|
This was referenced Feb 20, 2020
Closing this issue as we moved all the Bitnami maintained charts to the bitnami repo (#20969) and this issue is not going to happen again as there wouldn't be new releases. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
There are some PRs failing in the CI/CD tests with the following error:
for example this one: #20798
This PR is updating the images, the chart version, app version, etc. We did this kind of PRs automatically for a long time without any issue. In the past week, we update our internal pipeline to use Helm 3 instead of Helm 2 (as recommended).
Since this version bump, we are receiving the above error by the CI/CD in those charts with dependencies.
The issue is that the generated
digest
orgenerated
in the requirements.lock is not the same if you runhelm dep update
with Helm 3 and Helm 2:Helm 2
Helm 3
As you can see, the
digest
(andgenerated
) are different without other changes apart from the Helm version.In the mentioned PR, changes in the requirements.lock are just the autogenerated ones due to run
helm dep update
using Helm 3: https://github.com/helm/charts/pull/20798/files#diff-d52af004c1d687e2a87224fb352d5e99It seems this issue is already reported and fixed in Helm 3 but there is no backward compatibility, so AFAIK Helm 2 is not able to recognize requirements.lock built using Helm 3:
helm/helm#4011
helm/helm#2731
In this case, as the CI/CD system is using Helm 2 all the PRs with dependencies updated with Helm 3 are going to fail:
readonly HELM_TARBALL=helm-v2.9.1-linux-amd64.tar.gz
Which chart:
All of the charts with dependencies
The text was updated successfully, but these errors were encountered: