From 85c627184387f7c44f49bc4e9bd9d626fcbb9618 Mon Sep 17 00:00:00 2001 From: Maxime Vidori Date: Wed, 15 Sep 2021 12:49:33 +0200 Subject: [PATCH] Add preserveUnknownFields to false --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e06827e..3734868 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL) # Image URL to use all building/pushing image targets IMG ?= chrislusf/seaweedfs-operator:$(VERSION) # Produce CRDs that work back to Kubernetes 1.11 (no version conversion) -CRD_OPTIONS ?= "crd:trivialVersions=true" +CRD_OPTIONS ?= "crd:trivialVersions=true,preserveUnknownFields=false" # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) ifeq (,$(shell go env GOBIN))