Skip to content

Commit

Permalink
chore(api): refer to correct trait
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez authored and tadayosi committed Jul 22, 2022
1 parent f3ba7b1 commit b9ebaef
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 32 deletions.
12 changes: 6 additions & 6 deletions config/crd/bases/camel.apache.org_integrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ spec:
properties:
configuration:
description: 'Deprecated: Use camel trait (camel.properties) to manage
properties Use container trait (mount.configs) to manage configs
Use container trait (mount.resources) to manage resources Use container
trait (mount.volumes) to manage volumes'
properties Use mount trait (mount.configs) to manage configs Use
mount trait (mount.resources) to manage resources Use mount trait
(mount.volumes) to manage volumes'
items:
description: ConfigurationSpec represents a generic configuration
specification
Expand Down Expand Up @@ -167,9 +167,9 @@ spec:
type: string
type: array
resources:
description: 'Deprecated: Use container trait (container.resources)
to manage resources Use openapi trait (openapi.configmaps) to manage
OpenAPIs specifications'
description: 'Deprecated: Use mount trait (mount.resources) to manage
resources Use openapi trait (openapi.configmaps) to manage OpenAPIs
specifications'
items:
description: 'ResourceSpec represent an attached resource which
will be materialized as a file on the running `Pod` TODO: we should
Expand Down
12 changes: 6 additions & 6 deletions config/crd/bases/camel.apache.org_kameletbindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ spec:
properties:
configuration:
description: 'Deprecated: Use camel trait (camel.properties) to
manage properties Use container trait (mount.configs) to manage
configs Use container trait (mount.resources) to manage resources
Use container trait (mount.volumes) to manage volumes'
manage properties Use mount trait (mount.configs) to manage
configs Use mount trait (mount.resources) to manage resources
Use mount trait (mount.volumes) to manage volumes'
items:
description: ConfigurationSpec represents a generic configuration
specification
Expand Down Expand Up @@ -172,9 +172,9 @@ spec:
type: string
type: array
resources:
description: 'Deprecated: Use container trait (container.resources)
to manage resources Use openapi trait (openapi.configmaps) to
manage OpenAPIs specifications'
description: 'Deprecated: Use mount trait (mount.resources) to
manage resources Use openapi trait (openapi.configmaps) to manage
OpenAPIs specifications'
items:
description: 'ResourceSpec represent an attached resource which
will be materialized as a file on the running `Pod` TODO:
Expand Down
8 changes: 4 additions & 4 deletions docs/modules/ROOT/partials/apis/camel-k-crds.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@ a source in YAML DSL language which contain the routes to run
Deprecated:
Use container trait (container.resources) to manage resources
Use mount trait (mount.resources) to manage resources
Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications
|`integrationKit` +
Expand Down Expand Up @@ -2079,9 +2079,9 @@ Pod template customization
Deprecated:
Use camel trait (camel.properties) to manage properties
Use container trait (mount.configs) to manage configs
Use container trait (mount.resources) to manage resources
Use container trait (mount.volumes) to manage volumes
Use mount trait (mount.configs) to manage configs
Use mount trait (mount.resources) to manage resources
Use mount trait (mount.volumes) to manage volumes
|`repositories` +
[]string
Expand Down
12 changes: 6 additions & 6 deletions helm/camel-k/crds/crd-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ spec:
properties:
configuration:
description: 'Deprecated: Use camel trait (camel.properties) to manage
properties Use container trait (mount.configs) to manage configs
Use container trait (mount.resources) to manage resources Use container
trait (mount.volumes) to manage volumes'
properties Use mount trait (mount.configs) to manage configs Use
mount trait (mount.resources) to manage resources Use mount trait
(mount.volumes) to manage volumes'
items:
description: ConfigurationSpec represents a generic configuration
specification
Expand Down Expand Up @@ -167,9 +167,9 @@ spec:
type: string
type: array
resources:
description: 'Deprecated: Use container trait (container.resources)
to manage resources Use openapi trait (openapi.configmaps) to manage
OpenAPIs specifications'
description: 'Deprecated: Use mount trait (mount.resources) to manage
resources Use openapi trait (openapi.configmaps) to manage OpenAPIs
specifications'
items:
description: 'ResourceSpec represent an attached resource which
will be materialized as a file on the running `Pod` TODO: we should
Expand Down
12 changes: 6 additions & 6 deletions helm/camel-k/crds/crd-kamelet-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ spec:
properties:
configuration:
description: 'Deprecated: Use camel trait (camel.properties) to
manage properties Use container trait (mount.configs) to manage
configs Use container trait (mount.resources) to manage resources
Use container trait (mount.volumes) to manage volumes'
manage properties Use mount trait (mount.configs) to manage
configs Use mount trait (mount.resources) to manage resources
Use mount trait (mount.volumes) to manage volumes'
items:
description: ConfigurationSpec represents a generic configuration
specification
Expand Down Expand Up @@ -172,9 +172,9 @@ spec:
type: string
type: array
resources:
description: 'Deprecated: Use container trait (container.resources)
to manage resources Use openapi trait (openapi.configmaps) to
manage OpenAPIs specifications'
description: 'Deprecated: Use mount trait (mount.resources) to
manage resources Use openapi trait (openapi.configmaps) to manage
OpenAPIs specifications'
items:
description: 'ResourceSpec represent an attached resource which
will be materialized as a file on the running `Pod` TODO:
Expand Down
8 changes: 4 additions & 4 deletions pkg/apis/camel/v1/integration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type IntegrationSpec struct {
// a source in YAML DSL language which contain the routes to run
Flows []Flow `json:"flows,omitempty"`
// Deprecated:
// Use container trait (container.resources) to manage resources
// Use mount trait (mount.resources) to manage resources
// Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications
Resources []ResourceSpec `json:"resources,omitempty"`
// the reference of the `IntegrationKit` which is used for this Integration
Expand All @@ -73,9 +73,9 @@ type IntegrationSpec struct {
PodTemplate *PodSpecTemplate `json:"template,omitempty"`
// Deprecated:
// Use camel trait (camel.properties) to manage properties
// Use container trait (mount.configs) to manage configs
// Use container trait (mount.resources) to manage resources
// Use container trait (mount.volumes) to manage volumes
// Use mount trait (mount.configs) to manage configs
// Use mount trait (mount.resources) to manage resources
// Use mount trait (mount.volumes) to manage volumes
Configuration []ConfigurationSpec `json:"configuration,omitempty"`
// additional Maven repositories to be used
Repositories []string `json:"repositories,omitempty"`
Expand Down

0 comments on commit b9ebaef

Please sign in to comment.