This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git.
from f178ff8 Updated CHANGELOG.md
new 619c58a fix(prometheus): Only add MP Metrics dependency during
initialisation phase
new c61f140 feat(monitoring): Migrate to PodMonitor in Prometheus trait
new 81eec6f chore(doc): Update Prometheus trait documentation with
PodMonitor
new fdccc12 chore(rbac): RBAC for PodMonitor instead of ServiceMonitor
new 189f862 chore: Rebuild resources
The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
config/rbac/kustomization.yaml | 4 +-
...yaml => operator-role-binding-podmonitors.yaml} | 4 +-
.../operator-role-binding-servicemonitors.yaml | 30 -----
...onitors.yaml => operator-role-podmonitors.yaml} | 4 +-
...el-k.v1.4.0-snapshot.clusterserviceversion.yaml | 10 +-
deploy/traits.yaml | 22 ++--
.../ROOT/pages/observability/integration.adoc | 12 +-
.../ROOT/pages/observability/monitoring.adoc | 4 +-
.../modules/ROOT/pages/observability/operator.adoc | 2 +-
docs/modules/traits/pages/prometheus.adoc | 21 ++--
e2e/common/operator_metrics_test.go | 47 +++----
e2e/common/traits/prometheus_test.go | 36 +++---
helm/camel-k/templates/operator-role.yaml | 2 +-
pkg/cmd/run_test.go | 4 +-
pkg/install/operator.go | 10 +-
pkg/resources/resources.go | 36 +++---
pkg/trait/container.go | 43 ++++---
pkg/trait/prometheus.go | 138 +++++++++------------
pkg/trait/prometheus_test.go | 82 +++---------
pkg/trait/route.go | 2 +-
pkg/trait/route_test.go | 2 +-
pkg/trait/service.go | 5 +-
pkg/trait/trait_types.go | 24 ++++
pkg/util/kubernetes/collection.go | 14 +--
24 files changed, 228 insertions(+), 330 deletions(-)
copy config/rbac/{operator-role-binding-openshift.yaml =>
operator-role-binding-podmonitors.yaml} (93%)
delete mode 100644 config/rbac/operator-role-binding-servicemonitors.yaml
rename config/rbac/{operator-role-servicemonitors.yaml =>
operator-role-podmonitors.yaml} (95%)