diff --git a/deploy/traits.yaml b/deploy/traits.yaml index cb26871612..13d3319bdd 100755 --- a/deploy/traits.yaml +++ b/deploy/traits.yaml @@ -183,7 +183,7 @@ traits: a Kubernetes CronJob are the following:- `timer`: when periods can be written as cron expressions. E.g. `timer:tick?period=60000`.- `cron`, `quartz`: when the cron expression does not contain seconds (or the "seconds" part is set to 0). - E.g. `cron:tab?schedule=0/2+*+*+*+?` or `quartz:trigger?cron=0+0/2+*+*+*+?`.' + E.g. `cron:tab?schedule=0/2${plus}*{plus}*{plus}*{plus}?` or `quartz:trigger?cron=0{plus}0/2{plus}*{plus}*{plus}*{plus}?`.' properties: - name: enabled type: bool @@ -288,7 +288,7 @@ traits: description: Can be used to enable or disable a trait. All traits share this common property. - name: discovery-cache - type: ./pkg/trait.discoveryCacheType + type: github.com/apache/camel-k/pkg/trait.discoveryCacheType description: Discovery client cache to be used, either `disabled`, `disk` or `memory` (default `memory`) - name: ingress diff --git a/docs/modules/ROOT/pages/traits/cron.adoc b/docs/modules/ROOT/pages/traits/cron.adoc index 6e6b1baf2c..08ba412944 100755 --- a/docs/modules/ROOT/pages/traits/cron.adoc +++ b/docs/modules/ROOT/pages/traits/cron.adoc @@ -13,7 +13,7 @@ Integrations that start from the following components are evaluated by the cron The rules for using a Kubernetes CronJob are the following: - `timer`: when periods can be written as cron expressions. E.g. `timer:tick?period=60000`. - `cron`, `quartz`: when the cron expression does not contain seconds (or the "seconds" part is set to 0). E.g. - `cron:tab?schedule=0/2+*+*+*+?` or `quartz:trigger?cron=0+0/2+*+*+*+?`. + `cron:tab?schedule=0/2${plus}*{plus}*{plus}*{plus}?` or `quartz:trigger?cron=0{plus}0/2{plus}*{plus}*{plus}*{plus}?`. This trait is available in the following profiles: **Kubernetes, Knative, OpenShift**. diff --git a/docs/modules/ROOT/pages/traits/gc.adoc b/docs/modules/ROOT/pages/traits/gc.adoc index 0b61f3ef66..3f2a86411d 100755 --- a/docs/modules/ROOT/pages/traits/gc.adoc +++ b/docs/modules/ROOT/pages/traits/gc.adoc @@ -25,7 +25,7 @@ The following configuration options are available: | Can be used to enable or disable a trait. All traits share this common property. | gc.discovery-cache -| ./pkg/trait.discoveryCacheType +| github.com/apache/camel-k/pkg/trait.discoveryCacheType | Discovery client cache to be used, either `disabled`, `disk` or `memory` (default `memory`) |=== diff --git a/pkg/trait/cron.go b/pkg/trait/cron.go index 767a5485d5..b823df56f0 100644 --- a/pkg/trait/cron.go +++ b/pkg/trait/cron.go @@ -47,7 +47,7 @@ import ( // The rules for using a Kubernetes CronJob are the following: // - `timer`: when periods can be written as cron expressions. E.g. `timer:tick?period=60000`. // - `cron`, `quartz`: when the cron expression does not contain seconds (or the "seconds" part is set to 0). E.g. -// `cron:tab?schedule=0/2+*+*+*+?` or `quartz:trigger?cron=0+0/2+*+*+*+?`. +// `cron:tab?schedule=0/2${plus}*{plus}*{plus}*{plus}?` or `quartz:trigger?cron=0{plus}0/2{plus}*{plus}*{plus}*{plus}?`. // // +camel-k:trait=cron type cronTrait struct {