This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push: new 1755b3731 doc(trait): Maven profile cm/secret addational information 1755b3731 is described below commit 1755b3731d93c611139837ea899b4d0173330ddb Author: Gaelle Fournier <gaelle.fournier.w...@gmail.com> AuthorDate: Wed Apr 24 11:47:19 2024 +0200 doc(trait): Maven profile cm/secret addational information --- docs/modules/ROOT/partials/apis/camel-k-crds.adoc | 1 + docs/modules/traits/pages/builder.adoc | 1 + helm/camel-k/crds/crd-integration-kit.yaml | 17 ++++++----- helm/camel-k/crds/crd-integration-platform.yaml | 34 +++++++++++++--------- helm/camel-k/crds/crd-integration-profile.yaml | 34 +++++++++++++--------- helm/camel-k/crds/crd-integration.yaml | 17 ++++++----- helm/camel-k/crds/crd-kamelet-binding.yaml | 19 +++++++----- helm/camel-k/crds/crd-pipe.yaml | 19 +++++++----- pkg/apis/camel/v1/trait/builder.go | 1 + .../bases/camel.apache.org_integrationkits.yaml | 17 ++++++----- .../camel.apache.org_integrationplatforms.yaml | 34 +++++++++++++--------- .../camel.apache.org_integrationprofiles.yaml | 34 +++++++++++++--------- .../crd/bases/camel.apache.org_integrations.yaml | 17 ++++++----- .../bases/camel.apache.org_kameletbindings.yaml | 19 +++++++----- .../config/crd/bases/camel.apache.org_pipes.yaml | 19 +++++++----- 15 files changed, 167 insertions(+), 116 deletions(-) diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc index c94c58e45..1287f9efe 100644 --- a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc +++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc @@ -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). diff --git a/docs/modules/traits/pages/builder.adoc b/docs/modules/traits/pages/builder.adoc index 5cd449cf1..254557338 100755 --- a/docs/modules/traits/pages/builder.adoc +++ b/docs/modules/traits/pages/builder.adoc @@ -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). diff --git a/helm/camel-k/crds/crd-integration-kit.yaml b/helm/camel-k/crds/crd-integration-kit.yaml index d7639c3da..82f31750c 100644 --- a/helm/camel-k/crds/crd-integration-kit.yaml +++ b/helm/camel-k/crds/crd-integration-kit.yaml @@ -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 diff --git a/helm/camel-k/crds/crd-integration-platform.yaml b/helm/camel-k/crds/crd-integration-platform.yaml index 946ea140e..0ba5cf826 100644 --- a/helm/camel-k/crds/crd-integration-platform.yaml +++ b/helm/camel-k/crds/crd-integration-platform.yaml @@ -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 @@ -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 diff --git a/helm/camel-k/crds/crd-integration-profile.yaml b/helm/camel-k/crds/crd-integration-profile.yaml index 0298cffd4..86f07c371 100644 --- a/helm/camel-k/crds/crd-integration-profile.yaml +++ b/helm/camel-k/crds/crd-integration-profile.yaml @@ -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 @@ -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 diff --git a/helm/camel-k/crds/crd-integration.yaml b/helm/camel-k/crds/crd-integration.yaml index f7483595c..e83632792 100644 --- a/helm/camel-k/crds/crd-integration.yaml +++ b/helm/camel-k/crds/crd-integration.yaml @@ -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 diff --git a/helm/camel-k/crds/crd-kamelet-binding.yaml b/helm/camel-k/crds/crd-kamelet-binding.yaml index a6da66018..57e693c8e 100644 --- a/helm/camel-k/crds/crd-kamelet-binding.yaml +++ b/helm/camel-k/crds/crd-kamelet-binding.yaml @@ -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 diff --git a/helm/camel-k/crds/crd-pipe.yaml b/helm/camel-k/crds/crd-pipe.yaml index 5eb032cd4..5f2f09f29 100644 --- a/helm/camel-k/crds/crd-pipe.yaml +++ b/helm/camel-k/crds/crd-pipe.yaml @@ -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 diff --git a/pkg/apis/camel/v1/trait/builder.go b/pkg/apis/camel/v1/trait/builder.go index 635623716..0eab4cf8c 100644 --- a/pkg/apis/camel/v1/trait/builder.go +++ b/pkg/apis/camel/v1/trait/builder.go @@ -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"` diff --git a/pkg/resources/config/crd/bases/camel.apache.org_integrationkits.yaml b/pkg/resources/config/crd/bases/camel.apache.org_integrationkits.yaml index d7639c3da..82f31750c 100644 --- a/pkg/resources/config/crd/bases/camel.apache.org_integrationkits.yaml +++ b/pkg/resources/config/crd/bases/camel.apache.org_integrationkits.yaml @@ -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 diff --git a/pkg/resources/config/crd/bases/camel.apache.org_integrationplatforms.yaml b/pkg/resources/config/crd/bases/camel.apache.org_integrationplatforms.yaml index 946ea140e..0ba5cf826 100644 --- a/pkg/resources/config/crd/bases/camel.apache.org_integrationplatforms.yaml +++ b/pkg/resources/config/crd/bases/camel.apache.org_integrationplatforms.yaml @@ -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 @@ -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 diff --git a/pkg/resources/config/crd/bases/camel.apache.org_integrationprofiles.yaml b/pkg/resources/config/crd/bases/camel.apache.org_integrationprofiles.yaml index 0298cffd4..86f07c371 100644 --- a/pkg/resources/config/crd/bases/camel.apache.org_integrationprofiles.yaml +++ b/pkg/resources/config/crd/bases/camel.apache.org_integrationprofiles.yaml @@ -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 @@ -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 diff --git a/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml b/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml index f7483595c..e83632792 100644 --- a/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml +++ b/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml @@ -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 diff --git a/pkg/resources/config/crd/bases/camel.apache.org_kameletbindings.yaml b/pkg/resources/config/crd/bases/camel.apache.org_kameletbindings.yaml index a6da66018..57e693c8e 100644 --- a/pkg/resources/config/crd/bases/camel.apache.org_kameletbindings.yaml +++ b/pkg/resources/config/crd/bases/camel.apache.org_kameletbindings.yaml @@ -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 diff --git a/pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml b/pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml index 5eb032cd4..5f2f09f29 100644 --- a/pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml +++ b/pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml @@ -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