1
0
Fork 0
hscloud/cluster/tools/kartongips/pkg/kubecfg
q3k 6579e842b0 kartongips: paper over^W^Wfix CRD updates
Ceph CRD updates would fail with:

  ERROR Error updating customresourcedefinitions cephclusters.ceph.rook.io: expected kind, but got map

This wasn't just https://github.com/bitnami/kubecfg/issues/259 . We pull
in the 'solution' from Pulumi
(https://github.com/pulumi/pulumi-kubernetes/pull/622) which just
retries the update via a JSON update instead, and that seems to have
worked.

We also add some better error return wrapping, which I used to debug
this issue properly.

Oof.

Change-Id: I2007a7857e44128d74760174b61b59efa58e9cbc
2021-09-11 20:54:34 +00:00
..
BUILD.bazel cluster/tools/kartongips: init 2020-11-12 00:39:34 +01:00
delete.go cluster/tools/kartongips: init 2020-11-12 00:39:34 +01:00
diff.go kartongips: switch default diff behaviour to subset, nag users 2021-09-11 12:43:50 +00:00
diff_test.go cluster/tools/kartongips: init 2020-11-12 00:39:34 +01:00
show.go cluster/tools/kartongips: init 2020-11-12 00:39:34 +01:00
update.go kartongips: paper over^W^Wfix CRD updates 2021-09-11 20:54:34 +00:00
update_test.go cluster/tools/kartongips: skip tests broken by fork 2020-11-12 00:45:15 +01:00
validate.go cluster/tools/kartongips: init 2020-11-12 00:39:34 +01:00