helm/internal
Martin Hickey 5ec70ab27f
fix(chart): lock digest differs when dependency build with Helm 2 and then Helm 3 (#7261)
* Fix issue with apiVersion v1 lock digest

When apiVersion v1 chart dependencies are built with Helm 2
and then built with Helm 3, the lock digests differ. To avoid
this issue, a depdendency update is forced.

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>

* Check against Helm v2 hash

Handle scenario where dependency hash was generated by Helm v2
but need to do a dependency build with Helm v3.

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>

* Add unit test

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>

* Refactor unit test

Refactor unit test to use an existing chart as dependency

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>

* Update after review

Comments:
- https://github.com/helm/helm/pull/7261#discussion_r373827088
- https://github.com/helm/helm/pull/7261#discussion_r373827250

Signed-off-by: Martin Hickey <martin.hickey@ie.ibm.com>
2020-02-05 09:38:30 +01:00
..
completion feat(comp): Isolate go completion framework better 2020-01-15 19:30:04 -05:00
experimental/registry ref(go.mod): oras v0.8.1 (#6862) 2020-02-04 13:54:13 -06:00
ignore Spelling (#7258) 2019-12-18 12:04:08 +00:00
monocular Fix a typo "the the" -> "the" 2019-12-31 13:52:19 +08:00
resolver fix(chart): lock digest differs when dependency build with Helm 2 and then Helm 3 (#7261) 2020-02-05 09:38:30 +01:00
sympath fix(loader): error out when loading irregular files 2019-10-29 10:01:26 -07:00
test Updating the module for v3 as the major version 2019-10-03 14:27:05 -04:00
third_party Remove duplicated words (#7336) 2020-01-06 15:54:47 +00:00
tlsutil Merge pull request #6914 from bacongobbler/remove-serverconfig 2019-11-25 10:36:21 -08:00
urlutil ref(*): Moves packages to internal 2019-08-09 16:02:33 -06:00
version fix(version): lift "unreleased" status 2019-10-29 13:52:48 -07:00