Skip to content

Commit

Permalink
chore: generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Olsiak committed Sep 13, 2023
1 parent f03ff6d commit b104763
Show file tree
Hide file tree
Showing 12 changed files with 96 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/crd/bases/camel.apache.org_integrationplatforms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can be
used to set knative service specific annotations CLI usage
example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as Knative
service when all conditions hold: \n * Integration is using
Expand Down Expand Up @@ -3023,6 +3030,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can be
used to set knative service specific annotations CLI usage
example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as Knative
service when all conditions hold: \n * Integration is using
Expand Down
7 changes: 7 additions & 0 deletions config/crd/bases/camel.apache.org_integrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7175,6 +7175,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can be
used to set knative service specific annotations CLI usage
example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as Knative
service when all conditions hold: \n * Integration is using
Expand Down
7 changes: 7 additions & 0 deletions config/crd/bases/camel.apache.org_kameletbindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7466,6 +7466,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can
be used to set knative service specific annotations
CLI usage example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as
Knative service when all conditions hold: \n * Integration
Expand Down
7 changes: 7 additions & 0 deletions config/crd/bases/camel.apache.org_pipes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7463,6 +7463,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can
be used to set knative service specific annotations
CLI usage example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as
Knative service when all conditions hold: \n * Integration
Expand Down
9 changes: 9 additions & 0 deletions docs/modules/ROOT/partials/apis/camel-k-crds.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6900,6 +6900,15 @@ are only relevant when the Camel route(s) use(s) an HTTP endpoint consumer.
|`annotations` +
map[string]string
|
The annotations added to route.
This can be used to set knative service specific annotations
CLI usage example: -t "knative-service.annotations.'haproxy.router.openshift.io/balance'=true"
|`class` +
string
|
Expand Down
6 changes: 6 additions & 0 deletions docs/modules/traits/pages/knative-service.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ The following configuration options are available:
| bool
| Can be used to enable or disable a trait. All traits share this common property.

| knative-service.annotations
| map[string]string
| The annotations added to route.
This can be used to set knative service specific annotations
CLI usage example: -t "knative-service.annotations.'haproxy.router.openshift.io/balance'=true"

| knative-service.autoscaling-class
| string
| Configures the Knative autoscaling class property (e.g. to set `hpa.autoscaling.knative.dev` or `kpa.autoscaling.knative.dev` autoscaling).
Expand Down
14 changes: 14 additions & 0 deletions helm/camel-k/crds/crd-integration-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can be
used to set knative service specific annotations CLI usage
example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as Knative
service when all conditions hold: \n * Integration is using
Expand Down Expand Up @@ -3023,6 +3030,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can be
used to set knative service specific annotations CLI usage
example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as Knative
service when all conditions hold: \n * Integration is using
Expand Down
7 changes: 7 additions & 0 deletions helm/camel-k/crds/crd-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7175,6 +7175,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can be
used to set knative service specific annotations CLI usage
example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as Knative
service when all conditions hold: \n * Integration is using
Expand Down
7 changes: 7 additions & 0 deletions helm/camel-k/crds/crd-kamelet-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7466,6 +7466,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can
be used to set knative service specific annotations
CLI usage example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as
Knative service when all conditions hold: \n * Integration
Expand Down
7 changes: 7 additions & 0 deletions helm/camel-k/crds/crd-pipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7463,6 +7463,13 @@ spec:
knative-service:
description: The configuration of Knative Service trait
properties:
annotations:
additionalProperties:
type: string
description: 'The annotations added to route. This can
be used to set knative service specific annotations
CLI usage example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
type: object
auto:
description: "Automatically deploy the integration as
Knative service when all conditions hold: \n * Integration
Expand Down
7 changes: 7 additions & 0 deletions pkg/apis/camel/v1/trait/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions resources/traits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,10 @@ traits:
type: bool
description: Can be used to enable or disable a trait. All traits share this common
property.
- name: annotations
type: map[string]string
description: 'The annotations added to route. This can be used to set knative
service specific annotations CLI usage example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
- name: autoscaling-class
type: string
description: Configures the Knative autoscaling class property (e.g. to set `hpa.autoscaling.knative.dev`
Expand Down

0 comments on commit b104763

Please sign in to comment.