This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git.
from 843f5f8 Updated CHANGELOG.md
new c55cad5 feat: Report runtime health checks into Integration readiness
condition
new 3a6651f chore(heath): Extract port number from readiness probe before
proxying via API server
new 462f774 chore(health): Handle readiness probe call errors
new e3dacf9 chore(health): Do not account for non-ready terminating Pods
new 87b3a94 test: Add health trait e2e tests
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/operator-role.yaml | 6 ++
e2e/common/build/maven_ca_secret_test.go | 2 +-
e2e/common/build/maven_repository_test.go | 8 +-
e2e/common/cli/describe_test.go | 9 +-
e2e/common/cli/dump_test.go | 6 +-
e2e/common/cli/help_test.go | 1 +
e2e/common/cli/run_test.go | 12 +--
e2e/common/cli/version_test.go | 3 +-
e2e/common/config/config_test.go | 38 ++++----
e2e/common/cron_test.go | 10 +--
e2e/common/integration_fail_test.go | 2 +-
e2e/common/kamelet_upgrade_test.go | 4 +-
e2e/common/languages/groovy_test.go | 2 +-
e2e/common/languages/java_test.go | 4 +-
e2e/common/languages/js_test.go | 2 +-
e2e/common/languages/kotlin_test.go | 2 +-
e2e/common/languages/polyglot_test.go | 2 +-
e2e/common/languages/xml_test.go | 2 +-
e2e/common/languages/yaml_test.go | 2 +-
e2e/common/operator_id_filtering_test.go | 25 +++---
e2e/common/operator_metrics_test.go | 2 +-
e2e/common/scale_binding_test.go | 6 +-
e2e/common/scale_integration_test.go | 10 +--
e2e/common/secondary_platform_test.go | 6 +-
e2e/common/structured_logs_test.go | 2 +-
e2e/common/traits/affinity_test.go | 42 ++++-----
e2e/common/traits/error_handler_test.go | 8 +-
e2e/common/traits/health_test.go | 88 +++++++++++++++++++
e2e/common/traits/istio_test.go | 8 +-
e2e/common/traits/jolokia_test.go | 8 +-
e2e/common/traits/jvm_test.go | 8 +-
e2e/common/traits/master_test.go | 8 +-
e2e/common/traits/pdb_test.go | 6 +-
e2e/common/traits/pod_test.go | 2 +-
e2e/common/traits/prometheus_test.go | 8 +-
e2e/common/traits/pull_secret_test.go | 14 +--
e2e/common/traits/toleration_test.go | 38 ++++----
e2e/knative/kamelet_test.go | 4 +-
e2e/knative/knative_test.go | 8 +-
e2e/knative/pod_test.go | 4 +-
e2e/native/native_test.go | 6 +-
e2e/service-binding/service_binding_test.go | 2 +-
e2e/support/test_support.go | 32 ++++++-
e2e/upgrade/cli_upgrade_test.go | 4 +-
e2e/upgrade/olm_upgrade_test.go | 4 +-
go.sum | 1 -
helm/camel-k/templates/operator-role.yaml | 6 ++
pkg/apis/camel/v1/integration_types.go | 2 +
pkg/controller/integration/health.go | 100 +++++++++++++++++++++
pkg/controller/integration/monitor.go | 131 ++++++++++++++++++++++++----
pkg/resources/resources.go | 4 +-
pkg/trait/trait_types.go | 6 +-
52 files changed, 528 insertions(+), 192 deletions(-)
create mode 100644 e2e/common/traits/health_test.go
create mode 100644 pkg/controller/integration/health.go