* 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> |
||
---|---|---|
.. | ||
clientset/versioned | ||
crds | ||
informers/externalversions | ||
listers/velero/v1 |