You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/05/16 08:02:07 UTC
[camel-k] 03/07: chore(api): not required build strategy
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 1fd3723fd1cff3375e17c95f3a4eebc67d0951b6
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon May 8 16:54:40 2023 +0200
chore(api): not required build strategy
---
config/crd/bases/camel.apache.org_integrationplatforms.yaml | 4 ----
helm/camel-k/crds/crd-integration-platform.yaml | 4 ----
pkg/apis/camel/v1/common_types.go | 2 +-
3 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/config/crd/bases/camel.apache.org_integrationplatforms.yaml b/config/crd/bases/camel.apache.org_integrationplatforms.yaml
index d2bf63d43..44c7d72c2 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 d2bf63d43..44c7d72c2 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 866056e17..9a3b90781 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.