Skip to content

Commit

Permalink
(#5489) Migrate integration.groovy => integration.yaml for traits
Browse files Browse the repository at this point in the history
  • Loading branch information
tdiesler committed May 21, 2024
1 parent 2a76301 commit 787a1d6
Show file tree
Hide file tree
Showing 46 changed files with 50 additions and 46 deletions.
4 changes: 2 additions & 2 deletions cmd/util/doc-gen/generators/traitdocgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ func writeFields(t *types.Type, traitID string, content *[]string) {
res = append(res, "[source,console]")
res = append(res, "----")
if len(t.Members) > 1 {
res = append(res, fmt.Sprintf("$ kamel run --trait %s.[key]=[value] --trait %s.[key2]=[value2] integration.groovy", traitID, traitID))
res = append(res, fmt.Sprintf("$ kamel run --trait %s.[key]=[value] --trait %s.[key2]=[value2] integration.yaml", traitID, traitID))
} else {
res = append(res, fmt.Sprintf("$ kamel run --trait %s.[key]=[value] integration.groovy", traitID))
res = append(res, fmt.Sprintf("$ kamel run --trait %s.[key]=[value] integration.yaml", traitID))
}
res = append(res, "----")
res = append(res, "The following configuration options are available:", "")
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/3scale.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait 3scale.[key]=[value] --trait 3scale.[key2]=[value2] integration.groovy
$ kamel run --trait 3scale.[key]=[value] --trait 3scale.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/affinity.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait affinity.[key]=[value] --trait affinity.[key2]=[value2] integration.groovy
$ kamel run --trait affinity.[key]=[value] --trait affinity.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/aws-secrets-manager.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait aws-secrets-manager.[key]=[value] --trait aws-secrets-manager.[key2]=[value2] integration.groovy
$ kamel run --trait aws-secrets-manager.[key]=[value] --trait aws-secrets-manager.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/azure-key-vault.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait azure-key-vault.[key]=[value] --trait azure-key-vault.[key2]=[value2] integration.groovy
$ kamel run --trait azure-key-vault.[key]=[value] --trait azure-key-vault.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/builder.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NOTE: The builder trait is a *platform trait* and cannot be disabled by the user
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait builder.[key]=[value] --trait builder.[key2]=[value2] integration.groovy
$ kamel run --trait builder.[key]=[value] --trait builder.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/camel.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NOTE: The camel trait is a *platform trait* and cannot be disabled by the user.
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait camel.[key]=[value] --trait camel.[key2]=[value2] integration.groovy
$ kamel run --trait camel.[key]=[value] --trait camel.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/container.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ NOTE: The container trait is a *platform trait* and cannot be disabled by the us
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait container.[key]=[value] --trait container.[key2]=[value2] integration.groovy
$ kamel run --trait container.[key]=[value] --trait container.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/cron.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait cron.[key]=[value] --trait cron.[key2]=[value2] integration.groovy
$ kamel run --trait cron.[key]=[value] --trait cron.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/deployer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NOTE: The deployer trait is a *platform trait* and cannot be disabled by the use
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait deployer.[key]=[value] --trait deployer.[key2]=[value2] integration.groovy
$ kamel run --trait deployer.[key]=[value] --trait deployer.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/deployment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NOTE: The deployment trait is a *platform trait* and cannot be disabled by the u
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait deployment.[key]=[value] --trait deployment.[key2]=[value2] integration.groovy
$ kamel run --trait deployment.[key]=[value] --trait deployment.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/environment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NOTE: The environment trait is a *platform trait* and cannot be disabled by the
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait environment.[key]=[value] --trait environment.[key2]=[value2] integration.groovy
$ kamel run --trait environment.[key]=[value] --trait environment.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/error-handler.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NOTE: The error-handler trait is a *platform trait* and cannot be disabled by th
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait error-handler.[key]=[value] --trait error-handler.[key2]=[value2] integration.groovy
$ kamel run --trait error-handler.[key]=[value] --trait error-handler.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/gc.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait gc.[key]=[value] --trait gc.[key2]=[value2] integration.groovy
$ kamel run --trait gc.[key]=[value] --trait gc.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/gcp-secret-manager.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait gcp-secret-manager.[key]=[value] --trait gcp-secret-manager.[key2]=[value2] integration.groovy
$ kamel run --trait gcp-secret-manager.[key]=[value] --trait gcp-secret-manager.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/hashicorp-vault.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait hashicorp-vault.[key]=[value] --trait hashicorp-vault.[key2]=[value2] integration.groovy
$ kamel run --trait hashicorp-vault.[key]=[value] --trait hashicorp-vault.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/health.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait health.[key]=[value] --trait health.[key2]=[value2] integration.groovy
$ kamel run --trait health.[key]=[value] --trait health.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/ingress.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This trait is available in the following profiles: **Kubernetes**.
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait ingress.[key]=[value] --trait ingress.[key2]=[value2] integration.groovy
$ kamel run --trait ingress.[key]=[value] --trait ingress.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/istio.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait istio.[key]=[value] --trait istio.[key2]=[value2] integration.groovy
$ kamel run --trait istio.[key]=[value] --trait istio.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/jolokia.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait jolokia.[key]=[value] --trait jolokia.[key2]=[value2] integration.groovy
$ kamel run --trait jolokia.[key]=[value] --trait jolokia.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/jvm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait jvm.[key]=[value] --trait jvm.[key2]=[value2] integration.groovy
$ kamel run --trait jvm.[key]=[value] --trait jvm.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/kamelets.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait kamelets.[key]=[value] --trait kamelets.[key2]=[value2] integration.groovy
$ kamel run --trait kamelets.[key]=[value] --trait kamelets.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/keda.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait keda.[key]=[value] --trait keda.[key2]=[value2] integration.groovy
$ kamel run --trait keda.[key]=[value] --trait keda.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/knative-service.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This trait is available in the following profiles: **Knative**.
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait knative-service.[key]=[value] --trait knative-service.[key2]=[value2] integration.groovy
$ kamel run --trait knative-service.[key]=[value] --trait knative-service.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/knative.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This trait is available in the following profiles: **Knative**.
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait knative.[key]=[value] --trait knative.[key2]=[value2] integration.groovy
$ kamel run --trait knative.[key]=[value] --trait knative.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/logging.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait logging.[key]=[value] --trait logging.[key2]=[value2] integration.groovy
$ kamel run --trait logging.[key]=[value] --trait logging.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/master.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait master.[key]=[value] --trait master.[key2]=[value2] integration.groovy
$ kamel run --trait master.[key]=[value] --trait master.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/mount.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NOTE: The mount trait is a *platform trait* and cannot be disabled by the user.
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait mount.[key]=[value] --trait mount.[key2]=[value2] integration.groovy
$ kamel run --trait mount.[key]=[value] --trait mount.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/openapi.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NOTE: The openapi trait is a *platform trait* and cannot be disabled by the user
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait openapi.[key]=[value] --trait openapi.[key2]=[value2] integration.groovy
$ kamel run --trait openapi.[key]=[value] --trait openapi.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/owner.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ NOTE: The owner trait is a *platform trait* and cannot be disabled by the user.
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait owner.[key]=[value] --trait owner.[key2]=[value2] integration.groovy
$ kamel run --trait owner.[key]=[value] --trait owner.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/pdb.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait pdb.[key]=[value] --trait pdb.[key2]=[value2] integration.groovy
$ kamel run --trait pdb.[key]=[value] --trait pdb.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/platform.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ NOTE: The platform trait is a *platform trait* and cannot be disabled by the use
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait platform.[key]=[value] --trait platform.[key2]=[value2] integration.groovy
$ kamel run --trait platform.[key]=[value] --trait platform.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/pod.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The value from the template overwrites the `TEST_VARIABLE` environment variable,
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait pod.[key]=[value] integration.groovy
$ kamel run --trait pod.[key]=[value] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/prometheus.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait prometheus.[key]=[value] --trait prometheus.[key2]=[value2] integration.groovy
$ kamel run --trait prometheus.[key]=[value] --trait prometheus.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/pull-secret.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait pull-secret.[key]=[value] --trait pull-secret.[key2]=[value2] integration.groovy
$ kamel run --trait pull-secret.[key]=[value] --trait pull-secret.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/quarkus.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ NOTE: The quarkus trait is a *platform trait* and cannot be disabled by the user
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait quarkus.[key]=[value] --trait quarkus.[key2]=[value2] integration.groovy
$ kamel run --trait quarkus.[key]=[value] --trait quarkus.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/registry.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait registry.[key]=[value] integration.groovy
$ kamel run --trait registry.[key]=[value] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/resume.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait resume.[key]=[value] --trait resume.[key2]=[value2] integration.groovy
$ kamel run --trait resume.[key]=[value] --trait resume.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/route.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This trait is available in the following profiles: **OpenShift**.
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait route.[key]=[value] --trait route.[key2]=[value2] integration.groovy
$ kamel run --trait route.[key]=[value] --trait route.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/security-context.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NOTE: The security-context trait is a *platform trait* and cannot be disabled by
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait security-context.[key]=[value] --trait security-context.[key2]=[value2] integration.groovy
$ kamel run --trait security-context.[key]=[value] --trait security-context.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/service-binding.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait service-binding.[key]=[value] --trait service-binding.[key2]=[value2] integration.groovy
$ kamel run --trait service-binding.[key]=[value] --trait service-binding.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/service.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait service.[key]=[value] --trait service.[key2]=[value2] integration.groovy
$ kamel run --trait service.[key]=[value] --trait service.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/telemetry.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait telemetry.[key]=[value] --trait telemetry.[key2]=[value2] integration.groovy
$ kamel run --trait telemetry.[key]=[value] --trait telemetry.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/traits/pages/toleration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This trait is available in the following profiles: **Kubernetes, Knative, OpenSh
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait toleration.[key]=[value] --trait toleration.[key2]=[value2] integration.groovy
$ kamel run --trait toleration.[key]=[value] --trait toleration.[key2]=[value2] integration.yaml
----
The following configuration options are available:

Expand Down
Loading

0 comments on commit 787a1d6

Please sign in to comment.