Skip to content

Commit

Permalink
doc(trait): Maven profile cm/secret addational information
Browse files Browse the repository at this point in the history
  • Loading branch information
gansheer authored and squakez committed Apr 25, 2024
1 parent a965bce commit 1755b37
Show file tree
Hide file tree
Showing 15 changed files with 167 additions and 116 deletions.
1 change: 1 addition & 0 deletions docs/modules/ROOT/partials/apis/camel-k-crds.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6281,6 +6281,7 @@ Deprecated: use TasksRequestCPU instead with task name `builder`.
A list of references pointing to configmaps/secrets that contains a maven profile.
This configmap/secret is a resource of the IntegrationKit created, therefore it needs to be present in the namespace where the operator is going to create the IntegrationKit.
The content of the maven profile is expected to be a text containing a valid maven profile starting with `<profile>` and ending with `</profile>` that will be integrated as an inline profile in the POM.
Syntax: [configmap{vbar}secret]:name[/key], where name represents the resource name, key optionally represents the resource key to be filtered (default key value = profile.xml).
Expand Down
1 change: 1 addition & 0 deletions docs/modules/traits/pages/builder.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Deprecated: use TasksRequestCPU instead with task name `builder`.
| builder.maven-profiles
| []string
| A list of references pointing to configmaps/secrets that contains a maven profile.
This configmap/secret is a resource of the IntegrationKit created, therefore it needs to be present in the namespace where the operator is going to create the IntegrationKit.
The content of the maven profile is expected to be a text containing a valid maven profile starting with `<profile>` and ending with `</profile>` that will be integrated as an inline profile in the POM.
Syntax: [configmap\|secret]:name[/key], where name represents the resource name, key optionally represents the resource key to be filtered (default key value = profile.xml).

Expand Down
17 changes: 10 additions & 7 deletions helm/camel-k/crds/crd-integration-kit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,16 @@ spec:
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid maven
profile starting with `<profile>` and ending with `</profile>`
that will be integrated as an inline profile in the POM.
Syntax: [configmap|secret]:name[/key], where name represents
the resource name, key optionally represents the resource
key to be filtered (default key value = profile.xml).'
that contains a maven profile. This configmap/secret is
a resource of the IntegrationKit created, therefore it needs
to be present in the namespace where the operator is going
to create the IntegrationKit. The content of the maven profile
is expected to be a text containing a valid maven profile
starting with `<profile>` and ending with `</profile>` that
will be integrated as an inline profile in the POM. Syntax:
[configmap|secret]:name[/key], where name represents the
resource name, key optionally represents the resource key
to be filtered (default key value = profile.xml).'
items:
type: string
type: array
Expand Down
34 changes: 20 additions & 14 deletions helm/camel-k/crds/crd-integration-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -554,13 +554,16 @@ spec:
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid maven
profile starting with `<profile>` and ending with `</profile>`
that will be integrated as an inline profile in the POM.
Syntax: [configmap|secret]:name[/key], where name represents
the resource name, key optionally represents the resource
key to be filtered (default key value = profile.xml).'
that contains a maven profile. This configmap/secret is
a resource of the IntegrationKit created, therefore it needs
to be present in the namespace where the operator is going
to create the IntegrationKit. The content of the maven profile
is expected to be a text containing a valid maven profile
starting with `<profile>` and ending with `</profile>` that
will be integrated as an inline profile in the POM. Syntax:
[configmap|secret]:name[/key], where name represents the
resource name, key optionally represents the resource key
to be filtered (default key value = profile.xml).'
items:
type: string
type: array
Expand Down Expand Up @@ -2465,13 +2468,16 @@ spec:
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid maven
profile starting with `<profile>` and ending with `</profile>`
that will be integrated as an inline profile in the POM.
Syntax: [configmap|secret]:name[/key], where name represents
the resource name, key optionally represents the resource
key to be filtered (default key value = profile.xml).'
that contains a maven profile. This configmap/secret is
a resource of the IntegrationKit created, therefore it needs
to be present in the namespace where the operator is going
to create the IntegrationKit. The content of the maven profile
is expected to be a text containing a valid maven profile
starting with `<profile>` and ending with `</profile>` that
will be integrated as an inline profile in the POM. Syntax:
[configmap|secret]:name[/key], where name represents the
resource name, key optionally represents the resource key
to be filtered (default key value = profile.xml).'
items:
type: string
type: array
Expand Down
34 changes: 20 additions & 14 deletions helm/camel-k/crds/crd-integration-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -431,13 +431,16 @@ spec:
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid maven
profile starting with `<profile>` and ending with `</profile>`
that will be integrated as an inline profile in the POM.
Syntax: [configmap|secret]:name[/key], where name represents
the resource name, key optionally represents the resource
key to be filtered (default key value = profile.xml).'
that contains a maven profile. This configmap/secret is
a resource of the IntegrationKit created, therefore it needs
to be present in the namespace where the operator is going
to create the IntegrationKit. The content of the maven profile
is expected to be a text containing a valid maven profile
starting with `<profile>` and ending with `</profile>` that
will be integrated as an inline profile in the POM. Syntax:
[configmap|secret]:name[/key], where name represents the
resource name, key optionally represents the resource key
to be filtered (default key value = profile.xml).'
items:
type: string
type: array
Expand Down Expand Up @@ -2225,13 +2228,16 @@ spec:
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid maven
profile starting with `<profile>` and ending with `</profile>`
that will be integrated as an inline profile in the POM.
Syntax: [configmap|secret]:name[/key], where name represents
the resource name, key optionally represents the resource
key to be filtered (default key value = profile.xml).'
that contains a maven profile. This configmap/secret is
a resource of the IntegrationKit created, therefore it needs
to be present in the namespace where the operator is going
to create the IntegrationKit. The content of the maven profile
is expected to be a text containing a valid maven profile
starting with `<profile>` and ending with `</profile>` that
will be integrated as an inline profile in the POM. Syntax:
[configmap|secret]:name[/key], where name represents the
resource name, key optionally represents the resource key
to be filtered (default key value = profile.xml).'
items:
type: string
type: array
Expand Down
17 changes: 10 additions & 7 deletions helm/camel-k/crds/crd-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6488,13 +6488,16 @@ spec:
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid maven
profile starting with `<profile>` and ending with `</profile>`
that will be integrated as an inline profile in the POM.
Syntax: [configmap|secret]:name[/key], where name represents
the resource name, key optionally represents the resource
key to be filtered (default key value = profile.xml).'
that contains a maven profile. This configmap/secret is
a resource of the IntegrationKit created, therefore it needs
to be present in the namespace where the operator is going
to create the IntegrationKit. The content of the maven profile
is expected to be a text containing a valid maven profile
starting with `<profile>` and ending with `</profile>` that
will be integrated as an inline profile in the POM. Syntax:
[configmap|secret]:name[/key], where name represents the
resource name, key optionally represents the resource key
to be filtered (default key value = profile.xml).'
items:
type: string
type: array
Expand Down
19 changes: 11 additions & 8 deletions helm/camel-k/crds/crd-kamelet-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6768,14 +6768,17 @@ spec:
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid
maven profile starting with `<profile>` and ending with
`</profile>` that will be integrated as an inline profile
in the POM. Syntax: [configmap|secret]:name[/key], where
name represents the resource name, key optionally represents
the resource key to be filtered (default key value =
profile.xml).'
that contains a maven profile. This configmap/secret
is a resource of the IntegrationKit created, therefore
it needs to be present in the namespace where the operator
is going to create the IntegrationKit. The content of
the maven profile is expected to be a text containing
a valid maven profile starting with `<profile>` and
ending with `</profile>` that will be integrated as
an inline profile in the POM. Syntax: [configmap|secret]:name[/key],
where name represents the resource name, key optionally
represents the resource key to be filtered (default
key value = profile.xml).'
items:
type: string
type: array
Expand Down
19 changes: 11 additions & 8 deletions helm/camel-k/crds/crd-pipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6766,14 +6766,17 @@ spec:
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid
maven profile starting with `<profile>` and ending with
`</profile>` that will be integrated as an inline profile
in the POM. Syntax: [configmap|secret]:name[/key], where
name represents the resource name, key optionally represents
the resource key to be filtered (default key value =
profile.xml).'
that contains a maven profile. This configmap/secret
is a resource of the IntegrationKit created, therefore
it needs to be present in the namespace where the operator
is going to create the IntegrationKit. The content of
the maven profile is expected to be a text containing
a valid maven profile starting with `<profile>` and
ending with `</profile>` that will be integrated as
an inline profile in the POM. Syntax: [configmap|secret]:name[/key],
where name represents the resource name, key optionally
represents the resource key to be filtered (default
key value = profile.xml).'
items:
type: string
type: array
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/camel/v1/trait/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type BuilderTrait struct {
// Deprecated: use TasksRequestCPU instead with task name `builder`.
LimitMemory string `property:"limit-memory" json:"limitMemory,omitempty"`
// A list of references pointing to configmaps/secrets that contains a maven profile.
// This configmap/secret is a resource of the IntegrationKit created, therefore it needs to be present in the namespace where the operator is going to create the IntegrationKit.
// The content of the maven profile is expected to be a text containing a valid maven profile starting with `<profile>` and ending with `</profile>` that will be integrated as an inline profile in the POM.
// Syntax: [configmap|secret]:name[/key], where name represents the resource name, key optionally represents the resource key to be filtered (default key value = profile.xml).
MavenProfiles []string `property:"maven-profiles" json:"mavenProfiles,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,16 @@ spec:
type: string
mavenProfiles:
description: 'A list of references pointing to configmaps/secrets
that contains a maven profile. The content of the maven
profile is expected to be a text containing a valid maven
profile starting with `<profile>` and ending with `</profile>`
that will be integrated as an inline profile in the POM.
Syntax: [configmap|secret]:name[/key], where name represents
the resource name, key optionally represents the resource
key to be filtered (default key value = profile.xml).'
that contains a maven profile. This configmap/secret is
a resource of the IntegrationKit created, therefore it needs
to be present in the namespace where the operator is going
to create the IntegrationKit. The content of the maven profile
is expected to be a text containing a valid maven profile
starting with `<profile>` and ending with `</profile>` that
will be integrated as an inline profile in the POM. Syntax:
[configmap|secret]:name[/key], where name represents the
resource name, key optionally represents the resource key
to be filtered (default key value = profile.xml).'
items:
type: string
type: array
Expand Down
Loading

0 comments on commit 1755b37

Please sign in to comment.