diff --git a/config/crd/apiextensions.k8s.io/v1/base/backup.appuio.ch_prebackuppods.yaml b/config/crd/apiextensions.k8s.io/v1/base/backup.appuio.ch_prebackuppods.yaml index 504887370..c2837cd84 100644 --- a/config/crd/apiextensions.k8s.io/v1/base/backup.appuio.ch_prebackuppods.yaml +++ b/config/crd/apiextensions.k8s.io/v1/base/backup.appuio.ch_prebackuppods.yaml @@ -8,7 +8,6 @@ metadata: creationTimestamp: null name: prebackuppods.backup.appuio.ch spec: - preserveUnknownFields: false group: backup.appuio.ch names: kind: PreBackupPod diff --git a/generate.go b/generate.go index 14add0f8d..bfda85998 100644 --- a/generate.go +++ b/generate.go @@ -19,7 +19,7 @@ import ( "os" ) -var patchFiles = []string{"v1beta1/base/backup.appuio.ch_prebackuppods.yaml", "v1/base/backup.appuio.ch_prebackuppods.yaml"} +var patchFiles = []string{"v1beta1/base/backup.appuio.ch_prebackuppods.yaml"} // controller-gen 0.3 creates CRDs with apiextensions.k8s.io/v1beta1, but some generated properties aren't valid for that version // in K8s 1.18+. We would have to switch to apiextensions.k8s.io/v1, but that would make the CRD incompatible with OpenShift 3.11.