diff --git a/config/crd/bases/camel.apache.org_integrationplatforms.yaml b/config/crd/bases/camel.apache.org_integrationplatforms.yaml index d2bf63d437..44c7d72c28 100644 --- a/config/crd/bases/camel.apache.org_integrationplatforms.yaml +++ b/config/crd/bases/camel.apache.org_integrationplatforms.yaml @@ -122,8 +122,6 @@ spec: - routine - pod type: string - required: - - strategy type: object maven: description: Maven configuration used to build the Camel/Camel-Quarkus @@ -1727,8 +1725,6 @@ spec: - routine - pod type: string - required: - - strategy type: object maven: description: Maven configuration used to build the Camel/Camel-Quarkus diff --git a/helm/camel-k/crds/crd-integration-platform.yaml b/helm/camel-k/crds/crd-integration-platform.yaml index d2bf63d437..44c7d72c28 100644 --- a/helm/camel-k/crds/crd-integration-platform.yaml +++ b/helm/camel-k/crds/crd-integration-platform.yaml @@ -122,8 +122,6 @@ spec: - routine - pod type: string - required: - - strategy type: object maven: description: Maven configuration used to build the Camel/Camel-Quarkus @@ -1727,8 +1725,6 @@ spec: - routine - pod type: string - required: - - strategy type: object maven: description: Maven configuration used to build the Camel/Camel-Quarkus diff --git a/pkg/apis/camel/v1/common_types.go b/pkg/apis/camel/v1/common_types.go index 866056e177..9a3b90781a 100644 --- a/pkg/apis/camel/v1/common_types.go +++ b/pkg/apis/camel/v1/common_types.go @@ -38,7 +38,7 @@ const ( // BuildConfiguration represent the configuration required to build the runtime type BuildConfiguration struct { // the strategy to adopt - Strategy BuildStrategy `json:"strategy"` + Strategy BuildStrategy `property:"strategy" json:"strategy,omitempty"` // The minimum amount of CPU required. RequestCPU string `property:"request-cpu" json:"requestCPU,omitempty"` // The minimum amount of memory required.