This is an automated email from the ASF dual-hosted git repository.
tsato pushed a change to branch release-1.9.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git
from 9aadfb3e6 chore(build): Assume gnu-sed usage for MacOS users
new ecef06506 chore(cmd/trait): refactor cmd & trait packages
new dc6535574 fix(#3393): Update to CronJob batch/v1
new cad2e06c6 fix(#3393): Make CronJob functionality optional
new a0094f06e fix(#3393): Fix e2e CronJob test
The 4 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:
e2e/common/cli/install_test.go | 6 +-
e2e/common/cron_test.go | 12 ++
e2e/support/test_support.go | 10 +-
pkg/cmd/operator/operator.go | 27 ++--
pkg/cmd/trait_help.go | 107 ----------------
pkg/cmd/trait_support.go | 136 +++++++++++++++++++++
.../integration/integration_controller.go | 9 +-
pkg/controller/integration/monitor.go | 6 +-
pkg/controller/integration/monitor_cronjob.go | 3 +-
pkg/trait/container.go | 4 +-
pkg/trait/cron.go | 15 ++-
pkg/trait/cron_test.go | 6 +-
pkg/trait/mount.go | 4 +-
pkg/trait/pod.go | 4 +-
pkg/trait/{trait_types_test.go => test_support.go} | 24 +---
pkg/trait/trait_types.go | 4 +-
pkg/trait/trait_types_test.go | 133 +++++++++-----------
pkg/trait/util_test.go | 79 ------------
pkg/util/kubernetes/collection.go | 24 ++--
19 files changed, 277 insertions(+), 336 deletions(-)
create mode 100644 pkg/cmd/trait_support.go
copy pkg/trait/{trait_types_test.go => test_support.go} (83%)