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 9c25b06 Alow fixed custom labels in any pod
new 9dcab49 fix(operator): Stop conflict between cluster-roles when using
Global flag
new 795bf08 chore: Updates .gitignore
new 7b1be60 Renames the deploy directory to resources
new e1b26af Migrates builder resources to resources directory
new 8fc82fb Make builder roles additive rather than duplicating
new 01d435e feature(#1979): New Kustomize-based installer
new 0841963 Fixes for e2e tests
new cc1eb6f Moves patches back into config directory
new a736a9d Renames DeployDir variable to ResourceDir
new e417abb Moves viewer role and binding out of kustomize config
The 10 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:
.github/workflows/builder.yml | 15 +-
.github/workflows/knative.yml | 28 +-
.github/workflows/kubernetes.yml | 16 +-
.github/workflows/upgrade.yml | 42 +--
.gitignore | 11 +-
.golangci.yml | 2 +-
PROJECT | 2 +-
cmd/util/doc-gen/generators/generators.go | 2 +-
cmd/util/doc-gen/generators/traitmetadatagen.go | 2 +-
cmd/util/doc-gen/main.go | 2 +-
cmd/{kamel => util/platform-check}/main.go | 53 ++--
cmd/util/vfs-gen/main.go | 23 ++
config/crd/kustomization.yaml | 21 +-
config/default/kustomization.yaml | 87 ------
config/manager/kustomization.yaml | 8 +
config/manager/patch-image-pull-policy-always.yaml | 10 +
...rvice-account.yaml => patch-node-selector.yaml} | 14 +-
.asf.yaml => config/manager/patch-ports.yaml | 22 +-
.../manager/patch-resource-requirements.yaml | 28 +-
...-service-account.yaml => patch-toleration.yaml} | 17 +-
...ount.yaml => patch-watch-namespace-global.yaml} | 11 +-
config/manifests/kustomization.yaml | 12 +-
config/prometheus/kustomization.yaml | 2 +
config/rbac/kustomization.yaml | 13 +-
.../openshift}/kustomization.yaml | 14 +-
...or-cluster-role-console-binding-openshift.yaml} | 5 +-
.../operator-cluster-role-console-openshift.yaml} | 2 +-
.../operator-role-binding-openshift.yaml | 0
.../{ => openshift}/operator-role-openshift.yaml | 0
...tor-role-kubernetes.yaml => operator-role.yaml} | 0
config/rbac/patch-role-to-clusterrole.yaml | 3 +
.../patch-rolebinding-to-clusterrolebinding.yaml | 9 +
config/rbac/user-cluster-role.yaml | 2 +-
config/samples/kustomization.yaml | 8 +
config/samples/patch-integration-platform.yaml | 133 ++++++++
config/{manifests => scorecard}/.vfsignore | 0
config/scorecard/bases/config.yaml | 7 +
config/scorecard/kustomization.yaml | 17 +
config/scorecard/patches/basic.config.yaml | 10 +
config/scorecard/patches/olm.config.yaml | 20 ++
e2e/common/kustomize/common.go | 81 +++++
e2e/common/kustomize/operator_test.go | 89 ++++++
e2e/common/kustomize/setup_test.go | 70 +++++
e2e/support/test_support.go | 133 +++++++-
install/Makefile | 346 +++++++++++++++++++++
.../example}/kustomization.yaml | 7 +-
.../operator}/kustomization.yaml | 30 +-
.../platform}/kustomization.yaml | 10 +-
install/release/Makefile | 60 ++++
install/script/Makefile | 1 +
install/script/check_platform.sh | 1 +
.../setup-cluster}/kustomization.yaml | 8 +-
.../manager => install/setup}/kustomization.yaml | 5 +-
pkg/apis/camel/v1alpha1/jsonschema_types.go | 2 +-
pkg/install/builder.go | 14 +-
pkg/install/cluster.go | 6 +-
pkg/install/kamelets.go | 4 +-
pkg/install/operator.go | 14 +-
pkg/resources/resources.go | 293 ++++++++++++-----
pkg/resources/resources_support.go | 2 +-
release.adoc | 6 +-
.../addons/master/master-role-binding.tmpl | 0
.../addons/master/master-role-configmap.tmpl | 0
.../addons/master/master-role-lease.tmpl | 0
.../builder/builder-role-binding-openshift.yaml | 4 +-
.../builder}/builder-role-binding.yaml | 0
.../builder}/builder-role-openshift.yaml | 38 +--
.../builder/builder-role.yaml | 0
.../builder}/builder-service-account.yaml | 0
{deploy => resources}/camel-catalog-1.9.0.yaml | 0
{deploy => resources}/templates/groovy.tmpl | 0
{deploy => resources}/templates/java.tmpl | 0
{deploy => resources}/templates/js.tmpl | 0
{deploy => resources}/templates/kamelet.tmpl | 0
{deploy => resources}/templates/kts.tmpl | 0
{deploy => resources}/templates/xml.tmpl | 0
{deploy => resources}/templates/yaml.tmpl | 0
{deploy => resources}/traits.yaml | 2 +-
.../user-global-kamelet-viewer-role-binding.yaml | 4 +
.../viewer}/user-global-kamelet-viewer-role.yaml | 4 +
{config/manifests => script}/.vfsignore | 0
script/Makefile | 120 +++++--
script/build_catalog.sh | 2 +-
script/check_licenses.sh | 2 +-
script/check_platform.sh | 89 ++++++
script/set_version.sh | 11 +-
86 files changed, 1694 insertions(+), 437 deletions(-)
copy cmd/{kamel => util/platform-check}/main.go (53%)
delete mode 100644 config/default/kustomization.yaml
create mode 100644 config/manager/patch-image-pull-policy-always.yaml
copy config/manager/{operator-service-account.yaml =>
patch-node-selector.yaml} (84%)
copy .asf.yaml => config/manager/patch-ports.yaml (75%)
copy e2e/yaks/openshift/monitoring/resources/operator-pod-monitor.yaml =>
config/manager/patch-resource-requirements.yaml (69%)
copy config/manager/{operator-service-account.yaml => patch-toleration.yaml}
(79%)
copy config/manager/{operator-service-account.yaml =>
patch-watch-namespace-global.yaml} (86%)
copy config/{manifests => rbac/openshift}/kustomization.yaml (76%)
rename config/rbac/{operator-cluster-role-binding-openshift.yaml =>
openshift/operator-cluster-role-console-binding-openshift.yaml} (91%)
rename config/rbac/{operator-cluster-role-openshift.yaml =>
openshift/operator-cluster-role-console-openshift.yaml} (96%)
rename config/rbac/{ => openshift}/operator-role-binding-openshift.yaml (100%)
rename config/rbac/{ => openshift}/operator-role-openshift.yaml (100%)
rename config/rbac/{operator-role-kubernetes.yaml => operator-role.yaml} (100%)
create mode 100644 config/rbac/patch-role-to-clusterrole.yaml
create mode 100644 config/rbac/patch-rolebinding-to-clusterrolebinding.yaml
create mode 100644 config/samples/patch-integration-platform.yaml
copy config/{manifests => scorecard}/.vfsignore (100%)
create mode 100644 config/scorecard/bases/config.yaml
create mode 100644 config/scorecard/patches/basic.config.yaml
create mode 100644 config/scorecard/patches/olm.config.yaml
create mode 100644 e2e/common/kustomize/common.go
create mode 100644 e2e/common/kustomize/operator_test.go
create mode 100644 e2e/common/kustomize/setup_test.go
create mode 100644 install/Makefile
copy {config/manifests => install/example}/kustomization.yaml (88%)
copy {config/manager => install/operator}/kustomization.yaml (53%)
copy {config/manifests => install/platform}/kustomization.yaml (81%)
create mode 100644 install/release/Makefile
create mode 120000 install/script/Makefile
create mode 120000 install/script/check_platform.sh
copy {config/manifests => install/setup-cluster}/kustomization.yaml (88%)
copy {config/manager => install/setup}/kustomization.yaml (91%)
rename {deploy => resources}/addons/master/master-role-binding.tmpl (100%)
rename {deploy => resources}/addons/master/master-role-configmap.tmpl (100%)
rename {deploy => resources}/addons/master/master-role-lease.tmpl (100%)
copy config/rbac/builder-role-binding.yaml =>
resources/builder/builder-role-binding-openshift.yaml (94%)
rename {config/rbac => resources/builder}/builder-role-binding.yaml (100%)
rename {config/rbac => resources/builder}/builder-role-openshift.yaml (80%)
rename config/rbac/builder-role-kubernetes.yaml =>
resources/builder/builder-role.yaml (100%)
rename {config/manager => resources/builder}/builder-service-account.yaml
(100%)
rename {deploy => resources}/camel-catalog-1.9.0.yaml (100%)
rename {deploy => resources}/templates/groovy.tmpl (100%)
rename {deploy => resources}/templates/java.tmpl (100%)
rename {deploy => resources}/templates/js.tmpl (100%)
rename {deploy => resources}/templates/kamelet.tmpl (100%)
rename {deploy => resources}/templates/kts.tmpl (100%)
rename {deploy => resources}/templates/xml.tmpl (100%)
rename {deploy => resources}/templates/yaml.tmpl (100%)
rename {deploy => resources}/traits.yaml (99%)
rename {config/rbac =>
resources/viewer}/user-global-kamelet-viewer-role-binding.yaml (92%)
rename {config/rbac => resources/viewer}/user-global-kamelet-viewer-role.yaml
(92%)
copy {config/manifests => script}/.vfsignore (100%)
create mode 100755 script/check_platform.sh