Skip to content

Commit

Permalink
chore(api): not required build strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed May 9, 2023
1 parent ed8af8f commit 22482d8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions config/crd/bases/camel.apache.org_integrationplatforms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ spec:
- routine
- pod
type: string
required:
- strategy
type: object
maven:
description: Maven configuration used to build the Camel/Camel-Quarkus
Expand Down Expand Up @@ -1727,8 +1725,6 @@ spec:
- routine
- pod
type: string
required:
- strategy
type: object
maven:
description: Maven configuration used to build the Camel/Camel-Quarkus
Expand Down
4 changes: 0 additions & 4 deletions helm/camel-k/crds/crd-integration-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ spec:
- routine
- pod
type: string
required:
- strategy
type: object
maven:
description: Maven configuration used to build the Camel/Camel-Quarkus
Expand Down Expand Up @@ -1727,8 +1725,6 @@ spec:
- routine
- pod
type: string
required:
- strategy
type: object
maven:
description: Maven configuration used to build the Camel/Camel-Quarkus
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/camel/v1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 22482d8

Please sign in to comment.