Files
velero/changelogs
JenTing Hsiao b19097f825 Pruning unknown fields (#2187)
* Pruning unknown fields

In CRD apiversion v1beta1, default preserveUnknownFields=true.

In CRD apiversion v1, the preserveUnknownFields can only be false.
Otherwise, the k8s validation bumps out error message for the
invalid preserveUnknownFields value.

Deploy Velero on k8s 1.16+ with CRD apiversion v1beta1, the
k8s cluster converts apiversion from v1beta1 to v1 automatically.

Fully backup and restore the cluster, restore bumps out error message
due to the preserveUnknownFields=true is not allowed on k8s 1.16+.

Since the CRD structural schema had been defined, enable the preserveUnknownFields
to false to solves the restore bumps out error message on k8s 1.16+.

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>

* Add changelog

Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
2020-01-28 14:04:28 -05:00
..
2020-01-28 14:04:28 -05:00
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2018-11-16 16:00:35 -05:00
2019-02-04 17:35:22 -05:00
2019-02-27 08:23:21 -08:00
2019-05-15 09:45:19 -07:00
2019-05-19 13:42:16 -06:00
2019-08-21 15:01:10 -06:00
2019-11-07 08:20:22 -07:00