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 8518f775c28fb8e984e0ab8e8a77ce21c071c678 Author: Pasquale Congiusti <[email protected]> AuthorDate: Tue Dec 7 17:47:48 2021 +0100 doc: autogen --- config/crd/bases/camel.apache.org_integrations.yaml | 7 +++++++ config/crd/bases/camel.apache.org_kameletbindings.yaml | 8 ++++++++ docs/modules/ROOT/partials/apis/crds-html.adoc | 16 ++++++++++++++++ docs/modules/traits/pages/openapi.adoc | 6 +++++- helm/camel-k/crds/crd-integration.yaml | 7 +++++++ helm/camel-k/crds/crd-kamelet-binding.yaml | 8 ++++++++ resources/traits.yaml | 9 ++++++++- 7 files changed, 59 insertions(+), 2 deletions(-) diff --git a/config/crd/bases/camel.apache.org_integrations.yaml b/config/crd/bases/camel.apache.org_integrations.yaml index efba2f6..0203f98 100644 --- a/config/crd/bases/camel.apache.org_integrations.yaml +++ b/config/crd/bases/camel.apache.org_integrations.yaml @@ -72,6 +72,10 @@ spec: description: IntegrationSpec defines the desired state of Integration properties: configuration: + description: 'Deprecated: Use camel trait (camel.properties) to manage + properties Use container trait (container.configs) to manage configs + Use container trait (container.resources) to manage resources Use + container trait (container.volumes) to manage volumes' items: description: ConfigurationSpec -- properties: @@ -175,6 +179,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' items: description: ResourceSpec -- properties: diff --git a/config/crd/bases/camel.apache.org_kameletbindings.yaml b/config/crd/bases/camel.apache.org_kameletbindings.yaml index 5da3ec1..6ad5d2e 100644 --- a/config/crd/bases/camel.apache.org_kameletbindings.yaml +++ b/config/crd/bases/camel.apache.org_kameletbindings.yaml @@ -77,6 +77,11 @@ spec: custom parameters properties: configuration: + description: 'Deprecated: Use camel trait (camel.properties) to + manage properties Use container trait (container.configs) to + manage configs Use container trait (container.resources) to + manage resources Use container trait (container.volumes) to + manage volumes' items: description: ConfigurationSpec -- properties: @@ -181,6 +186,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' items: description: ResourceSpec -- properties: diff --git a/docs/modules/ROOT/partials/apis/crds-html.adoc b/docs/modules/ROOT/partials/apis/crds-html.adoc index 80b5a3c..ed34383 100644 --- a/docs/modules/ROOT/partials/apis/crds-html.adoc +++ b/docs/modules/ROOT/partials/apis/crds-html.adoc @@ -350,6 +350,9 @@ int32 </em> </td> <td> +<p>Deprecated: +Use container trait (container.resources) to manage resources +Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications</p> </td> </tr> <tr> @@ -431,6 +434,11 @@ PodSpecTemplate </em> </td> <td> +<p>Deprecated: +Use camel trait (camel.properties) to manage properties +Use container trait (container.configs) to manage configs +Use container trait (container.resources) to manage resources +Use container trait (container.volumes) to manage volumes</p> </td> </tr> <tr> @@ -3164,6 +3172,9 @@ int32 </em> </td> <td> +<p>Deprecated: +Use container trait (container.resources) to manage resources +Use openapi trait (openapi.configmaps) to manage OpenAPIs specifications</p> </td> </tr> <tr> @@ -3245,6 +3256,11 @@ PodSpecTemplate </em> </td> <td> +<p>Deprecated: +Use camel trait (camel.properties) to manage properties +Use container trait (container.configs) to manage configs +Use container trait (container.resources) to manage resources +Use container trait (container.volumes) to manage volumes</p> </td> </tr> <tr> diff --git a/docs/modules/traits/pages/openapi.adoc b/docs/modules/traits/pages/openapi.adoc index 1f9c7e5..da78e67 100755 --- a/docs/modules/traits/pages/openapi.adoc +++ b/docs/modules/traits/pages/openapi.adoc @@ -15,7 +15,7 @@ WARNING: The openapi trait is a *platform trait*: disabling it may compromise th Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait openapi.[key]=[value] integration.groovy +$ kamel run --trait openapi.[key]=[value] --trait openapi.[key2]=[value2] integration.groovy ---- The following configuration options are available: @@ -27,6 +27,10 @@ The following configuration options are available: | bool | Can be used to enable or disable a trait. All traits share this common property. +| openapi.configmaps +| []string +| The configmaps holding the spec of the OpenAPI + |=== // End of autogenerated code - DO NOT EDIT! (configuration) diff --git a/helm/camel-k/crds/crd-integration.yaml b/helm/camel-k/crds/crd-integration.yaml index efba2f6..0203f98 100644 --- a/helm/camel-k/crds/crd-integration.yaml +++ b/helm/camel-k/crds/crd-integration.yaml @@ -72,6 +72,10 @@ spec: description: IntegrationSpec defines the desired state of Integration properties: configuration: + description: 'Deprecated: Use camel trait (camel.properties) to manage + properties Use container trait (container.configs) to manage configs + Use container trait (container.resources) to manage resources Use + container trait (container.volumes) to manage volumes' items: description: ConfigurationSpec -- properties: @@ -175,6 +179,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' items: description: ResourceSpec -- properties: diff --git a/helm/camel-k/crds/crd-kamelet-binding.yaml b/helm/camel-k/crds/crd-kamelet-binding.yaml index 5da3ec1..6ad5d2e 100644 --- a/helm/camel-k/crds/crd-kamelet-binding.yaml +++ b/helm/camel-k/crds/crd-kamelet-binding.yaml @@ -77,6 +77,11 @@ spec: custom parameters properties: configuration: + description: 'Deprecated: Use camel trait (camel.properties) to + manage properties Use container trait (container.configs) to + manage configs Use container trait (container.resources) to + manage resources Use container trait (container.volumes) to + manage volumes' items: description: ConfigurationSpec -- properties: @@ -181,6 +186,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' items: description: ResourceSpec -- properties: diff --git a/resources/traits.yaml b/resources/traits.yaml index 44fa3a0..8dec019 100755 --- a/resources/traits.yaml +++ b/resources/traits.yaml @@ -774,7 +774,14 @@ traits: - OpenShift description: The OpenAPI DSL trait is internally used to allow creating integrations from a OpenAPI specs. - properties: [] + properties: + - name: enabled + type: bool + description: Can be used to enable or disable a trait. All traits share this common + property. + - name: configmaps + type: '[]string' + description: The configmaps holding the spec of the OpenAPI - name: owner platform: true profiles:
