Files
Yusuke Kuoka 0e7f3b6637 fix: upgrade with CRD changes
Probably since K8s 1.13.x, `converter.ConvertToVersion(info.Object, groupVersioner)` which is the body of `asVersioned` doesn't return an error or an "unstructured" object, but `apiextensions/v1beta1.CustomResourceDefinition`.

The result was `helm upgrade` with any changes in CRD consistently failing.

This fixes that by adding an additional case of the conversion result being `v1beta1.CustomResourceDefinition`.

This is a backward-compatible change as it doesn't remove existing switch cases for older K8s versions.

Fixes #5853

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2019-07-30 09:08:04 -07:00
..
2019-07-10 17:36:14 +01:00
2019-04-19 19:03:31 -04:00
2019-04-18 10:52:06 +08:00
2019-07-30 09:08:04 -07:00
2019-02-26 07:41:50 -08:00
2019-02-01 06:33:59 -08:00
2019-05-09 10:16:16 -07:00