spec.preserveUnknownFields has been deprecated in favor of x-kubernetes-preserve-unknown-fields: true in the CRD v1
What steps did you take and what happened:
According to https://argo-cd.readthedocs.io/en/stable/operator-manual/upgrading/2.14-3.0/#removing-default-ignores-of-preserveunknownfields-for-crd:
The
spec.preserveUnknownFieldshas been deprecated in favor ofx-kubernetes-preserve-unknown-fields: truein the CRD v1.
What did you expect to happen:
No diff in argoCD (i.e. no usage of field that is dropped by api).
- removal of https://github.com/open-policy-agent/gatekeeper/blob/e5de78bf7bf9d736562e283bac66d3dc15a207dc/config/crd/patches/preserve_unknown_fields_false.yaml#L1-L6
+kubebuilder:validation:XPreserveUnknownFieldsreplaced by+kubebuilder:pruning:PreserveUnknownFields(ref)
Anything else you would like to add:
Environment:
- Gatekeeper version:
- Kubernetes version: (use
kubectl version):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
not stale.
@sathieu @quercus-carsten (or anyone else) would you be interested in contributing this change?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.