CRD schema do not must preserving unknown fields (#188)

This commit is contained in:
Dario Tranchitella
2021-01-15 09:44:04 +01:00
committed by GitHub
parent 24bd363ee0
commit d3f3f93a24
4 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
# Image URL to use all building/pushing image targets
IMG ?= quay.io/clastix/capsule:$(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))
+1 -1
View File
@@ -21,7 +21,7 @@ sources:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.0.8
version: 0.0.9
# This is the version number of the application being deployed.
# This version number should be incremented each time you make changes to the application.
+1
View File
@@ -39,6 +39,7 @@ spec:
shortNames:
- tnt
singular: tenant
preserveUnknownFields: false
scope: Cluster
subresources:
status: {}
@@ -41,6 +41,7 @@ spec:
shortNames:
- tnt
singular: tenant
preserveUnknownFields: false
scope: Cluster
subresources:
status: {}