Remove deprecated preserveUnknownFields from CRDs (#4135)

This commit is contained in:
Alex Hatzenbuhler
2025-07-24 01:47:34 -05:00
committed by GitHub
parent fb43abf1f3
commit a07dce28bb
19 changed files with 16898 additions and 16117 deletions

View File

@@ -117,9 +117,6 @@ manifests: manifests-gen-crds chart-crds
manifests-gen-crds: controller-gen yq
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
for YAMLFILE in config/crd/bases/actions*.yaml; do \
$(YQ) '.spec.preserveUnknownFields = false' --inplace "$$YAMLFILE" ; \
done
make manifests-gen-crds-fix DELETE_KEY=x-kubernetes-list-type
make manifests-gen-crds-fix DELETE_KEY=x-kubernetes-list-map-keys