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 e55554a6d fix(trait): jolokia link
e55554a6d is described below
commit e55554a6d8c36d6f5b22b2f30504fcbf6374885d
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue May 28 11:43:27 2024 +0200
fix(trait): jolokia link
Closes #5540
---
docs/modules/ROOT/partials/apis/camel-k-crds.adoc | 4 +++-
docs/modules/traits/pages/jolokia.adoc | 4 +++-
pkg/apis/camel/v1/trait/jolokia.go | 4 +++-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
index 1d00aaae8..b795ce1df 100644
--- a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
+++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
@@ -7339,8 +7339,10 @@ Additional JVM classpath (use `Linux` classpath
separator)
* <<#_camel_apache_org_v1_Traits, Traits>>
The Jolokia trait activates and configures the Jolokia Java agent.
+This trait is useful to enable JMX access to Camel application.
+Make sure you have the right privileges to perform such an action on the
cluster.
-See https://jolokia.org/reference/html/agents.html
+See https://jolokia.org/reference/html/manual/agents.html
[cols="2,2a",options="header"]
diff --git a/docs/modules/traits/pages/jolokia.adoc
b/docs/modules/traits/pages/jolokia.adoc
index 59456761b..87426045b 100755
--- a/docs/modules/traits/pages/jolokia.adoc
+++ b/docs/modules/traits/pages/jolokia.adoc
@@ -4,8 +4,10 @@
// End of autogenerated code - DO NOT EDIT! (badges)
// Start of autogenerated code - DO NOT EDIT! (description)
The Jolokia trait activates and configures the Jolokia Java agent.
+This trait is useful to enable JMX access to Camel application.
+Make sure you have the right privileges to perform such an action on the
cluster.
-See https://jolokia.org/reference/html/agents.html
+See https://jolokia.org/reference/html/manual/agents.html
This trait is available in the following profiles: **Kubernetes, Knative,
OpenShift**.
diff --git a/pkg/apis/camel/v1/trait/jolokia.go
b/pkg/apis/camel/v1/trait/jolokia.go
index 7f8c8336f..c59cb15fa 100644
--- a/pkg/apis/camel/v1/trait/jolokia.go
+++ b/pkg/apis/camel/v1/trait/jolokia.go
@@ -18,8 +18,10 @@ limitations under the License.
package trait
// The Jolokia trait activates and configures the Jolokia Java agent.
+// This trait is useful to enable JMX access to Camel application.
+// Make sure you have the right privileges to perform such an action on the
cluster.
//
-// See https://jolokia.org/reference/html/agents.html
+// See https://jolokia.org/reference/html/manual/agents.html
//
// +camel-k:trait=jolokia.
type JolokiaTrait struct {