Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc(trait): Maven profile cm/secret additional information #5416

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -2463,13 +2466,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 @@ -2223,13 +2226,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
Loading