helm/pkg
Matt Butcher 0f332b67f1
fix: clear the discovery cache after CRDs are installed (#6332)
* fix: clear the discovery cache after CRDs are installed

This fixes an issue in which a chart could not contain both a CRD and an instance of that CRD. It works around a stale cache by force cache invalidation whenever a CRD is added.

Closes #6316

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* fix: wait for CRD to register before allowing CRDs to be installed

This fixes an issue with the previous version of this patch in which the CRD would not be available quickly enough.

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* feat: use Wait() to wait for CRDs to be ready

This forward-ports the CRD wait logic to Helm 3, and then uses that to wait for CRDs to be registered.

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* ref: moved the scheme modification to an appropriate place.

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>

* fix: turned warnings into fatal errors, fixed spelling, clear cache once

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
2019-09-04 08:32:24 -06:00
..
action fix: clear the discovery cache after CRDs are installed (#6332) 2019-09-04 08:32:24 -06:00
chart Merge pull request #6243 from technosophos/feat/5871-crds-directory 2019-08-20 11:38:28 -04:00
chartutil ref(cmd/helm): remove init command 2019-08-26 10:21:52 -07:00
cli Distinct doc strings for repository-cache and repository-config 2019-09-02 09:19:29 +12:00
downloader fix(cmd/helm): user friendly error message when repos are not configured 2019-08-28 14:13:49 -07:00
engine ref(pkg/engine): cleanup of development hack 2019-09-03 15:31:58 -07:00
gates feat(cmd): use alt dest for chart export (#6193) 2019-08-09 11:47:43 -05:00
getter ref(cmd/helm): remove init command 2019-08-26 10:21:52 -07:00
helmpath ref(cmd/helm): remove init command 2019-08-26 10:21:52 -07:00
kube fix: clear the discovery cache after CRDs are installed (#6332) 2019-09-04 08:32:24 -06:00
lint Fix Adding Errors from Linter.Messages to result.Errors 2019-08-20 04:22:17 +05:30
plugin ref(cmd/helm): remove init command 2019-08-26 10:21:52 -07:00
provenance Replaced ghodss/yaml with sigs.k8s.io/yaml 2019-07-12 16:52:15 +02:00
release ref(*): remove dead code 2019-08-19 10:22:27 -07:00
releaseutil doc(hooks): note helm 2 test annotation support requirement 2019-07-31 15:33:56 -04:00
repo fix(cmd/helm): user friendly error message when repos are not configured 2019-08-28 14:13:49 -07:00
storage ref(*): remove dead code 2019-08-19 10:22:27 -07:00
strvals Replaced ghodss/yaml with sigs.k8s.io/yaml 2019-07-12 16:52:15 +02:00