helm/pkg/action
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
..
testdata support writing multiple resources to the same file 2019-07-17 17:55:50 +02:00
action.go Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook 2019-08-09 14:25:15 -04:00
action_test.go ref(internal/experimental/registry): pkg refactor (#6205) 2019-08-12 15:17:18 -05:00
chart_export.go feat(cmd): use alt dest for chart export (#6193) 2019-08-09 11:47:43 -05:00
chart_list.go Helm 3: initial registry support (#5243) 2019-02-06 18:32:56 -06:00
chart_pull.go feat(cmd): put OCI commands behind a feature gate 2019-08-08 15:25:17 -07:00
chart_push.go feat(cmd): put OCI commands behind a feature gate 2019-08-08 15:25:17 -07:00
chart_remove.go feat(cmd): put OCI commands behind a feature gate 2019-08-08 15:25:17 -07:00
chart_save.go feat(cmd): put OCI commands behind a feature gate 2019-08-08 15:25:17 -07:00
chart_save_test.go chore(registry): upgrade to oras v0.7.0 (#6285) 2019-08-26 11:29:01 -05:00
dependency.go ref(pkg/action): refactoring dup code and linter fixes 2019-03-26 11:11:27 -07:00
doc.go feat: add 'pkg/action' for list operations (#5077) 2019-01-07 17:45:14 -07:00
get.go Applied check to actions 2019-08-27 04:16:02 +05:30
get_values.go Replaced ghodss/yaml with sigs.k8s.io/yaml 2019-07-12 16:52:15 +02:00
history.go Applied check to actions 2019-08-27 04:16:02 +05:30
hooks.go fix(action): return an error if len > 0 2019-08-13 12:10:31 -07:00
install.go fix: clear the discovery cache after CRDs are installed (#6332) 2019-09-04 08:32:24 -06:00
install_test.go Merge branch 'dev-v3' of https://github.com/helm/helm into test-as-hook 2019-08-06 14:01:00 -04:00
lint.go Fix Adding Errors from Linter.Messages to result.Errors 2019-08-20 04:22:17 +05:30
lint_test.go Fix Adding Errors from Linter.Messages to result.Errors 2019-08-20 04:22:17 +05:30
list.go Applied check to actions 2019-08-27 04:16:02 +05:30
list_test.go fix test cases for list.AllNamespaces 2019-04-05 00:10:15 +02:00
output.go Merge pull request #6011 from thomastaylor312/feat/atomic 2019-07-18 10:14:21 -06:00
package.go feat(cmd/helm): remove need for helm init command 2019-08-22 23:31:50 -07:00
package_test.go feat(*): use vanity import helm.sh/helm 2019-03-13 13:43:47 -07:00
printer.go ref(*): remove dead code 2019-08-19 10:22:27 -07:00
pull.go ref(cmd/helm): remove init command 2019-08-26 10:21:52 -07:00
registry_login.go chore(registry): upgrade to oras v0.7.0 (#6285) 2019-08-26 11:29:01 -05:00
registry_logout.go Helm 3: registry login/logout (#5597) 2019-05-06 16:15:34 -05:00
release_testing.go ref(test): join all hook manifests before building 2019-08-13 16:04:08 -07:00
resource_policy.go ref(pkg/kube): cleanup kube client interface 2019-05-15 12:31:47 -07:00
rollback.go Applied check to actions 2019-08-27 04:16:02 +05:30
show.go Replaced ghodss/yaml with sigs.k8s.io/yaml 2019-07-12 16:52:15 +02:00
show_test.go ref(pkg/action): refactoring dup code and linter fixes 2019-03-26 11:11:27 -07:00
status.go Applied check to actions 2019-08-27 04:16:02 +05:30
uninstall.go Applied check to actions 2019-08-27 04:16:02 +05:30
upgrade.go ref(*): remove dead code 2019-08-19 10:22:27 -07:00
upgrade_test.go cmd/*,pkg/*: move ValueOptions to cmd package and decouple from SDK 2019-08-01 11:04:36 -04:00
verify.go feat(*): use vanity import helm.sh/helm 2019-03-13 13:43:47 -07:00