You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2024/02/16 13:25:53 UTC
(camel-k) branch main updated (079c7e470 -> 68ba23144)
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
from 079c7e470 chore(ci): upgrade setup-go action (#5132)
new 46a03625b feat(ci): go:embed usage
new 68ba23144 chore(ci): remove vfsgen dependencies
The 2 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/java.yml | 4 +-
addons/master/master.go | 2 +-
cmd/util/doc-gen/generators/traitmetadatagen.go | 54 -
cmd/util/vfs-gen/main.go | 257 ---
cmd/util/vfs-gen/multifs/multidir.go | 171 --
.../pages/installation/advanced/kustomize.adoc | 2 +-
.../ROOT/pages/installation/installation.adoc | 8 +-
e2e/install/upgrade/helm_upgrade_test.go | 2 +-
e2e/support/test_support.go | 10 +-
go.mod | 2 -
go.sum | 4 -
install/config | 2 +-
java/crds/pom.xml | 2 +-
java/crds/src/main/resources | 2 +-
pkg/controller/integrationplatform/create.go | 2 +-
pkg/install/builder.go | 16 +-
pkg/install/cluster.go | 12 +-
pkg/install/kamelets.go | 4 +-
pkg/install/operator.go | 84 +-
pkg/install/platform.go | 4 +-
.../config}/crd/bases/camel.apache.org_builds.yaml | 0
.../crd/bases/camel.apache.org_camelcatalogs.yaml | 0
.../bases/camel.apache.org_integrationkits.yaml | 0
.../camel.apache.org_integrationplatforms.yaml | 0
.../crd/bases/camel.apache.org_integrations.yaml | 0
.../bases/camel.apache.org_kameletbindings.yaml | 0
.../crd/bases/camel.apache.org_kamelets.yaml | 0
.../config}/crd/bases/camel.apache.org_pipes.yaml | 0
.../resources/config}/crd/kustomization.yaml | 0
.../resources/config}/manager/kustomization.yaml | 0
.../config}/manager/operator-deployment.yaml | 0
.../config}/manager/operator-service-account.yaml | 0
.../manager/patch-image-pull-policy-always.yaml | 0
.../manager/patch-install-default-kamelets.yaml | 0
.../resources/config}/manager/patch-log-level.yaml | 0
.../config}/manager/patch-node-selector.yaml | 0
.../resources/config}/manager/patch-ports.yaml | 0
.../manager/patch-resource-requirements.yaml | 0
.../config}/manager/patch-toleration.yaml | 0
.../manager/patch-watch-namespace-global.yaml | 0
.../resources/config}/manifests/.vfsignore | 0
.../bases/camel-k.clusterserviceversion.yaml | 2 +-
.../resources/config}/manifests/kustomization.yaml | 0
.../config}/manifests/patch-delete-pvc.yaml | 0
.../manifests/patch-delete-user-cluster-role.yaml | 0
.../config}/prometheus/kustomization.yaml | 0
.../config}/prometheus/operator-pod-monitor.yaml | 0
.../prometheus/operator-prometheus-rule.yaml | 0
.../config}/rbac/descoped/kustomization.yaml | 0
.../operator-cluster-role-binding-events.yaml | 0
.../operator-cluster-role-binding-keda.yaml | 0
.../operator-cluster-role-binding-knative.yaml | 0
.../operator-cluster-role-binding-leases.yaml | 0
.../operator-cluster-role-binding-podmonitors.yaml | 0
.../operator-cluster-role-binding-strimzi.yaml | 0
.../descoped/operator-cluster-role-binding.yaml | 0
.../descoped/operator-cluster-role-events.yaml | 0
.../rbac/descoped/operator-cluster-role-keda.yaml | 0
.../descoped/operator-cluster-role-knative.yaml | 0
.../descoped/operator-cluster-role-leases.yaml | 0
.../operator-cluster-role-podmonitors.yaml | 0
.../descoped/operator-cluster-role-strimzi.yaml | 0
.../rbac/descoped/operator-cluster-role.yaml | 0
.../resources/config}/rbac/kustomization.yaml | 0
.../config}/rbac/namespaced/kustomization.yaml | 0
.../namespaced/operator-role-binding-events.yaml | 0
.../namespaced/operator-role-binding-keda.yaml | 0
.../namespaced/operator-role-binding-knative.yaml | 0
.../namespaced/operator-role-binding-leases.yaml | 0
.../operator-role-binding-podmonitors.yaml | 0
.../namespaced/operator-role-binding-strimzi.yaml | 0
.../rbac/namespaced/operator-role-binding.yaml | 0
.../rbac/namespaced/operator-role-events.yaml | 0
.../rbac/namespaced/operator-role-keda.yaml | 0
.../rbac/namespaced/operator-role-knative.yaml | 0
.../rbac/namespaced/operator-role-leases.yaml | 0
.../rbac/namespaced/operator-role-podmonitors.yaml | 0
.../rbac/namespaced/operator-role-strimzi.yaml | 0
.../config}/rbac/namespaced/operator-role.yaml | 0
.../rbac/openshift/descoped/kustomization.yaml | 0
.../operator-cluster-role-binding-openshift.yaml | 0
.../descoped/operator-cluster-role-openshift.yaml | 0
.../config}/rbac/openshift/kustomization.yaml | 0
.../rbac/openshift/namespaced/kustomization.yaml | 0
.../operator-role-binding-openshift.yaml | 0
.../namespaced/operator-role-openshift.yaml | 0
...tor-cluster-role-console-binding-openshift.yaml | 0
.../operator-cluster-role-console-openshift.yaml | 0
...operator-cluster-role-addressable-resolver.yaml | 0
...-cluster-role-binding-addressable-resolver.yaml | 0
...r-role-binding-custom-resource-definitions.yaml | 0
...r-cluster-role-custom-resource-definitions.yaml | 0
.../rbac/operator-cluster-role-local-registry.yaml | 0
.../rbac/operator-role-binding-local-registry.yaml | 0
.../config}/rbac/patch-role-to-clusterrole.yaml | 0
.../patch-rolebinding-to-clusterrolebinding.yaml | 0
.../resources/config}/rbac/user-cluster-role.yaml | 0
.../config}/samples/bases/camel_v1_build.yaml | 0
.../samples/bases/camel_v1_camelcatalog.yaml | 0
.../samples/bases/camel_v1_integration.yaml | 0
.../samples/bases/camel_v1_integrationkit.yaml | 0
.../bases/camel_v1_integrationplatform.yaml | 0
.../config}/samples/bases/camel_v1_kamelet.yaml | 0
.../config}/samples/bases/camel_v1_pipe.yaml | 0
.../bases/camel_v1alpha1_kameletbinding.yaml | 0
.../resources/config}/samples/kustomization.yaml | 0
.../samples/patch-integration-platform.yaml | 0
.../resources/config}/scorecard/.vfsignore | 0
.../resources/config}/scorecard/bases/config.yaml | 0
.../resources/config}/scorecard/kustomization.yaml | 0
.../config}/scorecard/patches/basic.config.yaml | 0
.../config}/scorecard/patches/olm.config.yaml | 0
pkg/resources/resources.go | 1056 ------------
.../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 | 0
.../resources}/builder/builder-role-binding.yaml | 0
.../resources}/builder/builder-role-openshift.yaml | 0
.../resources/resources}/builder/builder-role.yaml | 0
.../builder/builder-service-account.yaml | 0
.../resources/resources}/camel-catalog-3.2.3.yaml | 0
.../user-global-kamelet-viewer-role-binding.yaml | 0
.../viewer/user-global-kamelet-viewer-role.yaml | 0
.../user-global-platform-viewer-role-binding.yaml | 0
.../viewer/user-global-platform-viewer-role.yaml | 0
pkg/resources/resources_support.go | 45 +-
pkg/resources/resources_test.go | 71 +-
pkg/util/camel/catalog.go | 2 +-
resources/templates/groovy.tmpl | 8 -
resources/templates/java.tmpl | 17 -
resources/templates/js.tmpl | 8 -
resources/templates/kamelet.tmpl | 40 -
resources/templates/kts.tmpl | 8 -
resources/templates/xml.tmpl | 19 -
resources/templates/yaml.tmpl | 11 -
resources/traits.yaml | 1683 --------------------
script/Makefile | 17 +-
script/gen_crd.sh | 6 +-
script/get_catalog.sh | 2 +-
script/offline_dependencies.sh | 2 +-
script/set_version.sh | 4 +-
script/update_docs.sh | 2 +-
143 files changed, 144 insertions(+), 3503 deletions(-)
delete mode 100644 cmd/util/vfs-gen/main.go
delete mode 100644 cmd/util/vfs-gen/multifs/multidir.go
rename {config => pkg/resources/config}/crd/bases/camel.apache.org_builds.yaml (100%)
rename {config => pkg/resources/config}/crd/bases/camel.apache.org_camelcatalogs.yaml (100%)
rename {config => pkg/resources/config}/crd/bases/camel.apache.org_integrationkits.yaml (100%)
rename {config => pkg/resources/config}/crd/bases/camel.apache.org_integrationplatforms.yaml (100%)
rename {config => pkg/resources/config}/crd/bases/camel.apache.org_integrations.yaml (100%)
rename {config => pkg/resources/config}/crd/bases/camel.apache.org_kameletbindings.yaml (100%)
rename {config => pkg/resources/config}/crd/bases/camel.apache.org_kamelets.yaml (100%)
rename {config => pkg/resources/config}/crd/bases/camel.apache.org_pipes.yaml (100%)
rename {config => pkg/resources/config}/crd/kustomization.yaml (100%)
rename {config => pkg/resources/config}/manager/kustomization.yaml (100%)
rename {config => pkg/resources/config}/manager/operator-deployment.yaml (100%)
rename {config => pkg/resources/config}/manager/operator-service-account.yaml (100%)
rename {config => pkg/resources/config}/manager/patch-image-pull-policy-always.yaml (100%)
rename {config => pkg/resources/config}/manager/patch-install-default-kamelets.yaml (100%)
rename {config => pkg/resources/config}/manager/patch-log-level.yaml (100%)
rename {config => pkg/resources/config}/manager/patch-node-selector.yaml (100%)
rename {config => pkg/resources/config}/manager/patch-ports.yaml (100%)
rename {config => pkg/resources/config}/manager/patch-resource-requirements.yaml (100%)
rename {config => pkg/resources/config}/manager/patch-toleration.yaml (100%)
rename {config => pkg/resources/config}/manager/patch-watch-namespace-global.yaml (100%)
rename {config => pkg/resources/config}/manifests/.vfsignore (100%)
rename {config => pkg/resources/config}/manifests/bases/camel-k.clusterserviceversion.yaml (99%)
rename {config => pkg/resources/config}/manifests/kustomization.yaml (100%)
rename {config => pkg/resources/config}/manifests/patch-delete-pvc.yaml (100%)
rename {config => pkg/resources/config}/manifests/patch-delete-user-cluster-role.yaml (100%)
rename {config => pkg/resources/config}/prometheus/kustomization.yaml (100%)
rename {config => pkg/resources/config}/prometheus/operator-pod-monitor.yaml (100%)
rename {config => pkg/resources/config}/prometheus/operator-prometheus-rule.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/kustomization.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-binding-events.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-binding-keda.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-binding-knative.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-binding-leases.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-binding-podmonitors.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-binding-strimzi.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-binding.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-events.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-keda.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-knative.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-leases.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-podmonitors.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role-strimzi.yaml (100%)
rename {config => pkg/resources/config}/rbac/descoped/operator-cluster-role.yaml (100%)
rename {config => pkg/resources/config}/rbac/kustomization.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/kustomization.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-binding-events.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-binding-keda.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-binding-knative.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-binding-leases.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-binding-podmonitors.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-binding-strimzi.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-binding.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-events.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-keda.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-knative.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-leases.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-podmonitors.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role-strimzi.yaml (100%)
rename {config => pkg/resources/config}/rbac/namespaced/operator-role.yaml (100%)
rename {config => pkg/resources/config}/rbac/openshift/descoped/kustomization.yaml (100%)
rename {config => pkg/resources/config}/rbac/openshift/descoped/operator-cluster-role-binding-openshift.yaml (100%)
rename {config => pkg/resources/config}/rbac/openshift/descoped/operator-cluster-role-openshift.yaml (100%)
rename {config => pkg/resources/config}/rbac/openshift/kustomization.yaml (100%)
rename {config => pkg/resources/config}/rbac/openshift/namespaced/kustomization.yaml (100%)
rename {config => pkg/resources/config}/rbac/openshift/namespaced/operator-role-binding-openshift.yaml (100%)
rename {config => pkg/resources/config}/rbac/openshift/namespaced/operator-role-openshift.yaml (100%)
rename {config => pkg/resources/config}/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml (100%)
rename {config => pkg/resources/config}/rbac/openshift/operator-cluster-role-console-openshift.yaml (100%)
rename {config => pkg/resources/config}/rbac/operator-cluster-role-addressable-resolver.yaml (100%)
rename {config => pkg/resources/config}/rbac/operator-cluster-role-binding-addressable-resolver.yaml (100%)
rename {config => pkg/resources/config}/rbac/operator-cluster-role-binding-custom-resource-definitions.yaml (100%)
rename {config => pkg/resources/config}/rbac/operator-cluster-role-custom-resource-definitions.yaml (100%)
rename {config => pkg/resources/config}/rbac/operator-cluster-role-local-registry.yaml (100%)
rename {config => pkg/resources/config}/rbac/operator-role-binding-local-registry.yaml (100%)
rename {config => pkg/resources/config}/rbac/patch-role-to-clusterrole.yaml (100%)
rename {config => pkg/resources/config}/rbac/patch-rolebinding-to-clusterrolebinding.yaml (100%)
rename {config => pkg/resources/config}/rbac/user-cluster-role.yaml (100%)
rename {config => pkg/resources/config}/samples/bases/camel_v1_build.yaml (100%)
rename {config => pkg/resources/config}/samples/bases/camel_v1_camelcatalog.yaml (100%)
rename {config => pkg/resources/config}/samples/bases/camel_v1_integration.yaml (100%)
rename {config => pkg/resources/config}/samples/bases/camel_v1_integrationkit.yaml (100%)
rename {config => pkg/resources/config}/samples/bases/camel_v1_integrationplatform.yaml (100%)
rename {config => pkg/resources/config}/samples/bases/camel_v1_kamelet.yaml (100%)
rename {config => pkg/resources/config}/samples/bases/camel_v1_pipe.yaml (100%)
rename {config => pkg/resources/config}/samples/bases/camel_v1alpha1_kameletbinding.yaml (100%)
rename {config => pkg/resources/config}/samples/kustomization.yaml (100%)
rename {config => pkg/resources/config}/samples/patch-integration-platform.yaml (100%)
rename {config => pkg/resources/config}/scorecard/.vfsignore (100%)
rename {config => pkg/resources/config}/scorecard/bases/config.yaml (100%)
rename {config => pkg/resources/config}/scorecard/kustomization.yaml (100%)
rename {config => pkg/resources/config}/scorecard/patches/basic.config.yaml (100%)
rename {config => pkg/resources/config}/scorecard/patches/olm.config.yaml (100%)
delete mode 100644 pkg/resources/resources.go
rename {resources => pkg/resources/resources}/addons/master/master-role-binding.tmpl (100%)
rename {resources => pkg/resources/resources}/addons/master/master-role-configmap.tmpl (100%)
rename {resources => pkg/resources/resources}/addons/master/master-role-lease.tmpl (100%)
rename {resources => pkg/resources/resources}/builder/builder-role-binding-openshift.yaml (100%)
rename {resources => pkg/resources/resources}/builder/builder-role-binding.yaml (100%)
rename {resources => pkg/resources/resources}/builder/builder-role-openshift.yaml (100%)
rename {resources => pkg/resources/resources}/builder/builder-role.yaml (100%)
rename {resources => pkg/resources/resources}/builder/builder-service-account.yaml (100%)
rename {resources => pkg/resources/resources}/camel-catalog-3.2.3.yaml (100%)
rename {resources => pkg/resources/resources}/viewer/user-global-kamelet-viewer-role-binding.yaml (100%)
rename {resources => pkg/resources/resources}/viewer/user-global-kamelet-viewer-role.yaml (100%)
rename {resources => pkg/resources/resources}/viewer/user-global-platform-viewer-role-binding.yaml (100%)
rename {resources => pkg/resources/resources}/viewer/user-global-platform-viewer-role.yaml (100%)
delete mode 100644 resources/templates/groovy.tmpl
delete mode 100644 resources/templates/java.tmpl
delete mode 100644 resources/templates/js.tmpl
delete mode 100644 resources/templates/kamelet.tmpl
delete mode 100644 resources/templates/kts.tmpl
delete mode 100644 resources/templates/xml.tmpl
delete mode 100644 resources/templates/yaml.tmpl
delete mode 100755 resources/traits.yaml
(camel-k) 01/02: feat(ci): go:embed usage
Posted by pc...@apache.org.
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
commit 46a03625b5350ce410cb95a88ab5f74939b8c8c4
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Fri Feb 16 10:59:48 2024 +0100
feat(ci): go:embed usage
Closes #3384
---
.github/workflows/java.yml | 4 +-
addons/master/master.go | 2 +-
.../bases/camel-k.clusterserviceversion.yaml | 172 +---
.../pages/installation/advanced/kustomize.adoc | 2 +-
.../ROOT/pages/installation/installation.adoc | 8 +-
e2e/install/upgrade/helm_upgrade_test.go | 2 +-
e2e/support/test_support.go | 10 +-
install/config | 2 +-
java/crds/pom.xml | 2 +-
pkg/controller/integrationplatform/create.go | 2 +-
pkg/install/builder.go | 16 +-
pkg/install/cluster.go | 12 +-
pkg/install/kamelets.go | 4 +-
pkg/install/operator.go | 84 +-
pkg/install/platform.go | 4 +-
.../config}/crd/bases/camel.apache.org_builds.yaml | 0
.../crd/bases/camel.apache.org_camelcatalogs.yaml | 0
.../bases/camel.apache.org_integrationkits.yaml | 0
.../camel.apache.org_integrationplatforms.yaml | 0
.../crd/bases/camel.apache.org_integrations.yaml | 0
.../bases/camel.apache.org_kameletbindings.yaml | 0
.../crd/bases/camel.apache.org_kamelets.yaml | 0
.../config}/crd/bases/camel.apache.org_pipes.yaml | 0
.../resources/config}/crd/kustomization.yaml | 0
.../resources/config}/manager/kustomization.yaml | 0
.../config}/manager/operator-deployment.yaml | 0
.../config}/manager/operator-service-account.yaml | 0
.../manager/patch-image-pull-policy-always.yaml | 0
.../manager/patch-install-default-kamelets.yaml | 0
.../resources/config}/manager/patch-log-level.yaml | 0
.../config}/manager/patch-node-selector.yaml | 0
.../resources/config}/manager/patch-ports.yaml | 0
.../manager/patch-resource-requirements.yaml | 0
.../config}/manager/patch-toleration.yaml | 0
.../manager/patch-watch-namespace-global.yaml | 0
.../resources/config}/manifests/.vfsignore | 0
.../bases/camel-k.clusterserviceversion.yaml | 2 +-
.../resources/config}/manifests/kustomization.yaml | 0
.../config}/manifests/patch-delete-pvc.yaml | 0
.../manifests/patch-delete-user-cluster-role.yaml | 0
.../config}/prometheus/kustomization.yaml | 0
.../config}/prometheus/operator-pod-monitor.yaml | 0
.../prometheus/operator-prometheus-rule.yaml | 0
.../config}/rbac/descoped/kustomization.yaml | 0
.../operator-cluster-role-binding-events.yaml | 0
.../operator-cluster-role-binding-keda.yaml | 0
.../operator-cluster-role-binding-knative.yaml | 0
.../operator-cluster-role-binding-leases.yaml | 0
.../operator-cluster-role-binding-podmonitors.yaml | 0
.../operator-cluster-role-binding-strimzi.yaml | 0
.../descoped/operator-cluster-role-binding.yaml | 0
.../descoped/operator-cluster-role-events.yaml | 0
.../rbac/descoped/operator-cluster-role-keda.yaml | 0
.../descoped/operator-cluster-role-knative.yaml | 0
.../descoped/operator-cluster-role-leases.yaml | 0
.../operator-cluster-role-podmonitors.yaml | 0
.../descoped/operator-cluster-role-strimzi.yaml | 0
.../rbac/descoped/operator-cluster-role.yaml | 0
.../resources/config}/rbac/kustomization.yaml | 0
.../config}/rbac/namespaced/kustomization.yaml | 0
.../namespaced/operator-role-binding-events.yaml | 0
.../namespaced/operator-role-binding-keda.yaml | 0
.../namespaced/operator-role-binding-knative.yaml | 0
.../namespaced/operator-role-binding-leases.yaml | 0
.../operator-role-binding-podmonitors.yaml | 0
.../namespaced/operator-role-binding-strimzi.yaml | 0
.../rbac/namespaced/operator-role-binding.yaml | 0
.../rbac/namespaced/operator-role-events.yaml | 0
.../rbac/namespaced/operator-role-keda.yaml | 0
.../rbac/namespaced/operator-role-knative.yaml | 0
.../rbac/namespaced/operator-role-leases.yaml | 0
.../rbac/namespaced/operator-role-podmonitors.yaml | 0
.../rbac/namespaced/operator-role-strimzi.yaml | 0
.../config}/rbac/namespaced/operator-role.yaml | 0
.../rbac/openshift/descoped/kustomization.yaml | 0
.../operator-cluster-role-binding-openshift.yaml | 0
.../descoped/operator-cluster-role-openshift.yaml | 0
.../config}/rbac/openshift/kustomization.yaml | 0
.../rbac/openshift/namespaced/kustomization.yaml | 0
.../operator-role-binding-openshift.yaml | 0
.../namespaced/operator-role-openshift.yaml | 0
...tor-cluster-role-console-binding-openshift.yaml | 0
.../operator-cluster-role-console-openshift.yaml | 0
...operator-cluster-role-addressable-resolver.yaml | 0
...-cluster-role-binding-addressable-resolver.yaml | 0
...r-role-binding-custom-resource-definitions.yaml | 0
...r-cluster-role-custom-resource-definitions.yaml | 0
.../rbac/operator-cluster-role-local-registry.yaml | 0
.../rbac/operator-role-binding-local-registry.yaml | 0
.../config}/rbac/patch-role-to-clusterrole.yaml | 0
.../patch-rolebinding-to-clusterrolebinding.yaml | 0
.../resources/config}/rbac/user-cluster-role.yaml | 0
.../config}/samples/bases/camel_v1_build.yaml | 0
.../samples/bases/camel_v1_camelcatalog.yaml | 0
.../samples/bases/camel_v1_integration.yaml | 0
.../samples/bases/camel_v1_integrationkit.yaml | 0
.../bases/camel_v1_integrationplatform.yaml | 0
.../config}/samples/bases/camel_v1_kamelet.yaml | 0
.../config}/samples/bases/camel_v1_pipe.yaml | 0
.../bases/camel_v1alpha1_kameletbinding.yaml | 0
.../resources/config}/samples/kustomization.yaml | 0
.../samples/patch-integration-platform.yaml | 0
.../resources/config}/scorecard/.vfsignore | 0
.../resources/config}/scorecard/bases/config.yaml | 0
.../resources/config}/scorecard/kustomization.yaml | 0
.../config}/scorecard/patches/basic.config.yaml | 0
.../config}/scorecard/patches/olm.config.yaml | 0
pkg/resources/resources.go | 1056 --------------------
.../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 | 0
.../resources}/builder/builder-role-binding.yaml | 0
.../resources}/builder/builder-role-openshift.yaml | 0
.../resources/resources}/builder/builder-role.yaml | 0
.../builder/builder-service-account.yaml | 0
.../resources/resources}/camel-catalog-3.2.3.yaml | 0
{resources => pkg/resources/resources}/traits.yaml | 0
.../user-global-kamelet-viewer-role-binding.yaml | 0
.../viewer/user-global-kamelet-viewer-role.yaml | 0
.../user-global-platform-viewer-role-binding.yaml | 0
.../viewer/user-global-platform-viewer-role.yaml | 0
pkg/resources/resources_support.go | 50 +-
pkg/resources/resources_test.go | 72 +-
pkg/util/camel/catalog.go | 2 +-
resources/templates/groovy.tmpl | 8 -
resources/templates/java.tmpl | 17 -
resources/templates/js.tmpl | 8 -
resources/templates/kamelet.tmpl | 40 -
resources/templates/kts.tmpl | 8 -
resources/templates/xml.tmpl | 19 -
resources/templates/yaml.tmpl | 11 -
script/Makefile | 15 +-
script/gen_crd.sh | 6 +-
script/get_catalog.sh | 2 +-
script/offline_dependencies.sh | 2 +-
script/set_version.sh | 4 +-
script/update_docs.sh | 2 +-
138 files changed, 166 insertions(+), 1484 deletions(-)
diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml
index 9b69a2011..b322a0cf7 100644
--- a/.github/workflows/java.yml
+++ b/.github/workflows/java.yml
@@ -27,14 +27,14 @@ on:
- "release-*"
paths:
- "java/**"
- - "config/crd/**"
+ - "pkg/resources/config/crd/**"
push:
branches:
- main
- "release-*"
paths:
- "java/**"
- - "config/crd/**"
+ - "pkg/resources/config/crd/**"
workflow_dispatch:
concurrency:
diff --git a/addons/master/master.go b/addons/master/master.go
index e2002e806..b28730784 100644
--- a/addons/master/master.go
+++ b/addons/master/master.go
@@ -247,7 +247,7 @@ func findAdditionalDependencies(e *trait.Environment, meta metadata.IntegrationM
}
func loadResource(e *trait.Environment, name string, params interface{}) (ctrl.Object, error) {
- data, err := resources.TemplateResource(fmt.Sprintf("/addons/master/%s", name), params)
+ data, err := resources.TemplateResource(fmt.Sprintf("/resources/addons/master/%s", name), params)
if err != nil {
return nil, err
}
diff --git a/config/manifests/bases/camel-k.clusterserviceversion.yaml b/config/manifests/bases/camel-k.clusterserviceversion.yaml
index 78bd51d80..79bc1eacf 100644
--- a/config/manifests/bases/camel-k.clusterserviceversion.yaml
+++ b/config/manifests/bases/camel-k.clusterserviceversion.yaml
@@ -1,177 +1,39 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
- capabilities: Full Lifecycle
- categories: Integration & Delivery
- certified: "false"
- containerImage: docker.io/apache/camel-k:2.3.0-SNAPSHOT
- createdAt: 2024-01-08T10:32:24Z
- description: Apache Camel K is a lightweight integration platform, born on Kubernetes,
- with serverless superpowers.
- operators.operatorframework.io/builder: operator-sdk-v1.16.0
- operators.operatorframework.io/internal-objects: '["builds.camel.apache.org","integrationkits.camel.apache.org","camelcatalogs.camel.apache.org"]'
- operators.operatorframework.io/project_layout: go.kubebuilder.io/v2
- repository: https://github.com/apache/camel-k
- support: Camel
- name: camel-k.v2.3.0
+ alm-examples: '[]'
+ capabilities: Basic Install
+ name: camel-k.v0.0.0
namespace: placeholder
spec:
apiservicedefinitions: {}
- customresourcedefinitions:
- owned:
- - description: Build is the Schema for the builds API
- displayName: Build
- kind: Build
- name: builds.camel.apache.org
- version: v1
- - description: CamelCatalog is the Schema for the camelcatalogs API
- displayName: Camel Catalog
- kind: CamelCatalog
- name: camelcatalogs.camel.apache.org
- version: v1
- - description: IntegrationKit is the Schema for the integrationkits API
- displayName: Integration Kit
- kind: IntegrationKit
- name: integrationkits.camel.apache.org
- version: v1
- - description: IntegrationPlatform is the Schema for the integrationplatforms
- API
- displayName: Integration Platform
- kind: IntegrationPlatform
- name: integrationplatforms.camel.apache.org
- version: v1
- - description: Integration is the Schema for the integrations API
- displayName: Integration
- kind: Integration
- name: integrations.camel.apache.org
- version: v1
- - description: Pipe is the Schema for the pipes API
- displayName: Pipe
- kind: Pipe
- name: pipes.camel.apache.org
- version: v1
- - description: Kamelet is the Schema for the kamelets API
- displayName: Kamelet
- kind: Kamelet
- name: kamelets.camel.apache.org
- version: v1
- - description: KameletBinding is the Schema for the kameletbindings API
- displayName: KameletBinding
- kind: KameletBinding
- name: kameletbindings.camel.apache.org
- version: v1alpha1
- - description: Kamelet is the Schema for the kamelets API
- displayName: Kamelet
- kind: Kamelet
- name: kamelets.camel.apache.org
- version: v1alpha1
- description: |
- Apache Camel K
- ==============
-
- Apache Camel K is a lightweight integration platform, born on Kubernetes, with serverless superpowers:
- the easiest way to build and manage your Camel applications on Kubernetes.
-
- ## Installation
-
- You may need to specify the container registry where to store the container images created for the Camel applications.
- To start using Camel K, install the operator and then create the following `IntegrationPlatform`:
- ```
- apiVersion: camel.apache.org/v1
- kind: IntegrationPlatform
- metadata:
- name: camel-k
- labels:
- app: "camel-k"
- spec:
- build:
- registry:
- address: docker.io/my-org
- ```
-
- An `IntegrationPlatform` resource is automatically created by default on OpenShift, so you can skip this step when using Openshift cluster.
-
- ## Running an Integration
-
- Run a Camel application on the cluster by creating a sample `Integration`, e.g.:
- ```
- apiVersion: camel.apache.org/v1
- kind: Integration
- metadata:
- annotations:
- camel.apache.org/operator.id: camel-k
- name: test
- spec:
- flows:
- - from:
- parameters:
- period: "1000"
- steps:
- - setBody:
- simple: Hello Camel from ${routeId}
- - log: ${body}
- uri: timer:yaml
- ```
- Log the result of the running application:
- ```
- kubectl wait --for=condition=ready integration test --timeout=180s
- kubectl logs deployment/test -f
- ```
- displayName: Camel K Operator
+ customresourcedefinitions: {}
+ description: ss
+ displayName: ss
icon:
- - base64data: PHN2ZyB2aWV3Qm94PSIwIDAgMTMwLjIxIDEzMC4wMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgxPSIzMzMuNDgiIHgyPSI0NzciIHkxPSI3MDIuNiIgeTI9IjU2My43MyIgZ3JhZGllbnRUcmFuc2Zvcm09InRyYW5zbGF0ZSg5NC4wMzggMjc2LjA2KSBzY2FsZSguOTkyMDYpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agc3RvcC1jb2xvcj0iI0Y2OTkyMyIgb2Zmc2V0PSIwIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0Y3OUEyMyIgb2Zmc2V0PSIuMTEiLz48c3RvcCBzdG9wLWNvbG9yPSIjRTk3ODI2IiBvZmZzZXQ9Ii45NDUiLz48L2xp [...]
- mediatype: image/svg+xml
+ - base64data: ""
+ mediatype: ""
install:
spec:
deployments: null
- strategy: deployment
+ strategy: ""
installModes:
- - supported: true
+ - supported: false
type: OwnNamespace
- - supported: true
+ - supported: false
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: true
type: AllNamespaces
keywords:
- - apache
- - kamel
- - kubernetes
- - serverless
- - microservices
- labels:
- name: camel-k-operator
+ - ss
links:
- - name: Camel K source code repository
- url: https://github.com/apache/camel-k
- maintainers:
- - email: users@camel.apache.org
- name: The Apache Software Foundation
+ - name: Camel K
+ url: https://camel-k.domain
maturity: alpha
- minKubeVersion: 1.11.0
provider:
- name: The Apache Software Foundation
- replaces: camel-k-operator.v2.2.0
- selector:
- matchLabels:
- name: camel-k-operator
- version: 2.3.0
+ name: ss
+ url: ss
+ version: 0.0.0
diff --git a/docs/modules/ROOT/pages/installation/advanced/kustomize.adoc b/docs/modules/ROOT/pages/installation/advanced/kustomize.adoc
index 634f5554a..50b1bcdcb 100644
--- a/docs/modules/ROOT/pages/installation/advanced/kustomize.adoc
+++ b/docs/modules/ROOT/pages/installation/advanced/kustomize.adoc
@@ -24,7 +24,7 @@ The kustomization resources can be applied directly to a cluster using ``kubectl
Due to its declarative nature, it is expected that the configuration files would be edited to suit the
custom implementation. For example, when creating an integration-platform:
-* ``kustomization.yaml`` references configuration in ``config/samples/patch-integration-platform.yaml``
+* ``kustomization.yaml`` references configuration in ``pkg/resources/config/samples/patch-integration-platform.yaml``
* Edit this file according to installation requirements
* Apply the resources by executing ``kubectl -k platform``
diff --git a/docs/modules/ROOT/pages/installation/installation.adoc b/docs/modules/ROOT/pages/installation/installation.adoc
index 30cf1a9bd..a02a3b01e 100644
--- a/docs/modules/ROOT/pages/installation/installation.adoc
+++ b/docs/modules/ROOT/pages/installation/installation.adoc
@@ -50,13 +50,13 @@ $ kubectl kustomize --load-restrictor LoadRestrictionsNone setup-cluster/ | kube
```
$ kubectl apply -k setup
-$ kubectl apply -k config/rbac/namespaced
+$ kubectl apply -k pkg/resources/config/rbac/namespaced
# For openshift
-$ kubectl apply -k config/rbac/openshift
-$ kubectl apply -k config/rbac/openshift/namespaced
+$ kubectl apply -k pkg/resources/config/rbac/openshift
+$ kubectl apply -k pkg/resources/config/rbac/openshift/namespaced
```
-Should you want your operator operator to watch all namespaces (global operator), you will replace `config/rbac/namespaced` by `config/rbac/descoped` and `config/rbac/openshift/namespaced` by `config/rbac/openshift/descoped`.
+Should you want your operator operator to watch all namespaces (global operator), you will replace `pkg/resources/config/rbac/namespaced` by `pkg/resources/config/rbac/descoped` and `pkg/resources/config/rbac/openshift/namespaced` by `pkg/resources/config/rbac/openshift/descoped`.
**Finally the operator can be deployed**
diff --git a/e2e/install/upgrade/helm_upgrade_test.go b/e2e/install/upgrade/helm_upgrade_test.go
index b371c35e3..b458c9aca 100644
--- a/e2e/install/upgrade/helm_upgrade_test.go
+++ b/e2e/install/upgrade/helm_upgrade_test.go
@@ -148,7 +148,7 @@ func TestHelmOperatorUpgrade(t *testing.T) {
"kubectl",
"delete",
"-k",
- "../../../config/crd/",
+ "../../../pkg/resources/config/crd/",
"-n",
ns,
),
diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go
index 4036206b5..38903b40f 100644
--- a/e2e/support/test_support.go
+++ b/e2e/support/test_support.go
@@ -2454,7 +2454,7 @@ func ClusterDomainName() (string, error) {
*/
func CreateOperatorServiceAccount(ns string) error {
- return install.Resource(TestContext, TestClient(), ns, true, install.IdentityResourceCustomizer, "/manager/operator-service-account.yaml")
+ return install.Resource(TestContext, TestClient(), ns, true, install.IdentityResourceCustomizer, "/config/manager/operator-service-account.yaml")
}
func CreateOperatorRole(ns string) (err error) {
@@ -2468,12 +2468,12 @@ func CreateOperatorRole(ns string) (err error) {
// This should ideally be removed from the common RBAC manifest.
customizer = install.RemoveIngressRoleCustomizer
}
- err = install.Resource(TestContext, TestClient(), ns, true, customizer, "/rbac/namespaced/operator-role.yaml")
+ err = install.Resource(TestContext, TestClient(), ns, true, customizer, "/config/rbac/namespaced/operator-role.yaml")
if err != nil {
return err
}
if oc {
- return install.Resource(TestContext, TestClient(), ns, true, install.IdentityResourceCustomizer, "/rbac/openshift/namespaced/operator-role-openshift.yaml")
+ return install.Resource(TestContext, TestClient(), ns, true, install.IdentityResourceCustomizer, "/config/rbac/openshift/namespaced/operator-role-openshift.yaml")
}
return nil
}
@@ -2483,12 +2483,12 @@ func CreateOperatorRoleBinding(ns string) error {
if err != nil {
failTest(err)
}
- err = install.Resource(TestContext, TestClient(), ns, true, install.IdentityResourceCustomizer, "/rbac/namespaced/operator-role-binding.yaml")
+ err = install.Resource(TestContext, TestClient(), ns, true, install.IdentityResourceCustomizer, "/config/rbac/namespaced/operator-role-binding.yaml")
if err != nil {
return err
}
if oc {
- return install.Resource(TestContext, TestClient(), ns, true, install.IdentityResourceCustomizer, "/rbac/openshift/namespaced/operator-role-binding-openshift.yaml")
+ return install.Resource(TestContext, TestClient(), ns, true, install.IdentityResourceCustomizer, "/config/rbac/openshift/namespaced/operator-role-binding-openshift.yaml")
}
return nil
}
diff --git a/install/config b/install/config
index 3ca249e06..90c8cdbdc 120000
--- a/install/config
+++ b/install/config
@@ -1 +1 @@
-../config
\ No newline at end of file
+../pkg/resources/config/
\ No newline at end of file
diff --git a/java/crds/pom.xml b/java/crds/pom.xml
index 2375e6306..69bc5217a 100644
--- a/java/crds/pom.xml
+++ b/java/crds/pom.xml
@@ -112,7 +112,7 @@
</execution>
</executions>
<configuration>
- <source>../../config/crd/bases</source>
+ <source>../../pkg/resources/config/crd/bases</source>
<extraAnnotations>true</extraAnnotations>
</configuration>
</plugin>
diff --git a/pkg/controller/integrationplatform/create.go b/pkg/controller/integrationplatform/create.go
index a5d21f79d..07586cda2 100644
--- a/pkg/controller/integrationplatform/create.go
+++ b/pkg/controller/integrationplatform/create.go
@@ -48,7 +48,7 @@ func (action *createAction) CanHandle(platform *v1.IntegrationPlatform) bool {
}
func (action *createAction) Handle(ctx context.Context, platform *v1.IntegrationPlatform) (*v1.IntegrationPlatform, error) {
- paths, err := resources.WithPrefix("/camel-catalog-")
+ paths, err := resources.WithPrefix("/resources/camel-catalog-")
if err != nil {
return nil, err
}
diff --git a/pkg/install/builder.go b/pkg/install/builder.go
index 6abd64531..44a9f238c 100644
--- a/pkg/install/builder.go
+++ b/pkg/install/builder.go
@@ -40,18 +40,18 @@ func BuilderServiceAccountRoles(ctx context.Context, c client.Client, namespace
func installBuilderServiceAccountRolesOpenShift(ctx context.Context, c client.Client, namespace string) error {
return ResourcesOrCollect(ctx, c, namespace, nil, true, IdentityResourceCustomizer,
- "/builder/builder-service-account.yaml",
- "/builder/builder-role.yaml",
- "/builder/builder-role-binding.yaml",
- "/builder/builder-role-openshift.yaml",
- "/builder/builder-role-binding-openshift.yaml",
+ "/resources/builder/builder-service-account.yaml",
+ "/resources/builder/builder-role.yaml",
+ "/resources/builder/builder-role-binding.yaml",
+ "/resources/builder/builder-role-openshift.yaml",
+ "/resources/builder/builder-role-binding-openshift.yaml",
)
}
func installBuilderServiceAccountRolesKubernetes(ctx context.Context, c client.Client, namespace string) error {
return ResourcesOrCollect(ctx, c, namespace, nil, true, IdentityResourceCustomizer,
- "/builder/builder-service-account.yaml",
- "/builder/builder-role.yaml",
- "/builder/builder-role-binding.yaml",
+ "/resources/builder/builder-service-account.yaml",
+ "/resources/builder/builder-role.yaml",
+ "/resources/builder/builder-role-binding.yaml",
)
}
diff --git a/pkg/install/cluster.go b/pkg/install/cluster.go
index 32334b8a7..2b0e85a6d 100644
--- a/pkg/install/cluster.go
+++ b/pkg/install/cluster.go
@@ -75,7 +75,7 @@ func installClusterRoles(
return err
}
if !ok || collection != nil {
- err := installResource(ctx, c, collection, "/rbac/user-cluster-role.yaml")
+ err := installResource(ctx, c, collection, "/config/rbac/user-cluster-role.yaml")
if err != nil {
return err
}
@@ -88,7 +88,7 @@ func installClusterRoles(
}
if !ok {
if err := installResource(ctx, c, collection,
- "/rbac/operator-cluster-role-custom-resource-definitions.yaml"); err != nil {
+ "/config/rbac/operator-cluster-role-custom-resource-definitions.yaml"); err != nil {
return err
}
}
@@ -97,7 +97,7 @@ func installClusterRoles(
ok, err = isClusterRoleInstalled(ctx, c, "camel-k-operator-local-registry")
if err == nil && !ok {
// ignore errors
- _ = installResource(ctx, c, collection, "/rbac/operator-cluster-role-local-registry.yaml")
+ _ = installResource(ctx, c, collection, "/config/rbac/operator-cluster-role-local-registry.yaml")
}
// === For OpenShift ===
@@ -112,7 +112,7 @@ func installClusterRoles(
return err
}
if !ok || collection != nil {
- err := installResource(ctx, c, collection, "/rbac/openshift/operator-cluster-role-console-openshift.yaml")
+ err := installResource(ctx, c, collection, "/config/rbac/openshift/operator-cluster-role-console-openshift.yaml")
if err != nil {
return err
}
@@ -131,7 +131,7 @@ func installClusterRoles(
return err
}
if !ok || collection != nil {
- err := installResource(ctx, c, collection, "/rbac/operator-cluster-role-addressable-resolver.yaml")
+ err := installResource(ctx, c, collection, "/config/rbac/operator-cluster-role-addressable-resolver.yaml")
if err != nil {
return err
}
@@ -352,7 +352,7 @@ func installCRD(
ctx context.Context, c client.Client, kind string, version string, resourceName string,
customizer ResourceCustomizer, collection *kubernetes.Collection, force bool,
) error {
- content, err := resources.ResourceAsString("/crd/bases/" + resourceName)
+ content, err := resources.ResourceAsString("config/crd/bases/" + resourceName)
if err != nil {
return err
}
diff --git a/pkg/install/kamelets.go b/pkg/install/kamelets.go
index 212ff990f..479eb8463 100644
--- a/pkg/install/kamelets.go
+++ b/pkg/install/kamelets.go
@@ -212,8 +212,8 @@ func loadKamelet(path string, namespace string) (ctrl.Object, error) {
// KameletViewerRole installs the role that allows any user ro access kamelets in the global namespace.
func KameletViewerRole(ctx context.Context, c client.Client, namespace string) error {
- if err := Resource(ctx, c, namespace, true, IdentityResourceCustomizer, "/viewer/user-global-kamelet-viewer-role.yaml"); err != nil {
+ if err := Resource(ctx, c, namespace, true, IdentityResourceCustomizer, "/resources/viewer/user-global-kamelet-viewer-role.yaml"); err != nil {
return err
}
- return Resource(ctx, c, namespace, true, IdentityResourceCustomizer, "/viewer/user-global-kamelet-viewer-role-binding.yaml")
+ return Resource(ctx, c, namespace, true, IdentityResourceCustomizer, "/resources/viewer/user-global-kamelet-viewer-role-binding.yaml")
}
diff --git a/pkg/install/operator.go b/pkg/install/operator.go
index 5681ca646..0577e2b66 100644
--- a/pkg/install/operator.go
+++ b/pkg/install/operator.go
@@ -257,7 +257,7 @@ func OperatorOrCollect(ctx context.Context, cmd *cobra.Command, c client.Client,
if err := installOpenShiftRoles(ctx, c, cfg.Namespace, customizer, collection, force, cfg.Global); err != nil {
return err
}
- if err := installClusterRoleBinding(ctx, c, collection, cfg.Namespace, "camel-k-operator-console-openshift", "/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml"); err != nil {
+ if err := installClusterRoleBinding(ctx, c, collection, cfg.Namespace, "camel-k-operator-console-openshift", "/config/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml"); err != nil {
if k8serrors.IsForbidden(err) {
fmt.Fprintln(cmd.ErrOrStderr(), "Warning: the operator will not be able to manage ConsoleCLIDownload resources. Try installing the operator as cluster-admin.")
} else {
@@ -313,11 +313,11 @@ func OperatorOrCollect(ctx context.Context, cmd *cobra.Command, c client.Client,
fmt.Fprintln(cmd.ErrOrStderr(), "Warning: the operator will not be able to create Leases. Try installing as cluster-admin to allow management of Lease resources.")
}
- if err = installClusterRoleBinding(ctx, c, collection, cfg.Namespace, "camel-k-operator-custom-resource-definitions", "/rbac/operator-cluster-role-binding-custom-resource-definitions.yaml"); err != nil {
+ if err = installClusterRoleBinding(ctx, c, collection, cfg.Namespace, "camel-k-operator-custom-resource-definitions", "/config/rbac/operator-cluster-role-binding-custom-resource-definitions.yaml"); err != nil {
fmt.Fprintln(cmd.ErrOrStderr(), "Warning: the operator will not be able to get CustomResourceDefinitions resources and the service-binding trait will fail if used. Try installing the operator as cluster-admin.")
}
- if err = installNamespacedRoleBinding(ctx, c, collection, cfg.Namespace, "/rbac/operator-role-binding-local-registry.yaml"); err != nil {
+ if err = installNamespacedRoleBinding(ctx, c, collection, cfg.Namespace, "/config/rbac/operator-role-binding-local-registry.yaml"); err != nil {
if !k8serrors.IsAlreadyExists(err) {
fmt.Fprintf(cmd.ErrOrStderr(), "Warning: the operator may not be able to detect a local image registry (%s)\n", err.Error())
}
@@ -464,13 +464,13 @@ func installClusterRoleBinding(ctx context.Context, c client.Client, collection
func installOpenShiftRoles(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool, global bool) error {
if global {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/openshift/descoped/operator-cluster-role-openshift.yaml",
- "/rbac/openshift/descoped/operator-cluster-role-binding-openshift.yaml",
+ "/config/openshift/descoped/operator-cluster-role-openshift.yaml",
+ "/config/rbac/openshift/descoped/operator-cluster-role-binding-openshift.yaml",
)
} else {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/openshift/namespaced/operator-role-openshift.yaml",
- "/rbac/openshift/namespaced/operator-role-binding-openshift.yaml",
+ "/config/rbac/openshift/namespaced/operator-role-openshift.yaml",
+ "/config/rbac/openshift/namespaced/operator-role-binding-openshift.yaml",
)
}
}
@@ -478,35 +478,35 @@ func installOpenShiftRoles(ctx context.Context, c client.Client, namespace strin
func installKubernetesRoles(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool, global bool) error {
if global {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/manager/operator-service-account.yaml",
- "/rbac/descoped/operator-cluster-role.yaml",
- "/rbac/descoped/operator-cluster-role-binding.yaml",
+ "/config/manager/operator-service-account.yaml",
+ "/config/rbac/descoped/operator-cluster-role.yaml",
+ "/config/rbac/descoped/operator-cluster-role-binding.yaml",
)
} else {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/manager/operator-service-account.yaml",
- "/rbac/namespaced/operator-role.yaml",
- "/rbac/namespaced/operator-role-binding.yaml",
+ "/config/manager/operator-service-account.yaml",
+ "/config/rbac/namespaced/operator-role.yaml",
+ "/config/rbac/namespaced/operator-role-binding.yaml",
)
}
}
func installOperator(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool) error {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/manager/operator-deployment.yaml",
+ "/config/manager/operator-deployment.yaml",
)
}
func installKnativeBindings(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool, global bool) error {
if global {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/descoped/operator-cluster-role-knative.yaml",
- "/rbac/descoped/operator-cluster-role-binding-knative.yaml",
+ "/config/rbac/descoped/operator-cluster-role-knative.yaml",
+ "/config/rbac/descoped/operator-cluster-role-binding-knative.yaml",
)
} else {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/namespaced/operator-role-knative.yaml",
- "/rbac/namespaced/operator-role-binding-knative.yaml",
+ "/config/rbac/namespaced/operator-role-knative.yaml",
+ "/config/rbac/namespaced/operator-role-binding-knative.yaml",
)
}
}
@@ -514,13 +514,13 @@ func installKnativeBindings(ctx context.Context, c client.Client, namespace stri
func installKedaBindings(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool, global bool) error {
if global {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/descoped/operator-cluster-role-keda.yaml",
- "/rbac/descoped/operator-cluster-role-binding-keda.yaml",
+ "/config/rbac/descoped/operator-cluster-role-keda.yaml",
+ "/config/rbac/descoped/operator-cluster-role-binding-keda.yaml",
)
} else {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/namespaced/operator-role-keda.yaml",
- "/rbac/namespaced/operator-role-binding-keda.yaml",
+ "/config/rbac/namespaced/operator-role-keda.yaml",
+ "/config/rbac/namespaced/operator-role-binding-keda.yaml",
)
}
}
@@ -528,13 +528,13 @@ func installKedaBindings(ctx context.Context, c client.Client, namespace string,
func installEvents(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool, global bool) error {
if global {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/descoped/operator-cluster-role-events.yaml",
- "/rbac/descoped/operator-cluster-role-binding-events.yaml",
+ "/config/rbac/descoped/operator-cluster-role-events.yaml",
+ "/config/rbac/descoped/operator-cluster-role-binding-events.yaml",
)
} else {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/namespaced/operator-role-events.yaml",
- "/rbac/namespaced/operator-role-binding-events.yaml",
+ "/config/rbac/namespaced/operator-role-events.yaml",
+ "/config/rbac/namespaced/operator-role-binding-events.yaml",
)
}
}
@@ -542,13 +542,13 @@ func installEvents(ctx context.Context, c client.Client, namespace string, custo
func installPodMonitors(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool, global bool) error {
if global {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/descoped/operator-cluster-role-podmonitors.yaml",
- "/rbac/descoped/operator-cluster-role-binding-podmonitors.yaml",
+ "/config/rbac/descoped/operator-cluster-role-podmonitors.yaml",
+ "/config/rbac/descoped/operator-cluster-role-binding-podmonitors.yaml",
)
} else {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/namespaced/operator-role-podmonitors.yaml",
- "/rbac/namespaced/operator-role-binding-podmonitors.yaml",
+ "/config/rbac/namespaced/operator-role-podmonitors.yaml",
+ "/config/rbac/namespaced/operator-role-binding-podmonitors.yaml",
)
}
}
@@ -556,34 +556,34 @@ func installPodMonitors(ctx context.Context, c client.Client, namespace string,
func installStrimziBindings(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool, global bool) error {
if global {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/descoped/operator-cluster-role-strimzi.yaml",
- "/rbac/descoped/operator-cluster-role-binding-strimzi.yaml",
+ "/config/rbac/descoped/operator-cluster-role-strimzi.yaml",
+ "/config/rbac/descoped/operator-cluster-role-binding-strimzi.yaml",
)
} else {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/namespaced/operator-role-strimzi.yaml",
- "/rbac/namespaced/operator-role-binding-strimzi.yaml",
+ "/config/rbac/namespaced/operator-role-strimzi.yaml",
+ "/config/rbac/namespaced/operator-role-binding-strimzi.yaml",
)
}
}
func installMonitoringResources(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool) error {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/prometheus/operator-pod-monitor.yaml",
- "/prometheus/operator-prometheus-rule.yaml",
+ "/config/prometheus/operator-pod-monitor.yaml",
+ "/config/prometheus/operator-prometheus-rule.yaml",
)
}
func installLeaseBindings(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool, global bool) error {
if global {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/descoped/operator-cluster-role-leases.yaml",
- "/rbac/descoped/operator-cluster-role-binding-leases.yaml",
+ "/config/rbac/descoped/operator-cluster-role-leases.yaml",
+ "/config/rbac/descoped/operator-cluster-role-binding-leases.yaml",
)
} else {
return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer,
- "/rbac/namespaced/operator-role-leases.yaml",
- "/rbac/namespaced/operator-role-binding-leases.yaml",
+ "/config/rbac/namespaced/operator-role-leases.yaml",
+ "/config/rbac/namespaced/operator-role-binding-leases.yaml",
)
}
}
@@ -598,7 +598,7 @@ func NewPlatform(
return nil, err
}
- content, err := resources.ResourceAsString("/samples/bases/camel_v1_integrationplatform.yaml")
+ content, err := resources.ResourceAsString("/config/samples/bases/camel_v1_integrationplatform.yaml")
if err != nil {
return nil, err
}
@@ -656,6 +656,6 @@ func NewPlatform(
func ExampleOrCollect(ctx context.Context, c client.Client, namespace string, collection *kubernetes.Collection, force bool) error {
return ResourcesOrCollect(ctx, c, namespace, collection, force, IdentityResourceCustomizer,
- "/samples/bases/camel_v1_integration.yaml",
+ "/config/samples/bases/camel_v1_integration.yaml",
)
}
diff --git a/pkg/install/platform.go b/pkg/install/platform.go
index 0fe272388..494231564 100644
--- a/pkg/install/platform.go
+++ b/pkg/install/platform.go
@@ -25,8 +25,8 @@ import (
// IntegrationPlatformViewerRole installs the role that allows any user to access integrationplatforms in the global namespace.
func IntegrationPlatformViewerRole(ctx context.Context, c client.Client, namespace string) error {
- if err := Resource(ctx, c, namespace, true, IdentityResourceCustomizer, "/viewer/user-global-platform-viewer-role.yaml"); err != nil {
+ if err := Resource(ctx, c, namespace, true, IdentityResourceCustomizer, "/resources/viewer/user-global-platform-viewer-role.yaml"); err != nil {
return err
}
- return Resource(ctx, c, namespace, true, IdentityResourceCustomizer, "/viewer/user-global-platform-viewer-role-binding.yaml")
+ return Resource(ctx, c, namespace, true, IdentityResourceCustomizer, "/resources/viewer/user-global-platform-viewer-role-binding.yaml")
}
diff --git a/config/crd/bases/camel.apache.org_builds.yaml b/pkg/resources/config/crd/bases/camel.apache.org_builds.yaml
similarity index 100%
rename from config/crd/bases/camel.apache.org_builds.yaml
rename to pkg/resources/config/crd/bases/camel.apache.org_builds.yaml
diff --git a/config/crd/bases/camel.apache.org_camelcatalogs.yaml b/pkg/resources/config/crd/bases/camel.apache.org_camelcatalogs.yaml
similarity index 100%
rename from config/crd/bases/camel.apache.org_camelcatalogs.yaml
rename to pkg/resources/config/crd/bases/camel.apache.org_camelcatalogs.yaml
diff --git a/config/crd/bases/camel.apache.org_integrationkits.yaml b/pkg/resources/config/crd/bases/camel.apache.org_integrationkits.yaml
similarity index 100%
rename from config/crd/bases/camel.apache.org_integrationkits.yaml
rename to pkg/resources/config/crd/bases/camel.apache.org_integrationkits.yaml
diff --git a/config/crd/bases/camel.apache.org_integrationplatforms.yaml b/pkg/resources/config/crd/bases/camel.apache.org_integrationplatforms.yaml
similarity index 100%
rename from config/crd/bases/camel.apache.org_integrationplatforms.yaml
rename to pkg/resources/config/crd/bases/camel.apache.org_integrationplatforms.yaml
diff --git a/config/crd/bases/camel.apache.org_integrations.yaml b/pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml
similarity index 100%
rename from config/crd/bases/camel.apache.org_integrations.yaml
rename to pkg/resources/config/crd/bases/camel.apache.org_integrations.yaml
diff --git a/config/crd/bases/camel.apache.org_kameletbindings.yaml b/pkg/resources/config/crd/bases/camel.apache.org_kameletbindings.yaml
similarity index 100%
rename from config/crd/bases/camel.apache.org_kameletbindings.yaml
rename to pkg/resources/config/crd/bases/camel.apache.org_kameletbindings.yaml
diff --git a/config/crd/bases/camel.apache.org_kamelets.yaml b/pkg/resources/config/crd/bases/camel.apache.org_kamelets.yaml
similarity index 100%
rename from config/crd/bases/camel.apache.org_kamelets.yaml
rename to pkg/resources/config/crd/bases/camel.apache.org_kamelets.yaml
diff --git a/config/crd/bases/camel.apache.org_pipes.yaml b/pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml
similarity index 100%
rename from config/crd/bases/camel.apache.org_pipes.yaml
rename to pkg/resources/config/crd/bases/camel.apache.org_pipes.yaml
diff --git a/config/crd/kustomization.yaml b/pkg/resources/config/crd/kustomization.yaml
similarity index 100%
rename from config/crd/kustomization.yaml
rename to pkg/resources/config/crd/kustomization.yaml
diff --git a/config/manager/kustomization.yaml b/pkg/resources/config/manager/kustomization.yaml
similarity index 100%
rename from config/manager/kustomization.yaml
rename to pkg/resources/config/manager/kustomization.yaml
diff --git a/config/manager/operator-deployment.yaml b/pkg/resources/config/manager/operator-deployment.yaml
similarity index 100%
rename from config/manager/operator-deployment.yaml
rename to pkg/resources/config/manager/operator-deployment.yaml
diff --git a/config/manager/operator-service-account.yaml b/pkg/resources/config/manager/operator-service-account.yaml
similarity index 100%
rename from config/manager/operator-service-account.yaml
rename to pkg/resources/config/manager/operator-service-account.yaml
diff --git a/config/manager/patch-image-pull-policy-always.yaml b/pkg/resources/config/manager/patch-image-pull-policy-always.yaml
similarity index 100%
rename from config/manager/patch-image-pull-policy-always.yaml
rename to pkg/resources/config/manager/patch-image-pull-policy-always.yaml
diff --git a/config/manager/patch-install-default-kamelets.yaml b/pkg/resources/config/manager/patch-install-default-kamelets.yaml
similarity index 100%
rename from config/manager/patch-install-default-kamelets.yaml
rename to pkg/resources/config/manager/patch-install-default-kamelets.yaml
diff --git a/config/manager/patch-log-level.yaml b/pkg/resources/config/manager/patch-log-level.yaml
similarity index 100%
rename from config/manager/patch-log-level.yaml
rename to pkg/resources/config/manager/patch-log-level.yaml
diff --git a/config/manager/patch-node-selector.yaml b/pkg/resources/config/manager/patch-node-selector.yaml
similarity index 100%
rename from config/manager/patch-node-selector.yaml
rename to pkg/resources/config/manager/patch-node-selector.yaml
diff --git a/config/manager/patch-ports.yaml b/pkg/resources/config/manager/patch-ports.yaml
similarity index 100%
rename from config/manager/patch-ports.yaml
rename to pkg/resources/config/manager/patch-ports.yaml
diff --git a/config/manager/patch-resource-requirements.yaml b/pkg/resources/config/manager/patch-resource-requirements.yaml
similarity index 100%
rename from config/manager/patch-resource-requirements.yaml
rename to pkg/resources/config/manager/patch-resource-requirements.yaml
diff --git a/config/manager/patch-toleration.yaml b/pkg/resources/config/manager/patch-toleration.yaml
similarity index 100%
rename from config/manager/patch-toleration.yaml
rename to pkg/resources/config/manager/patch-toleration.yaml
diff --git a/config/manager/patch-watch-namespace-global.yaml b/pkg/resources/config/manager/patch-watch-namespace-global.yaml
similarity index 100%
rename from config/manager/patch-watch-namespace-global.yaml
rename to pkg/resources/config/manager/patch-watch-namespace-global.yaml
diff --git a/config/manifests/.vfsignore b/pkg/resources/config/manifests/.vfsignore
similarity index 100%
rename from config/manifests/.vfsignore
rename to pkg/resources/config/manifests/.vfsignore
diff --git a/config/manifests/bases/camel-k.clusterserviceversion.yaml b/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml
similarity index 99%
copy from config/manifests/bases/camel-k.clusterserviceversion.yaml
copy to pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml
index 78bd51d80..88fba65dd 100644
--- a/config/manifests/bases/camel-k.clusterserviceversion.yaml
+++ b/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml
@@ -23,7 +23,7 @@ metadata:
categories: Integration & Delivery
certified: "false"
containerImage: docker.io/apache/camel-k:2.3.0-SNAPSHOT
- createdAt: 2024-01-08T10:32:24Z
+ createdAt: 2024-02-16T09:57:35Z
description: Apache Camel K is a lightweight integration platform, born on Kubernetes,
with serverless superpowers.
operators.operatorframework.io/builder: operator-sdk-v1.16.0
diff --git a/config/manifests/kustomization.yaml b/pkg/resources/config/manifests/kustomization.yaml
similarity index 100%
rename from config/manifests/kustomization.yaml
rename to pkg/resources/config/manifests/kustomization.yaml
diff --git a/config/manifests/patch-delete-pvc.yaml b/pkg/resources/config/manifests/patch-delete-pvc.yaml
similarity index 100%
rename from config/manifests/patch-delete-pvc.yaml
rename to pkg/resources/config/manifests/patch-delete-pvc.yaml
diff --git a/config/manifests/patch-delete-user-cluster-role.yaml b/pkg/resources/config/manifests/patch-delete-user-cluster-role.yaml
similarity index 100%
rename from config/manifests/patch-delete-user-cluster-role.yaml
rename to pkg/resources/config/manifests/patch-delete-user-cluster-role.yaml
diff --git a/config/prometheus/kustomization.yaml b/pkg/resources/config/prometheus/kustomization.yaml
similarity index 100%
rename from config/prometheus/kustomization.yaml
rename to pkg/resources/config/prometheus/kustomization.yaml
diff --git a/config/prometheus/operator-pod-monitor.yaml b/pkg/resources/config/prometheus/operator-pod-monitor.yaml
similarity index 100%
rename from config/prometheus/operator-pod-monitor.yaml
rename to pkg/resources/config/prometheus/operator-pod-monitor.yaml
diff --git a/config/prometheus/operator-prometheus-rule.yaml b/pkg/resources/config/prometheus/operator-prometheus-rule.yaml
similarity index 100%
rename from config/prometheus/operator-prometheus-rule.yaml
rename to pkg/resources/config/prometheus/operator-prometheus-rule.yaml
diff --git a/config/rbac/descoped/kustomization.yaml b/pkg/resources/config/rbac/descoped/kustomization.yaml
similarity index 100%
rename from config/rbac/descoped/kustomization.yaml
rename to pkg/resources/config/rbac/descoped/kustomization.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-binding-events.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-binding-events.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-binding-events.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-binding-events.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-binding-keda.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-binding-keda.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-binding-keda.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-binding-keda.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-binding-knative.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-binding-knative.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-binding-knative.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-binding-knative.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-binding-leases.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-binding-leases.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-binding-leases.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-binding-leases.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-binding-podmonitors.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-binding-podmonitors.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-binding-podmonitors.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-binding-podmonitors.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-binding-strimzi.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-binding-strimzi.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-binding-strimzi.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-binding-strimzi.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-binding.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-binding.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-binding.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-binding.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-events.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-events.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-events.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-events.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-keda.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-keda.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-keda.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-keda.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-knative.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-knative.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-knative.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-knative.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-leases.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-leases.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-leases.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-leases.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-podmonitors.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-podmonitors.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-podmonitors.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-podmonitors.yaml
diff --git a/config/rbac/descoped/operator-cluster-role-strimzi.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role-strimzi.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role-strimzi.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role-strimzi.yaml
diff --git a/config/rbac/descoped/operator-cluster-role.yaml b/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml
similarity index 100%
rename from config/rbac/descoped/operator-cluster-role.yaml
rename to pkg/resources/config/rbac/descoped/operator-cluster-role.yaml
diff --git a/config/rbac/kustomization.yaml b/pkg/resources/config/rbac/kustomization.yaml
similarity index 100%
rename from config/rbac/kustomization.yaml
rename to pkg/resources/config/rbac/kustomization.yaml
diff --git a/config/rbac/namespaced/kustomization.yaml b/pkg/resources/config/rbac/namespaced/kustomization.yaml
similarity index 100%
rename from config/rbac/namespaced/kustomization.yaml
rename to pkg/resources/config/rbac/namespaced/kustomization.yaml
diff --git a/config/rbac/namespaced/operator-role-binding-events.yaml b/pkg/resources/config/rbac/namespaced/operator-role-binding-events.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-binding-events.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-binding-events.yaml
diff --git a/config/rbac/namespaced/operator-role-binding-keda.yaml b/pkg/resources/config/rbac/namespaced/operator-role-binding-keda.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-binding-keda.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-binding-keda.yaml
diff --git a/config/rbac/namespaced/operator-role-binding-knative.yaml b/pkg/resources/config/rbac/namespaced/operator-role-binding-knative.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-binding-knative.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-binding-knative.yaml
diff --git a/config/rbac/namespaced/operator-role-binding-leases.yaml b/pkg/resources/config/rbac/namespaced/operator-role-binding-leases.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-binding-leases.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-binding-leases.yaml
diff --git a/config/rbac/namespaced/operator-role-binding-podmonitors.yaml b/pkg/resources/config/rbac/namespaced/operator-role-binding-podmonitors.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-binding-podmonitors.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-binding-podmonitors.yaml
diff --git a/config/rbac/namespaced/operator-role-binding-strimzi.yaml b/pkg/resources/config/rbac/namespaced/operator-role-binding-strimzi.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-binding-strimzi.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-binding-strimzi.yaml
diff --git a/config/rbac/namespaced/operator-role-binding.yaml b/pkg/resources/config/rbac/namespaced/operator-role-binding.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-binding.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-binding.yaml
diff --git a/config/rbac/namespaced/operator-role-events.yaml b/pkg/resources/config/rbac/namespaced/operator-role-events.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-events.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-events.yaml
diff --git a/config/rbac/namespaced/operator-role-keda.yaml b/pkg/resources/config/rbac/namespaced/operator-role-keda.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-keda.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-keda.yaml
diff --git a/config/rbac/namespaced/operator-role-knative.yaml b/pkg/resources/config/rbac/namespaced/operator-role-knative.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-knative.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-knative.yaml
diff --git a/config/rbac/namespaced/operator-role-leases.yaml b/pkg/resources/config/rbac/namespaced/operator-role-leases.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-leases.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-leases.yaml
diff --git a/config/rbac/namespaced/operator-role-podmonitors.yaml b/pkg/resources/config/rbac/namespaced/operator-role-podmonitors.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-podmonitors.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-podmonitors.yaml
diff --git a/config/rbac/namespaced/operator-role-strimzi.yaml b/pkg/resources/config/rbac/namespaced/operator-role-strimzi.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role-strimzi.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role-strimzi.yaml
diff --git a/config/rbac/namespaced/operator-role.yaml b/pkg/resources/config/rbac/namespaced/operator-role.yaml
similarity index 100%
rename from config/rbac/namespaced/operator-role.yaml
rename to pkg/resources/config/rbac/namespaced/operator-role.yaml
diff --git a/config/rbac/openshift/descoped/kustomization.yaml b/pkg/resources/config/rbac/openshift/descoped/kustomization.yaml
similarity index 100%
rename from config/rbac/openshift/descoped/kustomization.yaml
rename to pkg/resources/config/rbac/openshift/descoped/kustomization.yaml
diff --git a/config/rbac/openshift/descoped/operator-cluster-role-binding-openshift.yaml b/pkg/resources/config/rbac/openshift/descoped/operator-cluster-role-binding-openshift.yaml
similarity index 100%
rename from config/rbac/openshift/descoped/operator-cluster-role-binding-openshift.yaml
rename to pkg/resources/config/rbac/openshift/descoped/operator-cluster-role-binding-openshift.yaml
diff --git a/config/rbac/openshift/descoped/operator-cluster-role-openshift.yaml b/pkg/resources/config/rbac/openshift/descoped/operator-cluster-role-openshift.yaml
similarity index 100%
rename from config/rbac/openshift/descoped/operator-cluster-role-openshift.yaml
rename to pkg/resources/config/rbac/openshift/descoped/operator-cluster-role-openshift.yaml
diff --git a/config/rbac/openshift/kustomization.yaml b/pkg/resources/config/rbac/openshift/kustomization.yaml
similarity index 100%
rename from config/rbac/openshift/kustomization.yaml
rename to pkg/resources/config/rbac/openshift/kustomization.yaml
diff --git a/config/rbac/openshift/namespaced/kustomization.yaml b/pkg/resources/config/rbac/openshift/namespaced/kustomization.yaml
similarity index 100%
rename from config/rbac/openshift/namespaced/kustomization.yaml
rename to pkg/resources/config/rbac/openshift/namespaced/kustomization.yaml
diff --git a/config/rbac/openshift/namespaced/operator-role-binding-openshift.yaml b/pkg/resources/config/rbac/openshift/namespaced/operator-role-binding-openshift.yaml
similarity index 100%
rename from config/rbac/openshift/namespaced/operator-role-binding-openshift.yaml
rename to pkg/resources/config/rbac/openshift/namespaced/operator-role-binding-openshift.yaml
diff --git a/config/rbac/openshift/namespaced/operator-role-openshift.yaml b/pkg/resources/config/rbac/openshift/namespaced/operator-role-openshift.yaml
similarity index 100%
rename from config/rbac/openshift/namespaced/operator-role-openshift.yaml
rename to pkg/resources/config/rbac/openshift/namespaced/operator-role-openshift.yaml
diff --git a/config/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml b/pkg/resources/config/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml
similarity index 100%
rename from config/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml
rename to pkg/resources/config/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml
diff --git a/config/rbac/openshift/operator-cluster-role-console-openshift.yaml b/pkg/resources/config/rbac/openshift/operator-cluster-role-console-openshift.yaml
similarity index 100%
rename from config/rbac/openshift/operator-cluster-role-console-openshift.yaml
rename to pkg/resources/config/rbac/openshift/operator-cluster-role-console-openshift.yaml
diff --git a/config/rbac/operator-cluster-role-addressable-resolver.yaml b/pkg/resources/config/rbac/operator-cluster-role-addressable-resolver.yaml
similarity index 100%
rename from config/rbac/operator-cluster-role-addressable-resolver.yaml
rename to pkg/resources/config/rbac/operator-cluster-role-addressable-resolver.yaml
diff --git a/config/rbac/operator-cluster-role-binding-addressable-resolver.yaml b/pkg/resources/config/rbac/operator-cluster-role-binding-addressable-resolver.yaml
similarity index 100%
rename from config/rbac/operator-cluster-role-binding-addressable-resolver.yaml
rename to pkg/resources/config/rbac/operator-cluster-role-binding-addressable-resolver.yaml
diff --git a/config/rbac/operator-cluster-role-binding-custom-resource-definitions.yaml b/pkg/resources/config/rbac/operator-cluster-role-binding-custom-resource-definitions.yaml
similarity index 100%
rename from config/rbac/operator-cluster-role-binding-custom-resource-definitions.yaml
rename to pkg/resources/config/rbac/operator-cluster-role-binding-custom-resource-definitions.yaml
diff --git a/config/rbac/operator-cluster-role-custom-resource-definitions.yaml b/pkg/resources/config/rbac/operator-cluster-role-custom-resource-definitions.yaml
similarity index 100%
rename from config/rbac/operator-cluster-role-custom-resource-definitions.yaml
rename to pkg/resources/config/rbac/operator-cluster-role-custom-resource-definitions.yaml
diff --git a/config/rbac/operator-cluster-role-local-registry.yaml b/pkg/resources/config/rbac/operator-cluster-role-local-registry.yaml
similarity index 100%
rename from config/rbac/operator-cluster-role-local-registry.yaml
rename to pkg/resources/config/rbac/operator-cluster-role-local-registry.yaml
diff --git a/config/rbac/operator-role-binding-local-registry.yaml b/pkg/resources/config/rbac/operator-role-binding-local-registry.yaml
similarity index 100%
rename from config/rbac/operator-role-binding-local-registry.yaml
rename to pkg/resources/config/rbac/operator-role-binding-local-registry.yaml
diff --git a/config/rbac/patch-role-to-clusterrole.yaml b/pkg/resources/config/rbac/patch-role-to-clusterrole.yaml
similarity index 100%
rename from config/rbac/patch-role-to-clusterrole.yaml
rename to pkg/resources/config/rbac/patch-role-to-clusterrole.yaml
diff --git a/config/rbac/patch-rolebinding-to-clusterrolebinding.yaml b/pkg/resources/config/rbac/patch-rolebinding-to-clusterrolebinding.yaml
similarity index 100%
rename from config/rbac/patch-rolebinding-to-clusterrolebinding.yaml
rename to pkg/resources/config/rbac/patch-rolebinding-to-clusterrolebinding.yaml
diff --git a/config/rbac/user-cluster-role.yaml b/pkg/resources/config/rbac/user-cluster-role.yaml
similarity index 100%
rename from config/rbac/user-cluster-role.yaml
rename to pkg/resources/config/rbac/user-cluster-role.yaml
diff --git a/config/samples/bases/camel_v1_build.yaml b/pkg/resources/config/samples/bases/camel_v1_build.yaml
similarity index 100%
rename from config/samples/bases/camel_v1_build.yaml
rename to pkg/resources/config/samples/bases/camel_v1_build.yaml
diff --git a/config/samples/bases/camel_v1_camelcatalog.yaml b/pkg/resources/config/samples/bases/camel_v1_camelcatalog.yaml
similarity index 100%
rename from config/samples/bases/camel_v1_camelcatalog.yaml
rename to pkg/resources/config/samples/bases/camel_v1_camelcatalog.yaml
diff --git a/config/samples/bases/camel_v1_integration.yaml b/pkg/resources/config/samples/bases/camel_v1_integration.yaml
similarity index 100%
rename from config/samples/bases/camel_v1_integration.yaml
rename to pkg/resources/config/samples/bases/camel_v1_integration.yaml
diff --git a/config/samples/bases/camel_v1_integrationkit.yaml b/pkg/resources/config/samples/bases/camel_v1_integrationkit.yaml
similarity index 100%
rename from config/samples/bases/camel_v1_integrationkit.yaml
rename to pkg/resources/config/samples/bases/camel_v1_integrationkit.yaml
diff --git a/config/samples/bases/camel_v1_integrationplatform.yaml b/pkg/resources/config/samples/bases/camel_v1_integrationplatform.yaml
similarity index 100%
rename from config/samples/bases/camel_v1_integrationplatform.yaml
rename to pkg/resources/config/samples/bases/camel_v1_integrationplatform.yaml
diff --git a/config/samples/bases/camel_v1_kamelet.yaml b/pkg/resources/config/samples/bases/camel_v1_kamelet.yaml
similarity index 100%
rename from config/samples/bases/camel_v1_kamelet.yaml
rename to pkg/resources/config/samples/bases/camel_v1_kamelet.yaml
diff --git a/config/samples/bases/camel_v1_pipe.yaml b/pkg/resources/config/samples/bases/camel_v1_pipe.yaml
similarity index 100%
rename from config/samples/bases/camel_v1_pipe.yaml
rename to pkg/resources/config/samples/bases/camel_v1_pipe.yaml
diff --git a/config/samples/bases/camel_v1alpha1_kameletbinding.yaml b/pkg/resources/config/samples/bases/camel_v1alpha1_kameletbinding.yaml
similarity index 100%
rename from config/samples/bases/camel_v1alpha1_kameletbinding.yaml
rename to pkg/resources/config/samples/bases/camel_v1alpha1_kameletbinding.yaml
diff --git a/config/samples/kustomization.yaml b/pkg/resources/config/samples/kustomization.yaml
similarity index 100%
rename from config/samples/kustomization.yaml
rename to pkg/resources/config/samples/kustomization.yaml
diff --git a/config/samples/patch-integration-platform.yaml b/pkg/resources/config/samples/patch-integration-platform.yaml
similarity index 100%
rename from config/samples/patch-integration-platform.yaml
rename to pkg/resources/config/samples/patch-integration-platform.yaml
diff --git a/config/scorecard/.vfsignore b/pkg/resources/config/scorecard/.vfsignore
similarity index 100%
rename from config/scorecard/.vfsignore
rename to pkg/resources/config/scorecard/.vfsignore
diff --git a/config/scorecard/bases/config.yaml b/pkg/resources/config/scorecard/bases/config.yaml
similarity index 100%
rename from config/scorecard/bases/config.yaml
rename to pkg/resources/config/scorecard/bases/config.yaml
diff --git a/config/scorecard/kustomization.yaml b/pkg/resources/config/scorecard/kustomization.yaml
similarity index 100%
rename from config/scorecard/kustomization.yaml
rename to pkg/resources/config/scorecard/kustomization.yaml
diff --git a/config/scorecard/patches/basic.config.yaml b/pkg/resources/config/scorecard/patches/basic.config.yaml
similarity index 100%
rename from config/scorecard/patches/basic.config.yaml
rename to pkg/resources/config/scorecard/patches/basic.config.yaml
diff --git a/config/scorecard/patches/olm.config.yaml b/pkg/resources/config/scorecard/patches/olm.config.yaml
similarity index 100%
rename from config/scorecard/patches/olm.config.yaml
rename to pkg/resources/config/scorecard/patches/olm.config.yaml
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
deleted file mode 100644
index 40fdc8655..000000000
--- a/pkg/resources/resources.go
+++ /dev/null
@@ -1,1056 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-// Code generated by vfsgen; DO NOT EDIT.
-
-package resources
-
-import (
- "bytes"
- "compress/gzip"
- "fmt"
- "io"
- "io/ioutil"
- "net/http"
- "os"
- pathpkg "path"
- "time"
-)
-
-// assets statically implements the virtual filesystem provided to vfsgen.
-var assets = func() http.FileSystem {
- fs := vfsgen۰FS{
- "/": &vfsgen۰DirInfo{
- name: "/",
- modTime: time.Time{},
- },
- "/addons": &vfsgen۰DirInfo{
- name: "addons",
- modTime: time.Time{},
- },
- "/addons/master": &vfsgen۰DirInfo{
- name: "master",
- modTime: time.Time{},
- },
- "/addons/master/master-role-binding.tmpl": &vfsgen۰CompressedFileInfo{
- name: "master-role-binding.tmpl",
- modTime: time.Time{},
- uncompressedSize: 357,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x84\x90\x3d\x4f\xc4\x30\x0c\x86\xf7\xfc\x0a\xab\x7b\x83\xd8\x50\x36\x58\xd8\x18\x8a\xc4\xee\xa6\x06\x4c\x93\x38\xca\x47\x07\xaa\xfe\x77\xd4\x16\xe9\x7a\xd2\xa9\x37\x26\x8f\x5e\xfb\xf1\x3b\x72\x18\x0c\x74\xe2\xe8\x85\xc3\xc0\xe1\x4b\x61\xe4\x0f\x4a\x99\x25\x18\x48\x3d\x5a\x8d\xb5\x7c\x4b\xe2\x5f\x2c\x2c\x41\x8f\x4f\x59\xb3\x3c\x4c\x8f\xca\x53\xc1\x01\x0b\x1a\x05\x10\xd0\x93\x81\x79\x06\xfd\x86\x9e\x60\x59\xfe\xff\x72\x [...]
- },
- "/addons/master/master-role-configmap.tmpl": &vfsgen۰CompressedFileInfo{
- name: "master-role-configmap.tmpl",
- modTime: time.Time{},
- uncompressedSize: 342,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x8d\xb1\x4e\x04\x31\x0c\x44\xfb\x7c\x85\xb5\xfd\x2e\xa2\x43\xf9\x01\x3a\x0a\x0a\x7a\x6f\x62\xee\xac\x4d\x62\xcb\x49\x0e\x89\xd3\xfd\x3b\x22\x7b\x2b\x21\x68\xa8\x3c\x7e\x33\xf6\x6c\x5c\xa2\x87\x57\x49\xe4\x50\xf9\x8d\xac\xb2\x14\x0f\xb6\x62\x58\xb0\xb7\xb3\x18\x7f\x62\x63\x29\xcb\xf6\x54\x17\x96\x87\xcb\xa3\xcb\xd4\x30\x62\x43\xef\x00\x0a\x66\xf2\x70\xbd\xc2\xf2\x82\x99\xe0\x76\xbb\xb3\xaa\x18\x7e\x18\x63\xdd\xdd\x [...]
- },
- "/addons/master/master-role-lease.tmpl": &vfsgen۰CompressedFileInfo{
- name: "master-role-lease.tmpl",
- modTime: time.Time{},
- uncompressedSize: 389,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x8e\x31\x4e\xc4\x30\x10\x45\x7b\x9f\x62\x94\x3e\x41\x74\xc8\x17\xa0\xa3\xa0\xa0\x9f\xd8\x5f\xac\x15\xc7\x63\x8d\xed\x45\x62\xb5\x77\x47\xeb\x04\x69\x21\xdb\x7d\xff\x19\xbf\x79\x4b\x48\xde\xd2\xbb\x44\x18\xce\xe1\x03\x5a\x82\x24\x4b\x3a\xb3\x9b\xb8\xd5\x93\x68\xf8\xe6\x1a\x24\x4d\xcb\x4b\x99\x82\x3c\x9d\x9f\xcd\x8a\xca\x9e\x2b\x5b\x43\x94\x78\x85\xa5\xcb\x85\xa6\x37\x5e\x41\xd7\xeb\xde\x95\xcc\xee\x6e\xd0\x9f\xdb\x [...]
- },
- "/builder": &vfsgen۰DirInfo{
- name: "builder",
- modTime: time.Time{},
- },
- "/builder/builder-role-binding-openshift.yaml": &vfsgen۰CompressedFileInfo{
- name: "builder-role-binding-openshift.yaml",
- modTime: time.Time{},
- uncompressedSize: 1222,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x8f\xdb\x36\x10\x85\xef\xfc\x15\x0f\xd6\x25\x01\xd6\x72\xdb\x53\xe1\x9e\x94\xcd\xba\x15\x1a\xd8\x80\xe5\x34\xc8\x91\xa2\x46\xd2\xd4\x14\x47\x25\xa9\x55\xdc\x5f\x5f\x50\xb6\xbb\x1b\x14\x2d\x7a\x08\x6f\x82\x46\x6f\xbe\xc7\xf7\x94\x61\xfd\xed\x8e\xca\xf0\x81\x0d\xb9\x40\x0d\xa2\x20\xf6\x84\x62\xd4\xa6\x27\x54\xd2\xc6\x59\x7b\xc2\x4e\x26\xd7\xe8\xc8\xe2\xf0\xa6\xa8\x76\x6f\x31\xb9\x86\x3c\xc4\x11\xc4\x63\x10\x [...]
- },
- "/builder/builder-role-binding.yaml": &vfsgen۰CompressedFileInfo{
- name: "builder-role-binding.yaml",
- modTime: time.Time{},
- uncompressedSize: 1351,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x52\xf6\xa3\x15\x1a\xd8\x80\xe5\x34\xc8\x71\x4c\x8d\xa5\xa9\x25\x92\x25\xa9\x55\xdc\x5f\x5f\x90\xb6\x37\x1b\x14\x0d\x7a\x88\x6e\x02\x87\xef\x63\xde\x63\x81\xe5\xf7\xfb\x54\x81\xf7\xa2\xd9\x04\x6e\x11\x2d\x62\xcf\xa8\x1c\xe9\x9e\xd1\xd8\x63\x9c\xc9\x33\x9e\xec\x64\x5a\x8a\x62\x0d\xde\x54\xcd\xd3\x5b\x4c\xa6\x65\x0f\x6b\x18\xd6\x63\xb4\x9e\x [...]
- },
- "/builder/builder-role-openshift.yaml": &vfsgen۰CompressedFileInfo{
- name: "builder-role-openshift.yaml",
- modTime: time.Time{},
- uncompressedSize: 1706,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x53\xc1\x8e\xdb\x36\x10\xbd\xeb\x2b\x1e\xac\x4b\x02\xac\xe5\xb6\xa7\xc2\x3d\xb9\x9b\xdd\xd6\x68\x60\x03\x2b\xa7\x41\x8e\x23\x6a\x2c\x0d\x4c\x91\x2c\x49\xad\xe2\x7e\x7d\x41\xda\x4e\xbc\x75\xd3\x5e\x16\xa8\x2e\x1a\x0f\x9f\xde\xbc\xc7\x37\x2e\x31\x7f\xbd\xa7\x28\xf1\x5e\x14\x9b\xc0\x2d\xa2\x45\xec\x19\x2b\x47\xaa\x67\xd4\x76\x1f\x27\xf2\x8c\x47\x3b\x9a\x96\xa2\x58\x83\x37\xab\xfa\xf1\x2d\x46\xd3\xb2\x87\x35\x0c\xeb\x [...]
- },
- "/builder/builder-role.yaml": &vfsgen۰CompressedFileInfo{
- name: "builder-role.yaml",
- modTime: time.Time{},
- uncompressedSize: 1462,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x37\xbb\xad\xd0\xc0\x06\x56\x4e\x83\x1c\xc7\xd2\x58\x1a\x98\x22\xd5\x21\xb5\xca\xf6\xd7\x17\xa4\xed\xee\x06\x8b\x16\x41\x10\x5d\x4c\xd3\x8f\xef\x83\x6f\xac\x02\xcb\xef\xf7\x98\x02\xef\xa5\x61\x17\xb8\x45\xf4\x88\x3d\x63\x33\x52\xd3\x33\x6a\x7f\x8c\x33\x29\xe3\xde\x4f\xae\xa5\x28\xde\xe1\xcd\xa6\xbe\x7f\x8b\xc9\xb5\xac\xf0\x8e\xe1\x15\x [...]
- },
- "/builder/builder-service-account.yaml": &vfsgen۰CompressedFileInfo{
- name: "builder-service-account.yaml",
- modTime: time.Time{},
- uncompressedSize: 1038,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x3d\x6f\xdb\x30\x14\xdc\xf9\x2b\x0e\xd6\x92\x00\xfe\x68\x3b\xba\x93\x9a\xd8\xa8\xd0\xc0\x06\x22\xa7\x41\xc6\x67\xf1\x59\x7a\x08\x45\xaa\x24\x15\xc5\xff\xbe\xa0\x6c\x37\x09\xba\x86\x9b\xa0\xd3\x7d\xf0\x4e\x19\x66\x9f\x77\x54\x86\x3b\xa9\xd8\x06\xd6\x88\x0e\xb1\x61\xe4\x1d\x55\x0d\xa3\x74\x87\x38\x90\x67\xac\x5d\x6f\x35\x45\x71\x16\x57\x79\xb9\xbe\x46\x6f\x35\x7b\x38\xcb\x70\x1e\xad\xf3\xac\x32\x54\xce\x46\x2f\x [...]
- },
- "/crd": &vfsgen۰DirInfo{
- name: "crd",
- modTime: time.Time{},
- },
- "/crd/bases": &vfsgen۰DirInfo{
- name: "bases",
- modTime: time.Time{},
- },
- "/crd/bases/camel.apache.org_builds.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel.apache.org_builds.yaml",
- modTime: time.Time{},
- uncompressedSize: 100675,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\x5d\x73\x1b\xb7\x92\xe8\xbb\x7e\x45\x57\xfc\x60\xb9\x4a\xa4\x12\x27\x7b\x36\xab\x5b\x5b\xb7\xb4\x72\x72\x56\xc7\xf1\xc7\x9a\xb2\x4f\x4e\x6d\x6d\x95\xc0\x99\x26\x89\x70\x06\x98\x0b\x60\x44\x33\xb7\xee\x7f\xbf\x85\xaf\xe1\x0c\xc9\x99\x01\x28\xd2\xf2\x29\x0f\x5e\x12\x53\x18\xa0\xbb\x01\xf4\x17\x1a\xdd\xcf\x60\x74\xbc\x76\xf6\x0c\x7e\xa3\x09\x32\x89\x29\x28\x0e\x6a\x81\x70\x5d\x90\x64\x81\x30\xe1\x33\xb5\x22\x02\x [...]
- },
- "/crd/bases/camel.apache.org_camelcatalogs.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel.apache.org_camelcatalogs.yaml",
- modTime: time.Time{},
- uncompressedSize: 22396,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5c\xdd\x8f\xe3\xb6\x11\x7f\xf7\x5f\x31\xb8\x7d\xb8\x3b\xc0\xf6\x26\x6d\x11\x14\xee\xd3\x76\xf7\x2e\x71\xb3\xd9\xbd\xae\x7d\x17\x04\xe8\x0b\x2d\x8d\x65\x66\x25\x52\x25\x29\xfb\x9c\xa2\xff\x7b\x41\x52\xd4\x87\xad\x0f\xca\xde\xcb\x47\x61\x3e\xd9\x12\x39\xfc\x71\x66\x38\x5f\x92\x78\x05\x93\x97\x6b\xa3\x2b\xb8\xa7\x01\x32\x89\x21\x28\x0e\x6a\x83\x70\x93\x92\x60\x83\xb0\xe0\x6b\xb5\x23\x02\xe1\x3d\xcf\x58\x48\x14\xe5\x [...]
- },
- "/crd/bases/camel.apache.org_integrationkits.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel.apache.org_integrationkits.yaml",
- modTime: time.Time{},
- uncompressedSize: 38922,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x3c\x6b\x6f\xe3\xb6\xb2\xdf\xf3\x2b\x06\x9b\x0f\x9b\x00\xb6\x73\xda\x5b\x14\x17\x39\xbd\x0b\xa4\xd9\xdd\x9e\x9c\x7d\xe5\x26\xd9\x16\x07\xa7\x07\x30\x2d\x8d\x6d\xae\x25\x52\x25\x29\x27\xbe\x8f\xff\x7e\xc1\x21\xa9\x87\x2d\xc9\x8a\xb3\xdb\xbb\x2d\xa4\x2f\x89\x25\x72\x38\x9c\x19\xce\x8b\xe4\x1c\xc3\xf8\xf3\x3d\x47\xc7\xf0\x96\x47\x28\x34\xc6\x60\x24\x98\x25\xc2\x45\xc6\xa2\x25\xc2\xad\x9c\x9b\x7b\xa6\x10\x5e\xcb\x5c\x [...]
- },
- "/crd/bases/camel.apache.org_integrationplatforms.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel.apache.org_integrationplatforms.yaml",
- modTime: time.Time{},
- uncompressedSize: 202472,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\xfb\x73\xdb\x36\xb6\xf0\xef\xfd\x2b\x30\xee\xdc\xb1\xd3\xd1\x23\xe9\xde\xee\xf6\xfa\x6e\xf7\xfb\x5c\x27\x6d\xdd\xc4\xb1\x3f\xdb\xc9\xde\x9d\xb6\x53\x41\xe4\x91\x84\x98\x04\x78\x01\x50\xb6\x3a\xfb\xc7\x7f\x83\x03\x80\xa4\x24\x0a\xa4\x1e\x76\x9c\x54\xec\x4c\x63\x49\x24\x78\x70\x70\x70\x5e\x38\x8f\x2f\x49\x77\x77\xd7\x17\x5f\x92\x37\x2c\x02\xae\x20\x26\x5a\x10\x3d\x01\x72\x92\xd1\x68\x02\xe4\x5a\x8c\xf4\x1d\x95\x [...]
- },
- "/crd/bases/camel.apache.org_integrations.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel.apache.org_integrations.yaml",
- modTime: time.Time{},
- uncompressedSize: 598121,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x7b\x73\x1b\x37\x96\x30\x8c\xff\x9f\x4f\x81\xb2\x53\x8f\xa4\x8d\x48\xd9\x99\xd9\xa9\x1d\xff\xa6\x9e\x94\x56\x96\x13\xfd\x62\xcb\x2a\x49\x49\x9e\x94\x93\x4d\xc0\x6e\x90\xc4\xa3\x6e\xa0\x17\x40\x53\xe2\xbc\x7e\xbf\xfb\x5b\x38\x00\xfa\xc2\x5b\x1f\xb4\x44\xc7\x99\x6d\x4c\x55\xc6\x14\xd9\xa7\x71\x39\x38\xf7\xcb\x73\x32\x7a\xba\xf1\xc5\x73\xf2\x96\x27\x4c\x68\x96\x12\x23\x89\x99\x33\x72\x5a\xd0\x64\xce\xc8\x8d\x9c\x [...]
- },
- "/crd/bases/camel.apache.org_kameletbindings.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel.apache.org_kameletbindings.yaml",
- modTime: time.Time{},
- uncompressedSize: 600652,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x6b\x73\x1b\x37\xb6\x30\x0a\x7f\xf7\xaf\x40\xd9\xa9\x47\xd2\x0e\x49\xd9\x99\x99\xd4\x8c\xdf\xa9\x9d\xd2\xc8\x72\xa2\x37\xb6\xcc\xb2\x94\xe4\x49\x39\xd9\x09\xd8\x0d\x92\xd8\xea\x06\x7a\x00\x34\x25\xe6\xf8\xfc\xf7\x53\x58\x00\xfa\xc2\x9b\xb0\x9a\x92\xc6\x9e\x69\x4c\x55\xc6\xa4\xd8\xab\x71\x59\x58\xf7\xcb\x33\x32\xbc\xbf\xf1\xe4\x19\x79\xc3\x13\x26\x34\x4b\x89\x91\xc4\xcc\x19\x39\x29\x68\x32\x67\xe4\x52\x4e\xcd\x [...]
- },
- "/crd/bases/camel.apache.org_kamelets.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel.apache.org_kamelets.yaml",
- modTime: time.Time{},
- uncompressedSize: 78362,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\x7b\x6f\xdc\x38\xb2\xef\xff\xfe\x14\x05\xe7\x00\x71\x00\x77\xdb\x8e\x93\xec\x8c\xef\x1f\x81\xd7\x49\x76\x7d\x27\x2f\xd8\xce\xee\x9d\x9b\xcc\x01\xd8\x12\xbb\x9b\x1b\x35\xa5\x43\x52\xb6\x7b\x37\xf9\xee\x07\x24\x45\x3d\xba\xf5\x28\xca\x52\xec\x19\x0c\x81\x20\xee\x6e\xa9\x58\x24\x8b\xc5\xd7\xaf\x7e\x7c\x04\x93\xe1\xd2\xce\x23\x78\xcb\x02\xca\x25\x0d\x41\xc5\xa0\x96\x14\x4e\x13\x12\x2c\x29\x5c\xc6\x73\x75\x43\x04\x [...]
- },
- "/crd/bases/camel.apache.org_pipes.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel.apache.org_pipes.yaml",
- modTime: time.Time{},
- uncompressedSize: 568030,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xfd\x7b\x73\x1b\x37\xb6\x28\x8a\xff\x9f\x4f\x81\x92\x53\x47\xd2\x8e\x48\xd9\x99\x99\xd4\x1e\xff\xa6\x4e\x4a\x5b\x96\x13\xfd\x62\xcb\x2c\x49\x49\x4e\xca\xc9\x4e\xc0\x6e\x90\xc4\x51\x37\xd0\x1b\x40\x53\x62\xae\xef\x77\xbf\x85\x05\xa0\x1f\x7c\x09\xab\x29\x69\xe4\x99\xc6\x54\x65\x4c\x8a\xbd\x1a\x8f\x85\xf5\x7e\xbc\x20\x83\x87\x1b\x5f\xbc\x20\xef\x78\xc2\x84\x66\x29\x31\x92\x98\x19\x23\x27\x05\x4d\x66\x8c\x5c\xc9\x89\x [...]
- },
- "/manager": &vfsgen۰DirInfo{
- name: "manager",
- modTime: time.Time{},
- },
- "/manager/operator-deployment.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-deployment.yaml",
- modTime: time.Time{},
- uncompressedSize: 3134,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x56\x4f\x6f\xdb\x3a\x12\xbf\xeb\x53\x0c\xac\x4b\x0b\xc4\x76\xd2\xbd\x14\xda\x93\xd6\x76\x1a\xa1\xa9\x6c\x58\xee\x16\x3d\x05\x34\x35\x96\x06\xa1\x48\x2d\x39\xb2\xeb\xfd\xf4\x0f\xa4\xed\xc4\x72\x93\xbc\xd7\x87\x02\x4f\x97\xc4\x9a\xe1\xcc\xef\xcf\x90\x54\x0c\xc3\xdf\xf7\x44\x31\xdc\x93\x44\xed\xb0\x04\x36\xc0\x35\x42\xda\x0a\x59\x23\x14\x66\xc3\x3b\x61\x11\x6e\x4d\xa7\x4b\xc1\x64\x34\xbc\x4b\x8b\xdb\xf7\xd0\xe9\x12\x [...]
- },
- "/manager/operator-service-account.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-service-account.yaml",
- modTime: time.Time{},
- uncompressedSize: 1039,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\x9b\x40\x14\xbc\xef\xaf\x18\x99\x4b\x22\xf9\xa3\xed\xd1\x3d\xd1\xc4\x56\x51\x23\x5b\x0a\x4e\xa3\x1c\x9f\xe1\x19\x9e\x02\xfb\xe8\xee\x12\xe2\x7f\x5f\x2d\xb6\x9b\x44\xbd\x66\x6f\x88\x61\x3e\x76\x86\x04\xb3\xcf\x3b\x26\xc1\x9d\x14\x6c\x3d\x97\x08\x8a\x50\x33\xd2\x8e\x8a\x9a\x91\xeb\x21\x0c\xe4\x18\x6b\xed\x6d\x49\x41\xd4\xe2\x2a\xcd\xd7\xd7\xe8\x6d\xc9\x0e\x6a\x19\xea\xd0\xaa\x63\x93\xa0\x50\x1b\x9c\xec\x [...]
- },
- "/manager/patch-image-pull-policy-always.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-image-pull-policy-always.yaml",
- modTime: time.Time{},
- uncompressedSize: 1124,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\xeb\x38\x0c\xbc\xeb\x57\x0c\xe2\x4b\x0b\xe4\x63\x77\x8f\xd9\x93\xb7\x4d\xb0\xc6\x16\x49\x51\xa7\x5b\xf4\xc8\xd8\x8c\x4d\x54\x96\xf4\x24\xb9\x6e\xfe\xfd\x83\x9c\xa4\x1f\x78\x78\xb7\xf2\x64\x4b\xd4\x70\x86\x43\x66\x98\x7d\x5f\xa8\x0c\x77\x52\xb1\x09\x5c\x23\x5a\xc4\x96\x91\x3b\xaa\x5a\x46\x69\x0f\x71\x20\xcf\x58\xdb\xde\xd4\x14\xc5\x1a\x5c\xe5\xe5\xfa\x1a\xbd\xa9\xd9\xc3\x1a\x86\xf5\xe8\xac\x67\x95\xa1\x [...]
- },
- "/manager/patch-install-default-kamelets.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-install-default-kamelets.yaml",
- modTime: time.Time{},
- uncompressedSize: 1065,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xcd\x6e\xa3\x3c\x14\xdd\xfb\x29\x8e\xc2\xa6\x95\x92\x50\x7d\xcb\x7c\x2b\xa6\x25\x1a\xd4\x0c\x91\x0a\x9d\xaa\xab\xca\x81\x0b\x5c\x0d\xd8\x1e\xdb\x94\xe6\xed\x47\x26\xc9\xb4\xd5\x6c\xeb\x9d\xe1\xfa\xfc\xf8\x1c\x47\x58\x7d\xdd\x12\x11\x76\x5c\x91\x72\x54\xc3\x6b\xf8\x8e\x90\x18\x59\x75\x84\x42\x37\x7e\x92\x96\xb0\xd5\xa3\xaa\xa5\x67\xad\x70\x95\x14\xdb\x6b\x8c\xaa\x26\x0b\xad\x08\xda\x62\xd0\x96\x44\x84\x4a\x2b\x [...]
- },
- "/manager/patch-log-level.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-log-level.yaml",
- modTime: time.Time{},
- uncompressedSize: 1043,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x41\x6e\xdb\x30\x10\xbc\xf3\x15\x03\xeb\x92\x00\xb6\x15\xf4\xe8\x9e\xdc\xc4\x6e\x85\x1a\x16\x10\x39\x09\x72\x2a\x68\x69\x2d\x2d\x2a\x71\x59\x92\x8a\xe2\xdf\x17\x94\xed\x26\x41\xaf\xe1\x8d\xe2\x6a\x67\x66\x67\x36\xc1\xec\xf3\x8e\x4a\xb0\xe1\x92\x8c\xa7\x0a\x41\x10\x1a\xc2\xd2\xea\xb2\x21\x14\x72\x08\x83\x76\x84\xb5\xf4\xa6\xd2\x81\xc5\xe0\x6a\x59\xac\xaf\xd1\x9b\x8a\x1c\xc4\x10\xc4\xa1\x13\x47\x2a\x41\x29\x26\x [...]
- },
- "/manager/patch-node-selector.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-node-selector.yaml",
- modTime: time.Time{},
- uncompressedSize: 1155,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xcd\x6e\xe3\x36\x10\xbe\xf3\x29\x3e\x58\x97\x5d\xc0\x3f\x6d\x8f\xee\x49\x4d\x6c\x54\xe8\xc2\x06\x22\x6f\x83\x1c\x69\x71\x2c\x0d\x4c\x71\x58\x92\x8a\xe2\xb7\x2f\x28\xdb\x4d\x82\x5e\x33\x27\x49\x1c\xcd\x7c\x7f\x2c\xb0\xf8\xba\x52\x05\x7e\x70\x43\x2e\x92\x41\x12\xa4\x8e\x50\x7a\xdd\x74\x84\x5a\x4e\x69\xd4\x81\xb0\x95\xc1\x19\x9d\x58\x1c\xbe\x95\xf5\xf6\x3b\x06\x67\x28\x40\x1c\x41\x02\x7a\x09\xa4\x0a\x34\xe2\x52\x [...]
- },
- "/manager/patch-ports.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-ports.yaml",
- modTime: time.Time{},
- uncompressedSize: 1241,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xcb\x6e\xeb\x36\x14\xdc\xf3\x2b\x06\xd6\x26\x01\x6c\xcb\xe9\x2a\x70\xd1\x85\x9b\xd8\xad\xd0\xc0\x0e\x22\xa7\x41\x96\xb4\x74\x2c\x1d\x54\xe2\x61\x49\x2a\x8a\xff\xbe\xa0\xfc\x48\x82\x6e\x2e\x2e\xc2\x8d\xc0\x87\xe6\xc1\x19\x26\x98\x7c\xdf\x50\x09\x1e\xb8\x20\xe3\xa9\x44\x10\x84\x9a\xb0\xb0\xba\xa8\x09\xb9\xec\x43\xaf\x1d\x61\x25\x9d\x29\x75\x60\x31\xb8\x5a\xe4\xab\x6b\x74\xa6\x24\x07\x31\x04\x71\x68\xc5\x91\x4a\x [...]
- },
- "/manager/patch-resource-requirements.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-resource-requirements.yaml",
- modTime: time.Time{},
- uncompressedSize: 1412,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xed\xcd\xa2\x29\x0a\xf7\xa4\xee\xae\x51\xa1\xa9\x0d\xac\x9c\x06\x39\xd2\xe2\x58\x1a\xac\xc4\x61\x49\x2a\x8a\xff\xbe\xa0\x6c\x65\xed\x04\xdb\x53\xe6\x64\x71\xc8\x37\xef\xcd\x9b\x71\x86\xf9\xcf\x0b\x95\xe1\x03\x57\x64\x03\x19\x44\x41\x6c\x08\xb9\xd3\x55\x43\x28\xe5\x10\x07\xed\x09\x6b\xe9\xad\xd1\x91\xc5\xe2\x4d\x5e\xae\xdf\xa2\xb7\x86\x3c\xc4\x12\xc4\xa3\x13\x [...]
- },
- "/manager/patch-toleration.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-toleration.yaml",
- modTime: time.Time{},
- uncompressedSize: 1226,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x48\x97\x04\xf0\x47\xd3\xa3\x7a\x52\x77\x6d\x54\x68\x20\x03\x2b\xa7\x41\x8e\xb4\x38\x92\x08\x53\x1c\x85\xa4\x56\xf1\xbf\x2f\x28\x5b\xb5\x8d\x5e\x97\x17\x5b\x33\xc3\x99\xf7\xe6\x3d\xa6\x58\x7f\xdc\x11\x29\xbe\xea\x9a\xac\x27\x85\xc0\x08\x1d\x21\x1f\x64\xdd\x11\x2a\x6e\xc2\x24\x1d\x61\xcf\xa3\x55\x32\x68\xb6\xf8\x94\x57\xfb\xcf\x18\xad\x22\x07\xb6\x04\x76\xe8\xd9\x91\x48\x51\x [...]
- },
- "/manager/patch-watch-namespace-global.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-watch-namespace-global.yaml",
- modTime: time.Time{},
- uncompressedSize: 1086,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x4f\xe3\x3a\x14\xdd\xfb\x57\x1c\x35\x0b\x40\x2a\x0d\x7a\xcb\xbe\x55\x1e\xb4\x7a\xd1\xa0\x54\x22\x65\x10\x4b\x37\xb9\x4d\xae\x26\xf1\xf5\xd8\x4e\x43\xff\xfd\xc8\x69\x3b\x80\x66\x37\xc2\x9b\xca\xea\xcd\xf9\xb8\xe7\x38\xc1\xed\xd7\x1d\x95\xe0\x91\x2b\x32\x9e\x6a\x04\x41\x68\x09\x99\xd5\x55\x4b\x28\x65\x1f\x46\xed\x08\x6b\x19\x4c\xad\x03\x8b\xc1\x75\x56\xae\x6f\x30\x98\x9a\x1c\xc4\x10\xc4\xa1\x17\x47\x2a\x41\x [...]
- },
- "/prometheus": &vfsgen۰DirInfo{
- name: "prometheus",
- modTime: time.Time{},
- },
- "/prometheus/operator-pod-monitor.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-pod-monitor.yaml",
- modTime: time.Time{},
- uncompressedSize: 1240,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\xb3\xda\x36\x14\xdd\xeb\x57\x9c\xc1\x9b\x64\x06\x4c\xdb\xa5\xbb\xa2\x2f\x30\xf5\xf4\x05\x3a\xcf\xa4\x99\x2c\x85\x74\xb1\xef\x3c\x5b\x57\x95\xe4\x38\xfc\xfb\x8e\x0c\x24\x64\xda\x45\x17\xd1\x4e\xe8\x72\x3e\xee\x39\x2e\xb0\xfa\x71\x47\x15\x78\x66\x43\x2e\x92\x45\x12\xa4\x8e\xb0\xf1\xda\x74\x84\x46\xce\x69\xd2\x81\xb0\x93\xd1\x59\x9d\x58\x1c\xde\x6c\x9a\xdd\x5b\x8c\xce\x52\x80\x38\x82\x04\x0c\x12\x48\x15\x30\x [...]
- },
- "/prometheus/operator-prometheus-rule.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-prometheus-rule.yaml",
- modTime: time.Time{},
- uncompressedSize: 5408,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xdc\x97\xef\x6f\xda\x46\x18\xc7\xdf\xfb\xaf\xf8\x0a\xb7\x12\x99\x82\x81\x4c\xd9\x0b\xa6\x4e\xa2\x69\xd0\x50\x2b\xd8\x62\xba\xaa\x9a\xa6\xe8\xb0\x1f\xcc\x35\xe7\x3b\xf7\x7e\x40\x23\x96\xff\x7d\xba\x03\x5a\xdc\x2e\x49\xdb\xd0\x6e\x89\xdf\x24\x3e\x3f\x7e\x7e\x7d\x3f\x7e\xee\x88\xd1\xda\xdf\x15\xc5\x78\xc1\x33\x92\x86\x72\x58\x05\x3b\x27\xf4\x2b\x96\xcd\x09\xa9\x9a\xd9\x25\xd3\x84\x81\x72\x32\x67\x96\x2b\x89\x66\x3f\x1d\x [...]
- },
- "/rbac": &vfsgen۰DirInfo{
- name: "rbac",
- modTime: time.Time{},
- },
- "/rbac/descoped": &vfsgen۰DirInfo{
- name: "descoped",
- modTime: time.Time{},
- },
- "/rbac/descoped/operator-cluster-role-binding-events.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding-events.yaml",
- modTime: time.Time{},
- uncompressedSize: 1258,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x34\x35\x96\xa6\x4b\x71\xd4\x21\xb5\x8a\xfb\xeb\x0b\xca\x76\xb3\x41\xd0\x22\x87\xf0\x26\x70\xf4\x3e\xe6\x3d\x16\x58\x7e\xbf\x63\x0a\xbc\x63\x47\x21\x52\x83\x24\x48\x1d\x61\x33\x58\xd7\x11\x6a\x39\xa5\xc9\x2a\xe1\x51\xc6\xd0\xd8\xc4\x12\xf0\x6a\x53\x3f\xbe\xc6\x18\x1a\x52\x48\x20\x88\xa2\x17\x25\x [...]
- },
- "/rbac/descoped/operator-cluster-role-binding-keda.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding-keda.yaml",
- modTime: time.Time{},
- uncompressedSize: 1254,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x63\x6a\x2c\x4d\x4d\x71\x54\x92\x5a\x65\xfb\xeb\x0b\xca\x76\xb3\x41\xd0\xe6\x12\xde\x04\x8e\xde\xc7\xbc\xc7\x02\xcb\xef\x77\x4c\x81\x77\x62\xd9\x47\x6e\x90\x14\xa9\x63\x6c\x06\xb2\x1d\xa3\xd6\x53\x9a\x28\x30\x1e\x75\xf4\x0d\x25\x51\x8f\x57\x9b\xfa\xf1\x35\x46\xdf\x70\x80\x7a\x86\x06\xf4\x1a\xd8\x [...]
- },
- "/rbac/descoped/operator-cluster-role-binding-knative.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding-knative.yaml",
- modTime: time.Time{},
- uncompressedSize: 1260,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x63\x6a\x2c\x4d\x4d\x71\x54\x92\x5a\x65\xfb\xeb\x0b\xca\x76\xb3\x41\xd0\x22\x87\xf0\x26\x70\xf4\x3e\xe6\x3d\x16\x58\x7e\xbf\x63\x0a\xbc\x13\xcb\x3e\x72\x83\xa4\x48\x1d\x63\x33\x90\xed\x18\xb5\x9e\xd2\x44\x81\xf1\xa8\xa3\x6f\x28\x89\x7a\xbc\xda\xd4\x8f\xaf\x31\xfa\x86\x03\xd4\x33\x34\xa0\xd7\xc0\x [...]
- },
- "/rbac/descoped/operator-cluster-role-binding-leases.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding-leases.yaml",
- modTime: time.Time{},
- uncompressedSize: 1258,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x63\x6a\x2c\x4d\x97\xe2\xa8\x24\xb5\x8a\xfb\xeb\x0b\xca\x76\xb3\x41\xd0\x22\x87\xf0\x26\x70\xf4\x3e\xe6\x3d\x16\x58\x7e\xbf\x63\x0a\xbc\x13\xcb\x3e\x72\x83\xa4\x48\x1d\x63\x33\x90\xed\x18\xb5\x9e\xd2\x44\x81\xf1\xa8\xa3\x6f\x28\x89\x7a\xbc\xda\xd4\x8f\xaf\x31\xfa\x86\x03\xd4\x33\x34\xa0\xd7\xc0\x [...]
- },
- "/rbac/descoped/operator-cluster-role-binding-podmonitors.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding-podmonitors.yaml",
- modTime: time.Time{},
- uncompressedSize: 1268,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x8f\xdb\x36\x10\x85\xef\xfc\x15\x0f\xd6\x25\x01\xd6\xde\xb6\xa7\xc2\x3d\x39\x9b\xdd\x56\x68\x60\x03\x96\xd3\x20\x47\x9a\x1a\x4b\xd3\xa5\x38\xec\x90\x5a\x65\xfb\xeb\x0b\xca\x76\xb3\x41\xd0\x22\x87\xf0\x26\x70\x38\xef\x7b\xf3\x46\x15\x96\xdf\xef\x98\x0a\xef\xd8\x51\x48\xd4\x22\x0b\x72\x4f\xd8\x44\xeb\x7a\x42\x23\xa7\x3c\x59\x25\x3c\xc8\x18\x5a\x9b\x59\x02\x5e\x6d\x9a\x87\xd7\x18\x43\x4b\x0a\x09\x04\x51\x0c\x [...]
- },
- "/rbac/descoped/operator-cluster-role-binding-strimzi.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding-strimzi.yaml",
- modTime: time.Time{},
- uncompressedSize: 1260,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x34\x35\x96\xa6\x4b\x71\xd4\x21\xb5\x8a\xf3\xeb\x0b\xca\x76\xb3\x41\xd0\xa2\x87\xf0\x26\x70\xf4\x3e\xe6\x3d\x16\x58\x7e\xbf\x63\x0a\xbc\x63\x47\x21\x52\x83\x24\x48\x1d\x61\x33\x58\xd7\x11\x6a\x39\xa5\xc9\x2a\xe1\x51\xc6\xd0\xd8\xc4\x12\xf0\x6a\x53\x3f\xbe\xc6\x18\x1a\x52\x48\x20\x88\xa2\x17\x25\x [...]
- },
- "/rbac/descoped/operator-cluster-role-binding.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding.yaml",
- modTime: time.Time{},
- uncompressedSize: 1244,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x34\x35\x96\xa6\x4b\x71\xd4\x21\xb5\x8a\xfb\xeb\x0b\xca\x76\xb3\x41\x80\x3d\x85\x37\x81\xa3\xf7\x31\xef\xb1\xc0\xf2\xc7\x1d\x53\xe0\x03\x3b\x0a\x91\x1a\x24\x41\xea\x08\x9b\xc1\xba\x8e\x50\xcb\x29\x4d\x56\x09\x8f\x32\x86\xc6\x26\x96\x80\x37\x9b\xfa\xf1\x2d\xc6\xd0\x90\x42\x02\x41\x14\xbd\x28\x99\x [...]
- },
- "/rbac/descoped/operator-cluster-role-events.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-events.yaml",
- modTime: time.Time{},
- uncompressedSize: 1177,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xe5\xb6\xa7\xc2\x3d\xb9\x9b\xdd\x56\x68\x60\x03\x2b\xa7\x41\x8e\x63\x69\x2c\x0d\x96\x22\xd5\x21\xb5\x8a\xfb\xf5\x05\x69\x39\xd9\xa0\xd7\xe5\xc5\x34\xf9\xf4\xe6\xbd\x79\xc3\x02\xeb\xb7\x5b\xa6\xc0\x47\x69\xd8\x05\x6e\x11\x3d\x62\xcf\xd8\x8d\xd4\xf4\x8c\xda\x9f\xe3\x4c\xca\x78\xf4\x93\x6b\x29\x8a\x77\x78\xb7\xab\x1f\xdf\x63\x72\x2d\x2b\xbc\x63\x78\xc5\xe0\x95\x [...]
- },
- "/rbac/descoped/operator-cluster-role-keda.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-keda.yaml",
- modTime: time.Time{},
- uncompressedSize: 1259,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xe5\xb6\xa7\xc2\x3d\xb9\x9b\xdd\xd6\x68\x60\x03\x2b\xa7\x41\x8e\x63\x6a\x2c\x4d\x4d\x91\xea\x90\x5a\x65\xfb\xf5\x05\x69\xbb\xd9\x45\xaf\xe1\xc5\x63\x72\xe6\xcd\x7b\xf3\x46\x15\x96\xdf\xef\x98\x0a\x1f\xc5\xb2\x8f\xdc\x22\x05\xa4\x9e\xb1\x19\xc9\xf6\x8c\x26\x9c\xd2\x4c\xca\x78\x0c\x93\x6f\x29\x49\xf0\x78\xb7\x69\x1e\xdf\x63\xf2\x2d\x2b\x82\x67\x04\xc5\x10\x94\x [...]
- },
- "/rbac/descoped/operator-cluster-role-knative.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-knative.yaml",
- modTime: time.Time{},
- uncompressedSize: 1759,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x94\x41\x8f\xdb\x36\x10\x85\xef\xfc\x15\x0f\xd6\x25\x01\xd6\x72\xdb\x53\xe1\x9e\xdc\xcd\x6e\x6b\x34\xb0\x81\x95\xd3\x20\x47\x4a\x1a\x4b\x03\x53\x24\x3b\xa4\xac\xb8\xbf\xbe\x10\x25\x37\x4e\xf6\xb0\x97\x5d\x5d\x3c\x94\x87\x33\xdf\xcc\x7b\x76\x86\xe5\xeb\x3d\x2a\xc3\x47\xae\xc8\x06\xaa\x11\x1d\x62\x4b\xd8\x78\x5d\xb5\x84\xc2\x1d\xe3\xa0\x85\xf0\xe8\x7a\x5b\xeb\xc8\xce\xe2\xdd\xa6\x78\x7c\x8f\xde\xd6\x24\x70\x96\xe0\x [...]
- },
- "/rbac/descoped/operator-cluster-role-leases.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-leases.yaml",
- modTime: time.Time{},
- uncompressedSize: 1239,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\xdb\x46\x10\xbd\xef\xaf\x78\x10\x2f\x09\x60\xd1\x6d\x4f\x85\x7a\x52\x1d\xbb\x25\x1a\x48\x80\xa9\x34\xc8\x71\xb5\x1c\x91\x03\x2f\x77\xb6\xb3\x4b\x33\xee\xaf\x2f\x96\x92\x12\x1b\xbd\x86\xa7\xd1\xea\xf1\x7d\xec\x1b\x56\x58\xff\xb8\xc7\x54\xf8\xc8\x8e\x42\xa2\x0e\x59\x90\x07\xc2\x36\x5a\x37\x10\x5a\x39\xe5\xd9\x2a\xe1\x41\xa6\xd0\xd9\xcc\x12\xf0\x6e\xdb\x3e\xbc\xc7\x14\x3a\x52\x48\x20\x88\x62\x14\x25\x53\x [...]
- },
- "/rbac/descoped/operator-cluster-role-podmonitors.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-podmonitors.yaml",
- modTime: time.Time{},
- uncompressedSize: 1249,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x37\xbb\xad\xd0\xc0\x06\x56\x4e\x83\x1c\x69\x6a\x2c\x0d\x96\xe2\xb0\x43\x6a\x95\xed\xaf\x2f\x24\xcb\xcd\x1a\xb9\x86\x17\x8f\xc9\xe1\xfb\xe0\x1b\x15\x58\xff\xb8\x65\x0a\x7c\x64\x47\x21\x51\x83\x2c\xc8\x1d\x61\x17\xad\xeb\x08\xb5\x9c\xf3\x68\x95\xf0\x28\x43\x68\x6c\x66\x09\x78\xb7\xab\x1f\xdf\x63\x08\x0d\x29\x24\x10\x44\xd1\x8b\x92\x29\x [...]
- },
- "/rbac/descoped/operator-cluster-role-strimzi.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-strimzi.yaml",
- modTime: time.Time{},
- uncompressedSize: 1189,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x6e\xdb\x46\x10\xbd\xef\x57\x3c\x88\x97\x04\xb0\xa8\xb6\xa7\x42\x3d\xa9\x8e\xdd\x12\x0d\x24\xc0\x54\x1a\xe4\x38\x22\x47\xe4\x40\xe4\x0e\x3b\xbb\x34\xe3\x7c\x7d\xb1\x14\x55\x3b\xe8\x35\x7b\xe1\x0e\xf8\xf8\xe6\xbd\x79\xc3\x0c\xeb\x1f\x77\x5c\x86\x8f\x52\xb1\x0f\x5c\x23\x2a\x62\xcb\xd8\x0d\x54\xb5\x8c\x52\xcf\x71\x22\x63\x3c\xea\xe8\x6b\x8a\xa2\x1e\xef\x76\xe5\xe3\x7b\x8c\xbe\x66\x83\x7a\x86\x1a\x7a\x35\x76\x [...]
- },
- "/rbac/descoped/operator-cluster-role.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role.yaml",
- modTime: time.Time{},
- uncompressedSize: 3249,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\x4d\x8f\xdb\x36\x10\xbd\xeb\x57\x0c\xac\x4b\x02\xac\xed\xb6\xa7\xc2\x3d\xb9\xfb\xd1\x1a\x0d\x6c\x60\xe5\x34\xc8\x71\x44\x8d\xe5\xa9\x29\x0e\x4b\x52\xeb\x75\x7f\x7d\x41\x59\x5a\x6b\x57\xf6\x22\x48\x02\x6c\x7c\x31\x35\x1c\xcd\xbc\x79\xef\x51\x60\x0a\xe3\xef\xf7\x4b\x52\xf8\xc0\x8a\x8c\xa7\x02\x82\x40\xd8\x12\xcc\x2d\xaa\x2d\x41\x26\x9b\xb0\x47\x47\x70\x27\xb5\x29\x30\xb0\x18\x78\x37\xcf\xee\xde\x43\x6d\x0a\x72\x [...]
- },
- "/rbac/namespaced": &vfsgen۰DirInfo{
- name: "namespaced",
- modTime: time.Time{},
- },
- "/rbac/namespaced/operator-role-binding-events.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-binding-events.yaml",
- modTime: time.Time{},
- uncompressedSize: 1219,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x6f\xfa\x46\x10\xc5\xef\xfb\x29\x9e\xf0\xe5\x1f\x09\x4c\xdb\x53\x45\x4f\x4e\x02\xad\xd5\x08\x24\x4c\x1a\xe5\xb8\xac\x07\x7b\x8a\xbd\xe3\xee\xae\x71\xe8\xa7\xaf\xd6\x40\x93\xa8\x6a\xd5\x43\xf6\x86\x18\xbf\xf9\xbd\x7d\x6f\x13\xcc\xbe\xee\xa8\x04\x4f\x6c\xc8\x7a\x2a\x11\x04\xa1\x26\x64\x9d\x36\x35\xa1\x90\x43\x18\xb4\x23\xac\xa4\xb7\xa5\x0e\x2c\x16\xdf\xb2\x62\x75\x87\xde\x96\xe4\x20\x96\x20\x0e\xad\x38\x52\x [...]
- },
- "/rbac/namespaced/operator-role-binding-keda.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-binding-keda.yaml",
- modTime: time.Time{},
- uncompressedSize: 1215,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x8f\xdb\x36\x10\x85\xef\xfc\x15\x0f\xd6\x25\x01\xd6\x72\xdb\x53\xe1\x9e\x94\xcd\xba\x15\x1a\xd8\x80\xe5\x34\xc8\x71\x4c\x8d\xa5\xa9\x25\x8e\x4a\x52\xab\xb8\xbf\xbe\xa0\x6c\x77\x37\x28\xda\x5e\xc2\x9b\xa0\xd1\x9b\xef\xf1\x3d\x65\x58\x7e\xbb\x63\x32\x7c\x10\xcb\x2e\x70\x8d\xa8\x88\x2d\xa3\x18\xc8\xb6\x8c\x4a\x4f\x71\x22\xcf\xd8\xe8\xe8\x6a\x8a\xa2\x0e\x6f\x8a\x6a\xf3\x16\xa3\xab\xd9\x43\x1d\x43\x3d\x7a\xf5\x [...]
- },
- "/rbac/namespaced/operator-role-binding-knative.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-binding-knative.yaml",
- modTime: time.Time{},
- uncompressedSize: 1221,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x8f\xdb\x36\x10\x85\xef\xfc\x15\x0f\xd6\x25\x01\xd6\x72\xdb\x53\xe1\x9e\x94\xcd\x6e\x2b\x34\xb0\x01\xcb\x69\x90\xe3\x98\x1a\x4b\x53\x4b\x1c\x95\xa4\xac\xb8\xbf\xbe\xa0\x6c\x77\x37\x28\x5a\xf4\x10\xde\x04\x8d\xde\x7c\x8f\xef\x29\xc3\xf2\xdb\x1d\x93\xe1\x83\x58\x76\x81\x6b\x44\x45\x6c\x19\xc5\x40\xb6\x65\x54\x7a\x8c\x13\x79\xc6\xb3\x8e\xae\xa6\x28\xea\xf0\xa6\xa8\x9e\xdf\x62\x74\x35\x7b\xa8\x63\xa8\x47\xaf\x [...]
- },
- "/rbac/namespaced/operator-role-binding-leases.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-binding-leases.yaml",
- modTime: time.Time{},
- uncompressedSize: 1219,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x8f\xdb\x36\x10\x85\xef\xfc\x15\x0f\xd6\x25\x01\xd6\x72\xdb\x53\xe1\x9e\x9c\xcd\x6e\x2b\x34\xb0\x01\xcb\x69\x90\xe3\x98\x1a\x4b\xd3\xa5\x38\x2a\x49\xad\xe2\xfe\xfa\x82\xb2\xdd\xdd\xa0\x68\xd1\x43\x78\x13\x34\x7a\xf3\x3d\xbe\xa7\x02\xcb\x6f\x77\x4c\x81\x0f\x62\xd9\x47\x6e\x90\x14\xa9\x63\x6c\x06\xb2\x1d\xa3\xd6\x53\x9a\x28\x30\x1e\x75\xf4\x0d\x25\x51\x8f\x37\x9b\xfa\xf1\x2d\x46\xdf\x70\x80\x7a\x86\x06\xf4\x [...]
- },
- "/rbac/namespaced/operator-role-binding-podmonitors.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-binding-podmonitors.yaml",
- modTime: time.Time{},
- uncompressedSize: 1229,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x34\x35\x96\xa6\x2b\x71\xd8\x21\xb5\x8a\xfb\xeb\x0b\xca\x76\x77\x83\xa2\x45\x0f\xe1\x4d\xd0\xf0\x7d\xcc\x7b\x2c\xb0\xfc\x76\xc7\x14\xf8\xc0\x8e\x7c\xa4\x06\x49\x90\x3a\xc2\x26\x58\xd7\x11\x6a\x39\xa5\xc9\x2a\xe1\x51\x46\xdf\xd8\xc4\xe2\xf1\x66\x53\x3f\xbe\xc5\xe8\x1b\x52\x88\x27\x88\x62\x10\x25\x [...]
- },
- "/rbac/namespaced/operator-role-binding-strimzi.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-binding-strimzi.yaml",
- modTime: time.Time{},
- uncompressedSize: 1221,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x6f\xfa\x46\x10\xc5\xef\xfb\x29\x9e\xf0\xe5\x1f\x09\x4c\xdb\x53\x45\x4f\x4e\x02\xad\xd5\x08\x24\x4c\x1a\xe5\xb8\xac\x07\x7b\x8a\xbd\xe3\xee\xae\xe3\x90\x4f\x5f\xad\x81\x26\x51\xd5\xea\x7f\xc8\xde\x10\xc3\x9b\xdf\x9b\xf7\x48\x30\xfb\xba\xa7\x12\x3c\xb0\x21\xeb\xa9\x44\x10\x84\x9a\x90\x75\xda\xd4\x84\x42\x0e\x61\xd0\x8e\xb0\x92\xde\x96\x3a\xb0\x58\x7c\xcb\x8a\xd5\x0d\x7a\x5b\x92\x83\x58\x82\x38\xb4\xe2\x48\x [...]
- },
- "/rbac/namespaced/operator-role-binding.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-binding.yaml",
- modTime: time.Time{},
- uncompressedSize: 1205,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x6f\xc2\x46\x10\x85\xef\xfb\x2b\x9e\xf0\x25\x91\xc0\xb4\x3d\x55\xf4\xe4\x24\xd0\x5a\x8d\x40\xc2\xa4\x51\x8e\xcb\x7a\xb0\xa7\xd8\x3b\xee\xee\x3a\x0e\xfd\xf5\xd5\x1a\x68\x12\x55\xcd\x29\x7b\xb3\x3c\x7e\xf3\xbd\x7d\xcf\x09\x66\xdf\x77\x54\x82\x47\x36\x64\x3d\x95\x08\x82\x50\x13\xb2\x4e\x9b\x9a\x50\xc8\x21\x0c\xda\x11\x56\xd2\xdb\x52\x07\x16\x8b\x9b\xac\x58\xdd\xa2\xb7\x25\x39\x88\x25\x88\x43\x2b\x8e\x54\x02\x [...]
- },
- "/rbac/namespaced/operator-role-events.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-events.yaml",
- modTime: time.Time{},
- uncompressedSize: 1170,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xe5\xb6\xa7\xc2\x3d\xb9\x9b\xdd\x56\x68\x60\x03\x2b\xa7\x41\x8e\x63\x69\x2c\x0d\x56\xe2\xa8\x43\x6a\x15\xf7\xeb\x0b\xca\x72\xb2\x41\xaf\xcb\x8b\x69\xf2\xe9\xcd\x7b\xf3\x86\x19\xd6\x6f\xb7\x5c\x86\x8f\x52\xb1\x0f\x5c\x23\x2a\x62\xcb\xd8\x0d\x54\xb5\x8c\x52\xcf\x71\x22\x63\x3c\xea\xe8\x6b\x8a\xa2\x1e\xef\x76\xe5\xe3\x7b\x8c\xbe\x66\x83\x7a\x86\x1a\x7a\x35\x76\x [...]
- },
- "/rbac/namespaced/operator-role-keda.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-keda.yaml",
- modTime: time.Time{},
- uncompressedSize: 1252,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xe5\xb6\xa7\xc2\x3d\xb9\x9b\xdd\xd6\x68\x60\x03\x2b\xa7\x41\x8e\x63\x6a\x2c\x4d\x4d\x91\xea\x90\x5a\x65\xfb\xf5\x05\x69\xbb\xd9\x45\xaf\xe1\xc5\x63\x72\xe6\xcd\x7b\xf3\x46\x15\x96\xdf\xef\x98\x0a\x1f\xc5\xb2\x8f\xdc\x22\x05\xa4\x9e\xb1\x19\xc9\xf6\x8c\x26\x9c\xd2\x4c\xca\x78\x0c\x93\x6f\x29\x49\xf0\x78\xb7\x69\x1e\xdf\x63\xf2\x2d\x2b\x82\x67\x04\xc5\x10\x94\x [...]
- },
- "/rbac/namespaced/operator-role-knative.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-knative.yaml",
- modTime: time.Time{},
- uncompressedSize: 1752,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x94\x41\x8f\xdb\x46\x0c\x85\xef\xfa\x15\x0f\xd6\x25\x01\xd6\x72\xdb\x53\xe1\x9e\xdc\xcd\x6e\x6b\x34\xb0\x81\x95\xd3\x20\x47\x4a\xa2\x25\xc2\xd2\xcc\x94\x33\xb2\xe2\xfe\xfa\x42\x23\xb9\x71\xb2\x87\xbd\xec\xea\x62\x8e\xcc\x21\x3f\xf2\x3d\x3b\xc5\xf2\xf5\x9e\x24\xc5\x47\x29\xd9\x78\xae\x10\x2c\x42\xc3\xd8\x38\x2a\x1b\x46\x6e\x8f\x61\x20\x65\x3c\xda\xde\x54\x14\xc4\x1a\xbc\xdb\xe4\x8f\xef\xd1\x9b\x8a\x15\xd6\x30\xac\x [...]
- },
- "/rbac/namespaced/operator-role-leases.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-leases.yaml",
- modTime: time.Time{},
- uncompressedSize: 1232,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\xdb\x46\x10\xbd\xef\xaf\x78\x10\x2f\x09\x60\xd1\x6d\x4f\x85\x7a\x52\x1d\xbb\x25\x1a\x48\x80\xa9\x34\xc8\x71\xb5\x1c\x91\x03\x2f\x77\xb6\xb3\x4b\x33\xee\xaf\x2f\x96\x92\x12\x1b\xbd\x86\xa7\xd1\xea\xf1\x7d\xec\x1b\x56\x58\xff\xb8\xc7\x54\xf8\xc8\x8e\x42\xa2\x0e\x59\x90\x07\xc2\x36\x5a\x37\x10\x5a\x39\xe5\xd9\x2a\xe1\x41\xa6\xd0\xd9\xcc\x12\xf0\x6e\xdb\x3e\xbc\xc7\x14\x3a\x52\x48\x20\x88\x62\x14\x25\x53\x [...]
- },
- "/rbac/namespaced/operator-role-podmonitors.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-podmonitors.yaml",
- modTime: time.Time{},
- uncompressedSize: 1242,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x37\xbb\xad\xd0\xc0\x06\x56\x4e\x83\x1c\x69\x6a\x2c\x0d\x96\xe2\xb0\x43\x6a\x95\xed\xaf\x2f\x24\xcb\xcd\x1a\xb9\x86\x17\x8f\xc9\xe1\xfb\xe0\x1b\x15\x58\xff\xb8\x65\x0a\x7c\x64\x47\x21\x51\x83\x2c\xc8\x1d\x61\x17\xad\xeb\x08\xb5\x9c\xf3\x68\x95\xf0\x28\x43\x68\x6c\x66\x09\x78\xb7\xab\x1f\xdf\x63\x08\x0d\x29\x24\x10\x44\xd1\x8b\x92\x29\x [...]
- },
- "/rbac/namespaced/operator-role-strimzi.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-strimzi.yaml",
- modTime: time.Time{},
- uncompressedSize: 1182,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x6e\xdb\x46\x10\xbd\xef\x57\x3c\x88\x97\x04\xb0\xa8\xb6\xa7\x42\x3d\xa9\x8e\xdd\x12\x0d\x24\xc0\x54\x1a\xe4\x38\x22\x47\xe4\x40\xe4\x0e\x3b\xbb\x34\xe3\x7c\x7d\xb1\x14\x55\x3b\xe8\x35\x7b\xe1\x0e\xf8\xf8\xe6\xbd\x79\xc3\x0c\xeb\x1f\x77\x5c\x86\x8f\x52\xb1\x0f\x5c\x23\x2a\x62\xcb\xd8\x0d\x54\xb5\x8c\x52\xcf\x71\x22\x63\x3c\xea\xe8\x6b\x8a\xa2\x1e\xef\x76\xe5\xe3\x7b\x8c\xbe\x66\x83\x7a\x86\x1a\x7a\x35\x76\x [...]
- },
- "/rbac/namespaced/operator-role.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role.yaml",
- modTime: time.Time{},
- uncompressedSize: 3259,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\x41\x8f\xdb\x36\x13\xbd\xeb\x57\x0c\xac\x4b\x02\xac\xed\xef\xeb\xa9\x70\x4f\xee\x66\xb7\x35\x1a\xd8\xc0\xca\x69\x90\xe3\x88\x1a\xcb\x53\x53\x1c\x96\xa4\xd6\xeb\xfe\xfa\x82\xb2\xb4\xd6\x5a\xf6\x22\x48\x02\x6c\x7d\x31\x35\x1c\xbd\x79\x33\xef\x51\x60\x0a\xe3\x1f\xf7\x4b\x52\xf8\xc8\x8a\x8c\xa7\x02\x82\x40\xd8\x12\xcc\x2d\xaa\x2d\x41\x26\x9b\xb0\x47\x47\x70\x2f\xb5\x29\x30\xb0\x18\x78\x37\xcf\xee\xdf\x43\x6d\x0a\x [...]
- },
- "/rbac/openshift": &vfsgen۰DirInfo{
- name: "openshift",
- modTime: time.Time{},
- },
- "/rbac/openshift/descoped": &vfsgen۰DirInfo{
- name: "descoped",
- modTime: time.Time{},
- },
- "/rbac/openshift/descoped/operator-cluster-role-binding-openshift.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding-openshift.yaml",
- modTime: time.Time{},
- uncompressedSize: 1264,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x8f\xdb\x36\x10\x85\xef\xfc\x15\x0f\xd6\x25\x01\xd6\x72\xdb\x53\xe1\x9e\x9c\xcd\x6e\x2b\x34\xb0\x01\xcb\x69\x90\x23\x4d\x8d\xa5\xe9\x52\x1c\x75\x48\xad\xe2\xfe\xfa\x82\xb2\xdd\x6c\x10\xb4\xc8\x21\x3c\x49\xe0\x68\xde\xf7\xe6\x8d\x0a\x2c\xbf\xdf\x31\x05\xde\xb1\xa3\x10\xa9\x41\x12\xa4\x8e\xb0\x19\xac\xeb\x08\xb5\x9c\xd2\x64\x95\xf0\x28\x63\x68\x6c\x62\x09\x78\xb5\xa9\x1f\x5f\x63\x0c\x0d\x29\x24\x10\x44\xd1\x [...]
- },
- "/rbac/openshift/descoped/operator-cluster-role-openshift.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-openshift.yaml",
- modTime: time.Time{},
- uncompressedSize: 2218,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x53\x41\x8f\xdb\x46\x0f\xbd\xeb\x57\x10\xd6\x25\x01\xd6\xf2\xf7\xf5\x54\xb8\x27\x77\xb3\xdb\x1a\x0d\x6c\x60\xe5\x34\xc8\x91\x1a\xd1\x12\xe1\xd1\x70\xca\x19\x45\xd9\xfc\xfa\x62\xc6\x76\xe2\xac\xbb\x9b\x4b\x80\xf8\x22\x2e\xf9\x96\x7c\x8f\x8f\x53\xc2\xfc\xc7\xfd\x8a\x12\xde\xb2\x21\x17\xa8\x85\x28\x10\x7b\x82\x95\x47\xd3\x13\xd4\xb2\x8f\x13\x2a\xc1\xbd\x8c\xae\xc5\xc8\xe2\xe0\xd5\xaa\xbe\x7f\x0d\xa3\x6b\x49\x41\x1c\x [...]
- },
- "/rbac/openshift/namespaced": &vfsgen۰DirInfo{
- name: "namespaced",
- modTime: time.Time{},
- },
- "/rbac/openshift/namespaced/operator-role-binding-openshift.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-binding-openshift.yaml",
- modTime: time.Time{},
- uncompressedSize: 1225,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\xab\x46\x14\xdd\xcf\xaf\x38\x32\x9b\xf7\x24\x1b\xb7\x5d\x55\xee\x8a\x97\xd8\x2d\x6a\x64\x4b\xc6\x69\x94\xe5\x78\xb8\xc0\xad\x61\x2e\x9d\x19\x42\xdc\x5f\x5f\x0d\xb6\x9b\x44\x55\xab\x2e\x32\x2b\x10\x97\xf3\x71\xcf\x99\x04\x8b\xcf\x3b\x2a\xc1\x03\x1b\xb2\x9e\x4a\x04\x41\x68\x08\x59\xaf\x4d\x43\x28\xa4\x0a\xa3\x76\x84\x8d\x0c\xb6\xd4\x81\xc5\xe2\x4b\x56\x6c\xbe\x62\xb0\x25\x39\x88\x25\x88\x43\x27\x8e\x54\x [...]
- },
- "/rbac/openshift/namespaced/operator-role-openshift.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-openshift.yaml",
- modTime: time.Time{},
- uncompressedSize: 2211,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x53\x41\x8f\xdb\x46\x0f\xbd\xeb\x57\x10\xd6\x25\x01\xd6\xf2\xf7\xf5\x54\xb8\x27\x37\xd9\x6d\x8d\x06\x36\xb0\x72\x1a\xe4\x48\x8d\x68\x89\xf0\x68\x38\xe5\x8c\x56\xd9\xfc\xfa\x62\xc6\x76\xe2\xac\xbb\x9b\x4b\x80\xf8\x22\x2e\xf9\x96\x7c\x8f\x8f\x53\xc2\xfc\xc7\xfd\x8a\x12\xde\xb1\x21\x17\xa8\x85\x28\x10\x7b\x82\x95\x47\xd3\x13\xd4\xb2\x8f\x13\x2a\xc1\x9d\x8c\xae\xc5\xc8\xe2\xe0\xd5\xaa\xbe\x7b\x0d\xa3\x6b\x49\x41\x1c\x [...]
- },
- "/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-console-binding-openshift.yaml",
- modTime: time.Time{},
- uncompressedSize: 1280,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xe5\xb6\xa7\xc2\x3d\x39\x9b\xdd\x56\x68\x60\x03\x96\xd3\x20\x47\x9a\x1a\x4b\xd3\xa5\x38\xea\x90\x5a\xc5\xfd\xfa\x82\xb2\xdd\x6c\x10\xb4\x40\x80\xf0\x26\x71\x66\xde\x7b\xf3\x1e\x0b\x2c\xbf\xdf\x31\x05\xde\xb1\xa3\x10\xa9\x41\x12\xa4\x8e\xb0\x19\xac\xeb\x08\xb5\x9c\xd2\x64\x95\xf0\x28\x63\x68\x6c\x62\x09\x78\xb5\xa9\x1f\x5f\x63\x0c\x0d\x29\x24\x10\x44\xd1\x8b\x [...]
- },
- "/rbac/openshift/operator-cluster-role-console-openshift.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-console-openshift.yaml",
- modTime: time.Time{},
- uncompressedSize: 1262,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xb5\x6d\x4f\x85\x7b\x72\x37\xbb\xad\xd0\xc0\x06\x56\x4e\x83\x1c\x69\x6a\x2c\x0d\x96\xe2\xa8\x43\x6a\x95\xed\xd7\x17\xa4\xed\x64\x17\xbd\x86\x17\x8d\xa8\xc7\x37\xef\xf1\x8d\x2a\xac\x7f\xdc\x32\x15\x3e\xb2\xa3\x10\xa9\x43\x12\xa4\x81\xb0\x9d\xac\x1b\x08\xad\x9c\xd2\x62\x95\xf0\x20\x73\xe8\x6c\x62\x09\x78\xb7\x6d\x1f\xde\x63\x0e\x1d\x29\x24\x10\x44\x31\x8a\x92\x [...]
- },
- "/rbac/operator-cluster-role-addressable-resolver.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-addressable-resolver.yaml",
- modTime: time.Time{},
- uncompressedSize: 1228,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x8f\xdb\x36\x10\x85\xef\xfc\x15\x0f\xd6\x25\x01\x56\x72\xdb\x53\xe1\x9e\xdc\xcd\x6e\x2b\x34\xb0\x81\x95\xd3\x20\x47\x5a\x1c\x4b\x83\xa5\x38\xea\x90\x5a\x65\xfb\xeb\x0b\xca\x76\xe3\x20\xc8\x2d\xbc\x09\x7c\x9c\xf9\xde\xbc\x51\x81\xf2\xc7\x1d\x53\xe0\x3d\xb7\x14\x22\x39\x24\x41\xea\x09\xdb\xd1\xb6\x3d\xa1\x91\x53\x9a\xad\x12\x1e\x65\x0a\xce\x26\x96\x80\x37\xdb\xe6\xf1\x2d\xa6\xe0\x48\x21\x81\x20\x8a\x41\x94\x [...]
- },
- "/rbac/operator-cluster-role-binding-addressable-resolver.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding-addressable-resolver.yaml",
- modTime: time.Time{},
- uncompressedSize: 1296,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xcd\x8e\xdb\x36\x10\xbe\xf3\x29\x3e\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x34\x35\x96\xa6\x4b\x71\xd4\x21\xb5\x8a\xfb\xf4\x05\x65\xbb\xd9\x20\x68\x0f\x41\x78\x13\xc8\x99\xef\x57\x05\x96\xdf\xef\x98\x02\xef\xd8\x51\x88\xd4\x20\x09\x52\x47\xd8\x0c\xd6\x75\x84\x5a\x4e\x69\xb2\x4a\x78\x94\x31\x34\x36\xb1\x04\xbc\xda\xd4\x8f\xaf\x31\x86\x86\x14\x12\x08\xa2\xe8\x45\xc9\x14\x [...]
- },
- "/rbac/operator-cluster-role-binding-custom-resource-definitions.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-binding-custom-resource-definitions.yaml",
- modTime: time.Time{},
- uncompressedSize: 1300,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x34\x35\x96\xa6\x4b\x71\xd4\x21\xb5\x8a\xfb\xeb\x0b\xca\x76\xb3\x41\xd0\x1e\x82\xe8\x26\x70\xf8\x3e\xe6\x3d\x16\x58\x7e\xbf\xcf\x14\x78\xc7\x8e\x42\xa4\x06\x49\x90\x3a\xc2\x66\xb0\xae\x23\xd4\x72\x4a\x93\x55\xc2\xa3\x8c\xa1\xb1\x89\x25\xe0\xd5\xa6\x7e\x7c\x8d\x31\x34\xa4\x90\x40\x10\x45\x2f\x4a\x [...]
- },
- "/rbac/operator-cluster-role-custom-resource-definitions.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-custom-resource-definitions.yaml",
- modTime: time.Time{},
- uncompressedSize: 1195,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\xe3\x36\x10\xbd\xf3\x57\x3c\x58\x97\x5d\x20\x92\xdb\x9e\x0a\xf7\xe4\x66\x93\x56\xe8\xc2\x06\x22\x6f\x17\x7b\xa4\xa5\xb1\x34\x30\xc5\x51\x87\x54\x14\xf7\xd7\x17\x94\xe5\x6e\x82\xbd\x46\x37\xda\x8f\xef\x63\xde\x30\x43\xfe\x7e\x9f\xc9\xf0\x99\x6b\xf2\x81\x1a\x44\x41\xec\x08\xdb\xc1\xd6\x1d\xa1\x92\x53\x9c\xac\x12\x1e\x65\xf4\x8d\x8d\x2c\x1e\x1f\xb6\xd5\xe3\x47\x8c\xbe\x21\x85\x78\x82\x28\x7a\x51\x32\x19\x [...]
- },
- "/rbac/operator-cluster-role-local-registry.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-cluster-role-local-registry.yaml",
- modTime: time.Time{},
- uncompressedSize: 1199,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x14\xbc\xf3\x2b\x06\xd2\x25\x01\xd6\x72\xdb\x53\xe1\x9e\xdc\xcd\x6e\x2b\x34\x90\x81\x95\xd3\x20\x28\x72\xa0\xa5\x67\xe9\xc1\x14\x9f\xfa\x48\xad\xe2\x7e\x7d\x41\xd9\x6e\x76\x9b\x6b\x78\xb3\x39\x7c\x33\xf3\x66\x94\x63\xf5\xfd\x8e\xc9\xf1\x9e\x1b\xf2\x81\x5a\x44\x41\xec\x09\xdb\xd1\x36\x3d\xa1\x96\x63\x9c\xad\x12\x1e\x65\xf2\xad\x8d\x2c\x1e\x6f\xb6\xf5\xe3\x5b\x4c\xbe\x25\x85\x78\x82\x28\x06\x51\x [...]
- },
- "/rbac/operator-role-binding-local-registry.yaml": &vfsgen۰CompressedFileInfo{
- name: "operator-role-binding-local-registry.yaml",
- modTime: time.Time{},
- uncompressedSize: 1292,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xeb\x56\x68\x60\x03\x96\xd3\x20\x47\x8a\x1a\x4b\x53\x53\x1c\x96\xa4\x56\x71\x7f\x7d\x41\xd9\x6e\x76\x51\xb4\x40\x81\xcc\x4d\xd0\xe8\x7d\xcc\x7b\x2a\xb0\xfc\x76\xa3\x0a\x7c\x60\x43\x2e\x52\x8b\x24\x48\x3d\x61\xe3\xb5\xe9\x09\xb5\x9c\xd2\xa4\x03\x61\x2b\xa3\x6b\x75\x62\x71\x78\xb3\xa9\xb7\x6f\x31\xba\x96\x02\xc4\x11\x24\x60\x90\x40\x [...]
- },
- "/rbac/patch-role-to-clusterrole.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-role-to-clusterrole.yaml",
- modTime: time.Time{},
- uncompressedSize: 988,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4f\x6f\xda\x4e\x10\xbd\xef\xa7\x78\xc2\x97\x44\x22\xf0\xd3\xef\x48\x4f\x94\x80\x6a\x35\x32\x12\x26\x8d\x72\x5c\xec\xc1\x1e\x65\xbd\xb3\xdd\x5d\xc7\xe1\xdb\x57\x6b\xa0\x49\xd4\x6b\xe6\x66\x79\xfc\xfe\xcc\x7b\xce\x70\xf7\x75\xa3\x32\x3c\x70\x45\x36\x50\x8d\x28\x88\x2d\x61\xe9\x74\xd5\x12\x4a\x39\xc6\x41\x7b\xc2\x46\x7a\x5b\xeb\xc8\x62\x71\xb3\x2c\x37\xb7\xe8\x6d\x4d\x1e\x62\x09\xe2\xd1\x89\x27\x95\xa1\x12\x1b\x [...]
- },
- "/rbac/patch-rolebinding-to-clusterrolebinding.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-rolebinding-to-clusterrolebinding.yaml",
- modTime: time.Time{},
- uncompressedSize: 1113,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xcf\x6f\xe2\x3a\x10\xbe\xe7\xaf\xf8\x44\x2e\xad\x44\xa1\x7a\x47\xde\x89\x52\xd0\x8b\x5e\x05\x12\xa1\x5b\xf5\x68\xe2\x21\x99\xad\xe3\xf1\xda\x4e\x53\xfe\xfb\x95\x03\x6c\x5b\xad\x7a\xab\x6f\x88\xf9\x7e\xcd\x37\xc9\x71\xf3\x7d\x2f\xcb\xf1\xc0\x15\xd9\x40\x1a\x51\x10\x1b\xc2\xdc\xa9\xaa\x21\x94\x72\x88\xbd\xf2\x84\x95\x74\x56\xab\xc8\x62\x71\x35\x2f\x57\xd7\xe8\xac\x26\x0f\xb1\x04\xf1\x68\xc5\x53\x96\xa3\x12\x1b\x [...]
- },
- "/rbac/user-cluster-role.yaml": &vfsgen۰CompressedFileInfo{
- name: "user-cluster-role.yaml",
- modTime: time.Time{},
- uncompressedSize: 1938,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x4d\x8f\x22\x47\x0c\xbd\xf7\xaf\x78\xea\xbe\xec\x4a\x03\x24\x39\x45\xe4\x44\xe6\x23\x41\x59\x81\x34\xcd\x66\xb5\x47\xd3\x65\x1a\x8b\xea\xaa\x4e\x95\x7b\xd8\xc9\xaf\x8f\xaa\x80\x81\x59\x76\x0e\x59\x2d\x17\x5c\xb6\xcb\x7e\xcf\xcf\xd5\x15\x46\x3f\xee\x57\x54\xf8\x20\x0d\xbb\xc8\x06\xea\xa1\x5b\xc6\xac\xa7\x66\xcb\xa8\xfd\x46\xf7\x14\x18\x0f\x7e\x70\x86\x54\xbc\xc3\xbb\x59\xfd\xf0\x1e\x83\x33\x1c\xe0\x1d\xc3\x07\x [...]
- },
- "/samples": &vfsgen۰DirInfo{
- name: "samples",
- modTime: time.Time{},
- },
- "/samples/bases": &vfsgen۰DirInfo{
- name: "bases",
- modTime: time.Time{},
- },
- "/samples/bases/camel_v1_build.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel_v1_build.yaml",
- modTime: time.Time{},
- uncompressedSize: 1018,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4f\x6f\x9b\x4e\x10\xbd\xef\xa7\x78\x32\x97\x44\x72\xec\xdf\xaf\x47\xf7\x44\x12\x5b\x45\x8d\xb0\x14\x9c\x46\x39\x8e\xd9\x31\x8c\x02\xbb\x74\x77\x09\xb6\xaa\x7e\xf7\x6a\xb1\xdd\x38\xea\x35\x73\x43\x0c\xef\xcf\xbc\x47\x82\x9b\xcf\x1b\x95\xe0\x41\x4a\x36\x9e\x35\x82\x45\xa8\x19\x69\x47\x65\xcd\x28\xec\x2e\x0c\xe4\x18\x2b\xdb\x1b\x4d\x41\xac\xc1\x55\x5a\xac\xae\xd1\x1b\xcd\x0e\xd6\x30\xac\x43\x6b\x1d\xab\x04\xa5\x [...]
- },
- "/samples/bases/camel_v1_camelcatalog.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel_v1_camelcatalog.yaml",
- modTime: time.Time{},
- uncompressedSize: 1025,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x3d\x6f\xdb\x30\x10\xdd\xf9\x2b\x1e\xac\x25\x01\x1c\xbb\xed\xe8\x4e\xaa\x63\xa3\x42\x03\x19\x88\x9c\x06\x19\xcf\xd2\x59\x3a\x44\x22\x59\x92\x8a\x62\x14\xfd\xef\x05\x65\xbb\x71\xd0\x35\xdc\x04\x9e\xde\xc7\xbd\xc7\x04\x37\x1f\x77\x54\x82\x3b\x29\x59\x7b\xae\x10\x0c\x42\xc3\x48\x2d\x95\x0d\xa3\x30\xfb\x30\x90\x63\xac\x4d\xaf\x2b\x0a\x62\x34\xae\xd2\x62\x7d\x8d\x5e\x57\xec\x60\x34\xc3\x38\x74\xc6\xb1\x4a\x50\x1a\x [...]
- },
- "/samples/bases/camel_v1_integration.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel_v1_integration.yaml",
- modTime: time.Time{},
- uncompressedSize: 1193,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\xe3\x38\x0c\xbd\xeb\x57\x3c\xc4\x87\x99\x01\xf2\x35\x7b\xf4\x9e\x32\x99\x04\x63\xb4\x48\x80\x3a\xdd\xa2\x47\xc5\xa6\x6d\xa2\xb2\xe8\x95\xe4\xba\xf9\xf7\x0b\x39\x49\x9b\x62\xaf\xd5\x49\x96\x49\xbe\xf7\xf8\xc8\x04\xb3\xaf\x3b\x2a\xc1\x3d\x17\x64\x3d\x95\x08\x82\xd0\x10\x56\x9d\x2e\x1a\x42\x2e\x55\x18\xb4\x23\x6c\xa5\xb7\xa5\x0e\x2c\x16\xdf\x57\xf9\xf6\x07\x7a\x5b\x92\x83\x58\x82\x38\xb4\xe2\x48\x25\x28\x [...]
- },
- "/samples/bases/camel_v1_integrationkit.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel_v1_integrationkit.yaml",
- modTime: time.Time{},
- uncompressedSize: 1027,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4f\x6f\x9b\x4e\x10\xbd\xef\xa7\x78\x32\x97\x44\x72\xec\xdf\xaf\x47\xf7\x44\x13\x5b\x45\x89\xb0\x14\x9c\x46\x39\x8e\x61\x0c\xa3\xc0\xee\x76\x77\x09\xb6\xaa\x7e\xf7\x6a\xb1\xdd\x38\xea\x35\x73\x43\x0c\xef\xcf\xbc\x47\x82\x9b\xcf\x1b\x95\xe0\x41\x4a\xd6\x9e\x2b\x04\x83\xd0\x30\x52\x4b\x65\xc3\x28\xcc\x2e\x0c\xe4\x18\x2b\xd3\xeb\x8a\x82\x18\x8d\xab\xb4\x58\x5d\xa3\xd7\x15\x3b\x18\xcd\x30\x0e\x9d\x71\xac\x12\x94\x [...]
- },
- "/samples/bases/camel_v1_integrationplatform.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel_v1_integrationplatform.yaml",
- modTime: time.Time{},
- uncompressedSize: 1058,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xcd\x6e\xdb\x3c\x10\xbc\xf3\x29\x06\xd6\x25\x01\x1c\xfb\xfb\x7a\x74\x4f\x6a\x62\xa3\x42\x03\xb9\x88\x9c\x06\x39\xae\xa5\xb5\xb4\x08\x45\xaa\x24\x15\xc5\x6f\x5f\x50\x96\x1b\x07\xbd\x86\x37\x81\xcb\xf9\xd9\x19\x25\xb8\xf9\xbc\xa3\x12\xdc\x4b\xc9\xc6\x73\x85\x60\x11\x1a\x46\xda\x51\xd9\x30\x0a\x7b\x08\x03\x39\xc6\xc6\xf6\xa6\xa2\x20\xd6\xe0\x2a\x2d\x36\xd7\xe8\x4d\xc5\x0e\xd6\x30\xac\x43\x6b\x1d\xab\x04\xa5\x35\x [...]
- },
- "/samples/bases/camel_v1_kamelet.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel_v1_kamelet.yaml",
- modTime: time.Time{},
- uncompressedSize: 1605,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\x4d\x6f\xdb\x38\x10\xbd\xeb\x57\x3c\x58\x97\x16\x88\x9d\x74\x8f\xda\x93\x9b\x3a\x58\xa3\x5d\xbb\x88\xdc\x2d\x7a\xa4\xa5\xb1\x3c\xb0\x44\x72\x87\xa3\x28\xfe\xf7\x0b\xea\x23\x76\xb2\xe8\x2d\xba\x71\x38\x1f\xef\xf1\xbd\x51\x8a\xf9\xfb\x7d\x49\x8a\x6f\x5c\x90\x0d\x54\x42\x1d\xf4\x48\x58\x7a\x53\x1c\x09\xb9\x3b\x68\x67\x84\xf0\xe0\x5a\x5b\x1a\x65\x67\xf1\x61\x99\x3f\x7c\x44\x6b\x4b\x12\x38\x4b\x70\x82\xc6\x09\x25\x [...]
- },
- "/samples/bases/camel_v1_pipe.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel_v1_pipe.yaml",
- modTime: time.Time{},
- uncompressedSize: 1287,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\xe3\x36\x10\xbd\xf3\x57\x3c\x58\x97\x5d\xc0\x5f\xdd\xa3\x7b\x72\xb3\x36\x56\x48\x60\x17\x91\xd3\x20\x47\x5a\x1a\x4b\x83\x50\x1c\x96\xa4\xa2\xf8\xdf\x17\x94\xec\xc6\x41\x0f\xbd\x84\x27\x8a\x1c\xbd\x8f\x79\xc3\x0c\xb3\xaf\x5b\x2a\xc3\x03\x97\x64\x03\x55\x88\x82\xd8\x10\xd6\x4e\x97\x0d\xa1\x90\x53\xec\xb5\x27\x6c\xa5\xb3\x95\x8e\x2c\x16\xdf\xd6\xc5\xf6\x3b\x3a\x5b\x91\x87\x58\x82\x78\xb4\xe2\x49\x65\x28\x [...]
- },
- "/samples/bases/camel_v1alpha1_kameletbinding.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel_v1alpha1_kameletbinding.yaml",
- modTime: time.Time{},
- uncompressedSize: 1315,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x53\x3d\x6f\xeb\x38\x10\xec\xf9\x2b\x06\x56\xf3\x1e\xe0\xaf\xf7\x4a\x5f\xe5\x24\x36\x22\x24\xb0\x81\xc8\xb9\x20\x25\x2d\xad\xa5\x45\x28\x2e\x8f\xa4\xa2\xf8\xdf\x1f\x28\xdb\x17\x07\xd7\x5c\x91\x63\x45\x91\xab\x9d\x99\x9d\x61\x86\xc9\xf7\x2d\x95\xe1\x91\x4b\xb2\x81\x2a\x44\x41\x6c\x08\x4b\xa7\xcb\x86\x50\xc8\x21\xf6\xda\x13\xd6\xd2\xd9\x4a\x47\x16\x8b\x1f\xcb\x62\xfd\x13\x9d\xad\xc8\x43\x2c\x41\x3c\x5a\xf1\xa4\x32\x [...]
- },
- "/samples/patch-integration-platform.yaml": &vfsgen۰CompressedFileInfo{
- name: "patch-integration-platform.yaml",
- modTime: time.Time{},
- uncompressedSize: 3836,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x57\x5f\x8f\xdb\xb8\x11\x7f\xf7\xa7\x18\xc4\x2f\x09\x20\xc9\xd9\xb4\x45\x51\xf5\xc9\xd9\x24\x3d\xdf\x26\xeb\x60\xb5\xd7\xeb\xa1\xe8\xc3\x98\x1a\x4b\x84\x29\x52\x25\xa9\x75\xdc\x6e\xbf\x7b\x31\x24\x65\x4b\x1b\xb7\xb8\x87\x33\x10\xc7\x4b\xcd\x9f\xdf\xcc\xfc\x66\x38\x5a\x42\xfe\xdb\x7d\x16\x4b\xf8\x2c\x05\x69\x47\x35\x78\x03\xbe\x25\x58\xf7\x28\x5a\x82\xca\xec\xfd\x11\x2d\xc1\x27\x33\xe8\x1a\xbd\x34\x1a\x5e\xaf\xab\x [...]
- },
- "/templates": &vfsgen۰DirInfo{
- name: "templates",
- modTime: time.Time{},
- },
- "/templates/groovy.tmpl": &vfsgen۰CompressedFileInfo{
- name: "groovy.tmpl",
- modTime: time.Time{},
- uncompressedSize: 207,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x34\x8e\xc1\x6a\xc3\x30\x0c\x86\xef\x7e\x8a\xff\x30\xb0\x03\xdb\x9c\x5d\x0d\x61\xb0\x5d\x36\xf6\x00\x3b\x9b\x46\x71\x4d\xed\x28\x28\x4e\x69\x28\x7d\xf7\xe2\xa6\x39\xea\x43\xdf\x27\x59\x8b\x83\xcf\x94\xde\x4e\x0e\xc9\x8f\x61\xf1\x81\xba\x20\xcc\xe7\x55\x29\x6b\xf1\x2f\xb1\x10\x56\x5e\x04\xc2\x4b\xa1\x19\x47\x12\x7a\xc5\xc0\x02\xba\xf8\x3c\x25\x72\x6a\x10\xce\x46\x97\x98\x49\xdc\xe6\x7e\x4e\x24\x91\xfb\xee\xa3\x6d\x5b\x [...]
- },
- "/templates/java.tmpl": &vfsgen۰CompressedFileInfo{
- name: "java.tmpl",
- modTime: time.Time{},
- uncompressedSize: 390,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x4c\x90\x41\x4b\xf3\x40\x10\x86\xef\xfb\x2b\x5e\xc2\x77\x48\xe1\x33\xa9\xd7\x94\xa2\x54\x04\x45\x50\xf0\xe2\x79\x9b\x9d\xa4\xa3\x9b\x4c\x98\x6c\x6a\x4b\xc8\x7f\x97\x8d\x01\xb3\xb7\x9d\x7d\xf6\x79\x79\x27\xcf\x51\xda\x86\xfc\xcd\x57\x01\x6f\xdb\x7a\xb0\x35\xed\x3f\xed\xd9\x1a\xc3\x4d\x27\x1a\x20\x5a\x67\xb6\xb3\xe5\x89\xb2\x99\xcc\x8e\x03\x7b\x47\x9a\xbd\xcb\x10\xe8\xf0\x7b\xd9\x19\xd3\x0d\x47\xcf\x25\x4a\x6f\xfb\x1e\x [...]
- },
- "/templates/js.tmpl": &vfsgen۰CompressedFileInfo{
- name: "js.tmpl",
- modTime: time.Time{},
- uncompressedSize: 195,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x34\x8e\xb1\x6a\xc3\x30\x14\x45\x77\x7d\xc5\x1d\x0a\x92\xa1\xad\xdc\x55\x60\x0a\xed\xd2\xd2\x0f\xe8\x2c\xe2\x67\x47\x8e\xe4\x67\x9e\x64\x88\x09\xf9\xf7\xa0\x24\x1e\xef\x81\x73\xb8\xd6\xe2\xe0\x13\xc5\xb7\x93\x43\xf4\xf3\xb8\xfa\x91\xba\x29\x2b\x65\x2d\xfe\x25\x14\xc2\xc6\xab\x40\x78\x2d\x94\x71\x24\xa1\x57\x0c\x2c\xa0\xb3\x4f\x4b\x24\xa7\x06\xe1\x64\x74\x09\x89\xc4\x4d\xf9\x73\x21\x09\xdc\x77\x1f\x6d\xdb\xea\x46\x01\x [...]
- },
- "/templates/kamelet.tmpl": &vfsgen۰CompressedFileInfo{
- name: "kamelet.tmpl",
- modTime: time.Time{},
- uncompressedSize: 927,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x93\x49\x8f\xdb\x30\x0c\x85\xef\xfe\x15\x84\xee\xc9\x24\x57\x1f\x5b\x14\x28\x50\xb4\x98\x43\xd0\xf3\x70\xac\x17\x47\x88\xb6\x4a\x74\x16\x18\xf9\xef\x85\xbc\x24\x4e\xa7\xe3\x1b\x45\xbe\xc7\x4f\xa4\xc5\xd1\xfc\x46\xca\x26\xf8\x9a\x1a\x76\xb0\x6b\x8e\xdc\x1c\xb0\x0e\xa9\x7d\x39\x6d\xd9\xc6\x03\x6f\xab\xa3\xf1\xba\xa6\x1f\x25\x0f\xa9\x1c\x84\x35\x0b\xd7\x15\x91\x67\x87\x9a\xfa\x9e\xd6\xbf\xd8\x81\x6e\xb7\x8a\xc8\xf2\x [...]
- },
- "/templates/kts.tmpl": &vfsgen۰CompressedFileInfo{
- name: "kts.tmpl",
- modTime: time.Time{},
- uncompressedSize: 200,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x2c\x8e\x41\xca\xc2\x30\x10\x46\xf7\x39\xc5\x10\xfe\x45\x0a\xbf\xa6\x6e\x03\x45\xd0\x8d\xe2\x01\xdc\xb8\x09\x76\x5a\x43\x27\x9d\x32\x4d\xc1\x22\xde\x5d\x62\x5c\xbe\x61\xde\xe3\xb3\x16\xee\x3e\x22\x6d\x06\x07\xe4\xc7\x7e\xf1\x3d\x36\x03\x27\x0a\xa3\x52\xd6\xc2\x55\x42\x42\x58\x79\x11\x10\x5e\x12\xce\xf0\x40\xc1\x7f\xe8\x58\x00\x9f\x3e\x4e\x84\x4e\x75\xc2\xd1\xe8\x14\x22\x8a\x2b\xee\x7e\x42\x09\xdc\x36\xbb\xba\xae\x75\x [...]
- },
- "/templates/xml.tmpl": &vfsgen۰CompressedFileInfo{
- name: "xml.tmpl",
- modTime: time.Time{},
- uncompressedSize: 598,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x92\x4f\x4f\xe3\x30\x10\xc5\xcf\x9b\x4f\x31\x6b\xed\x71\x1d\xa7\xbb\x17\x14\x39\xa9\x04\x12\x02\x51\x4e\x80\xe0\x6a\x25\xd3\xc4\xc2\x7f\x22\xdb\x21\xae\x10\xdf\x1d\xc5\x29\xa5\xa8\x07\x98\x53\xa2\x99\xdf\x7b\x33\x4f\xe6\xeb\xa8\x15\xbc\xa0\xf3\xd2\x9a\x8a\xac\xf2\x82\x00\x9a\xc6\xb6\xd2\x74\x15\x79\xb8\xbf\xa4\x67\x64\x5d\x67\xfc\x37\xa5\xd0\x08\x8d\x8a\x3e\x97\xa0\x84\xe9\x46\xd1\x61\x35\xb3\x94\xd6\x59\xc6\x9d\x [...]
- },
- "/templates/yaml.tmpl": &vfsgen۰CompressedFileInfo{
- name: "yaml.tmpl",
- modTime: time.Time{},
- uncompressedSize: 229,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x44\x8e\x31\x4e\x04\x31\x0c\x45\xfb\x9c\xe2\x2b\xdb\x32\xd2\xd0\x5a\xa2\x81\x06\x89\x03\x50\x5b\xbb\x9e\x21\x22\x89\x23\xc7\x91\x98\xdb\xa3\xec\x08\xd6\xe5\xf7\xb3\xdf\xbf\xe0\xca\x45\xf2\xf2\x4d\xc8\x5c\xf7\xc1\xbb\xbc\x1c\x5c\x72\x08\x17\x7c\x5a\x72\xc1\xa1\xc3\x60\x3a\x5c\x3a\xbe\xc4\xe4\x09\x9b\x1a\xe4\x87\x4b\xcb\x42\x61\xc1\x66\x5a\x28\x00\xc0\xb0\x44\x88\x9e\x8a\x18\xcd\x27\xf1\x9e\x36\x36\x2e\xe2\x62\xfd\xa4\x [...]
- },
- "/viewer": &vfsgen۰DirInfo{
- name: "viewer",
- modTime: time.Time{},
- },
- "/viewer/user-global-kamelet-viewer-role-binding.yaml": &vfsgen۰CompressedFileInfo{
- name: "user-global-kamelet-viewer-role-binding.yaml",
- modTime: time.Time{},
- uncompressedSize: 1353,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xdb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x63\x6a\x2c\x4d\x4d\x71\x54\x92\x5a\xc5\xfd\xf5\x05\xb5\x76\xbc\x41\x81\x16\x01\x56\x37\x81\xc3\xf7\x31\xef\xb1\xc0\xfc\xf5\x3e\x53\xe0\x83\x58\xf6\x91\x6b\x24\x45\x6a\x19\xeb\x9e\x6c\xcb\xa8\xf4\x98\x46\x0a\x8c\x47\x1d\x7c\x4d\x49\xd4\xe3\xcd\xba\x7a\x7c\x8b\xc1\xd7\x1c\xa0\x9e\xa1\x01\x9d\x06\x [...]
- },
- "/viewer/user-global-kamelet-viewer-role.yaml": &vfsgen۰CompressedFileInfo{
- name: "user-global-kamelet-viewer-role.yaml",
- modTime: time.Time{},
- uncompressedSize: 1262,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x14\xbc\xf3\x57\x0c\xac\x4b\x02\xac\xe5\xb6\xa7\xc2\x3d\xb9\x9b\xdd\x56\x68\x60\x03\x2b\xa7\x41\x8e\xcf\xd4\xb3\xf4\x60\x8a\x4f\x25\xa9\x55\xb6\xbf\xbe\xa0\x2c\x67\x37\xe8\x35\xbc\xf8\x43\xa3\x79\x33\x6f\x86\x05\xd6\x3f\xee\x98\x02\x1f\xc5\xb2\x8f\xdc\x20\x29\x52\xc7\xd8\x0d\x64\x3b\x46\xad\xe7\x34\x51\x60\x3c\xea\xe8\x1b\x4a\xa2\x1e\xef\x76\xf5\xe3\x7b\x8c\xbe\xe1\x00\xf5\x0c\x0d\xe8\x35\xb0\x [...]
- },
- "/viewer/user-global-platform-viewer-role-binding.yaml": &vfsgen۰CompressedFileInfo{
- name: "user-global-platform-viewer-role-binding.yaml",
- modTime: time.Time{},
- uncompressedSize: 1348,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xcb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x63\x6a\x2c\x4d\x97\x22\x59\x92\x5a\xc5\xfd\xf5\x05\xb9\x76\x76\x83\x02\x2d\x02\xac\x6e\x02\x87\xef\x63\xde\x63\x85\xe5\xeb\x7d\xaa\xc2\x07\xd1\x6c\x23\x77\x48\x0e\x69\x60\x6c\x3c\xe9\x81\xd1\xba\x53\x9a\x29\x30\xee\xdd\x64\x3b\x4a\xe2\x2c\xde\x6c\xda\xfb\xb7\x98\x6c\xc7\x01\xce\x32\x5c\xc0\xe8\x [...]
- },
- "/viewer/user-global-platform-viewer-role.yaml": &vfsgen۰CompressedFileInfo{
- name: "user-global-platform-viewer-role.yaml",
- modTime: time.Time{},
- uncompressedSize: 1287,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x8e\xdb\x36\x14\xbc\xf3\x2b\x06\xd6\x25\x01\xd6\x72\xdb\x53\xe1\x9e\xdc\xcd\x6e\x2b\x34\xb0\x81\x95\xd3\x20\xc7\x67\xe9\x59\x7a\x58\x8a\x54\x1f\xa9\x55\xb6\x5f\x5f\x90\x96\xbb\x0e\xda\x63\x78\xb1\x05\x8d\xe6\xcd\xbc\x19\x16\x58\x7f\xbf\x63\x0a\x7c\x94\x86\x5d\xe0\x16\xd1\x23\xf6\x8c\xdd\x48\x4d\xcf\xa8\xfd\x39\xce\xa4\x8c\x47\x3f\xb9\x96\xa2\x78\x87\x77\xbb\xfa\xf1\x3d\x26\xd7\xb2\xc2\x3b\x86\x57\x0c\x5e\x [...]
- },
- "/camel-catalog-3.2.3.yaml": &vfsgen۰CompressedFileInfo{
- name: "camel-catalog-3.2.3.yaml",
- modTime: time.Time{},
- uncompressedSize: 87987,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\xbd\x4d\x77\xdb\xb8\xb2\x2e\x3c\xcf\xaf\xe0\xea\x4c\xce\x59\xef\x26\xba\x3b\xd9\xef\xe9\x7b\xfb\x8e\x1c\x27\x4e\xe2\xd8\x89\x13\x79\xa7\xb3\xf7\xa4\x17\x44\x42\x12\x24\x92\xa0\x01\x50\x96\xf3\xeb\xef\x02\x08\x7e\x8a\x2e\x8a\x74\xc1\xd7\x03\x93\x22\x0a\x4f\xa1\x9e\x02\xf1\x4d\xe0\x65\x10\xe2\xfd\xbd\x78\x19\x5c\xf1\x88\x65\x8a\xc5\x81\x16\x81\xde\xb0\xe0\x2c\xa7\xd1\x86\x05\x0b\xb1\xd2\xf7\x54\xb2\xe0\x42\x14\x59\x [...]
- },
- "/traits.yaml": &vfsgen۰CompressedFileInfo{
- name: "traits.yaml",
- modTime: time.Time{},
- uncompressedSize: 74182,
-
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\xbd\x6b\x73\x1c\xb9\x91\x00\xf8\x5d\xbf\x02\xd1\x73\x1b\x24\x75\xfd\xa0\xe4\xb5\x77\x96\x6b\xcd\x1e\x47\xa3\xb1\xe9\xd1\x83\x27\x72\xc6\xeb\xd0\x29\xdc\xe8\x2a\x74\x37\xc4\x6a\xa0\x0c\xa0\x48\xf5\xdc\xde\x7f\xbf\x40\x66\xe2\x51\xd5\xd5\xec\xa6\x44\xca\xd6\xae\x77\x23\x3c\x22\x59\x00\x12\x89\x44\x22\xdf\xf9\x0d\x1b\xdd\xdf\xff\x3d\xfa\x86\xbd\x94\x85\x50\x56\x94\xcc\x69\xe6\x96\x82\x9d\xd6\xbc\x58\x0a\x76\xa1\xe7\x [...]
- },
- }
- fs["/"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/addons"].(os.FileInfo),
- fs["/builder"].(os.FileInfo),
- fs["/camel-catalog-3.2.3.yaml"].(os.FileInfo),
- fs["/crd"].(os.FileInfo),
- fs["/manager"].(os.FileInfo),
- fs["/prometheus"].(os.FileInfo),
- fs["/rbac"].(os.FileInfo),
- fs["/samples"].(os.FileInfo),
- fs["/templates"].(os.FileInfo),
- fs["/traits.yaml"].(os.FileInfo),
- fs["/viewer"].(os.FileInfo),
- }
- fs["/addons"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/addons/master"].(os.FileInfo),
- }
- fs["/addons/master"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/addons/master/master-role-binding.tmpl"].(os.FileInfo),
- fs["/addons/master/master-role-configmap.tmpl"].(os.FileInfo),
- fs["/addons/master/master-role-lease.tmpl"].(os.FileInfo),
- }
- fs["/builder"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/builder/builder-role-binding-openshift.yaml"].(os.FileInfo),
- fs["/builder/builder-role-binding.yaml"].(os.FileInfo),
- fs["/builder/builder-role-openshift.yaml"].(os.FileInfo),
- fs["/builder/builder-role.yaml"].(os.FileInfo),
- fs["/builder/builder-service-account.yaml"].(os.FileInfo),
- }
- fs["/crd"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/crd/bases"].(os.FileInfo),
- }
- fs["/crd/bases"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/crd/bases/camel.apache.org_builds.yaml"].(os.FileInfo),
- fs["/crd/bases/camel.apache.org_camelcatalogs.yaml"].(os.FileInfo),
- fs["/crd/bases/camel.apache.org_integrationkits.yaml"].(os.FileInfo),
- fs["/crd/bases/camel.apache.org_integrationplatforms.yaml"].(os.FileInfo),
- fs["/crd/bases/camel.apache.org_integrations.yaml"].(os.FileInfo),
- fs["/crd/bases/camel.apache.org_kameletbindings.yaml"].(os.FileInfo),
- fs["/crd/bases/camel.apache.org_kamelets.yaml"].(os.FileInfo),
- fs["/crd/bases/camel.apache.org_pipes.yaml"].(os.FileInfo),
- }
- fs["/manager"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/manager/operator-deployment.yaml"].(os.FileInfo),
- fs["/manager/operator-service-account.yaml"].(os.FileInfo),
- fs["/manager/patch-image-pull-policy-always.yaml"].(os.FileInfo),
- fs["/manager/patch-install-default-kamelets.yaml"].(os.FileInfo),
- fs["/manager/patch-log-level.yaml"].(os.FileInfo),
- fs["/manager/patch-node-selector.yaml"].(os.FileInfo),
- fs["/manager/patch-ports.yaml"].(os.FileInfo),
- fs["/manager/patch-resource-requirements.yaml"].(os.FileInfo),
- fs["/manager/patch-toleration.yaml"].(os.FileInfo),
- fs["/manager/patch-watch-namespace-global.yaml"].(os.FileInfo),
- }
- fs["/prometheus"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/prometheus/operator-pod-monitor.yaml"].(os.FileInfo),
- fs["/prometheus/operator-prometheus-rule.yaml"].(os.FileInfo),
- }
- fs["/rbac"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/rbac/descoped"].(os.FileInfo),
- fs["/rbac/namespaced"].(os.FileInfo),
- fs["/rbac/openshift"].(os.FileInfo),
- fs["/rbac/operator-cluster-role-addressable-resolver.yaml"].(os.FileInfo),
- fs["/rbac/operator-cluster-role-binding-addressable-resolver.yaml"].(os.FileInfo),
- fs["/rbac/operator-cluster-role-binding-custom-resource-definitions.yaml"].(os.FileInfo),
- fs["/rbac/operator-cluster-role-custom-resource-definitions.yaml"].(os.FileInfo),
- fs["/rbac/operator-cluster-role-local-registry.yaml"].(os.FileInfo),
- fs["/rbac/operator-role-binding-local-registry.yaml"].(os.FileInfo),
- fs["/rbac/patch-role-to-clusterrole.yaml"].(os.FileInfo),
- fs["/rbac/patch-rolebinding-to-clusterrolebinding.yaml"].(os.FileInfo),
- fs["/rbac/user-cluster-role.yaml"].(os.FileInfo),
- }
- fs["/rbac/descoped"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/rbac/descoped/operator-cluster-role-binding-events.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-binding-keda.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-binding-knative.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-binding-leases.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-binding-podmonitors.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-binding-strimzi.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-binding.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-events.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-keda.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-knative.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-leases.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-podmonitors.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role-strimzi.yaml"].(os.FileInfo),
- fs["/rbac/descoped/operator-cluster-role.yaml"].(os.FileInfo),
- }
- fs["/rbac/namespaced"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/rbac/namespaced/operator-role-binding-events.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-binding-keda.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-binding-knative.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-binding-leases.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-binding-podmonitors.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-binding-strimzi.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-binding.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-events.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-keda.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-knative.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-leases.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-podmonitors.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role-strimzi.yaml"].(os.FileInfo),
- fs["/rbac/namespaced/operator-role.yaml"].(os.FileInfo),
- }
- fs["/rbac/openshift"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/rbac/openshift/descoped"].(os.FileInfo),
- fs["/rbac/openshift/namespaced"].(os.FileInfo),
- fs["/rbac/openshift/operator-cluster-role-console-binding-openshift.yaml"].(os.FileInfo),
- fs["/rbac/openshift/operator-cluster-role-console-openshift.yaml"].(os.FileInfo),
- }
- fs["/rbac/openshift/descoped"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/rbac/openshift/descoped/operator-cluster-role-binding-openshift.yaml"].(os.FileInfo),
- fs["/rbac/openshift/descoped/operator-cluster-role-openshift.yaml"].(os.FileInfo),
- }
- fs["/rbac/openshift/namespaced"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/rbac/openshift/namespaced/operator-role-binding-openshift.yaml"].(os.FileInfo),
- fs["/rbac/openshift/namespaced/operator-role-openshift.yaml"].(os.FileInfo),
- }
- fs["/samples"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/samples/bases"].(os.FileInfo),
- fs["/samples/patch-integration-platform.yaml"].(os.FileInfo),
- }
- fs["/samples/bases"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/samples/bases/camel_v1_build.yaml"].(os.FileInfo),
- fs["/samples/bases/camel_v1_camelcatalog.yaml"].(os.FileInfo),
- fs["/samples/bases/camel_v1_integration.yaml"].(os.FileInfo),
- fs["/samples/bases/camel_v1_integrationkit.yaml"].(os.FileInfo),
- fs["/samples/bases/camel_v1_integrationplatform.yaml"].(os.FileInfo),
- fs["/samples/bases/camel_v1_kamelet.yaml"].(os.FileInfo),
- fs["/samples/bases/camel_v1_pipe.yaml"].(os.FileInfo),
- fs["/samples/bases/camel_v1alpha1_kameletbinding.yaml"].(os.FileInfo),
- }
- fs["/templates"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/templates/groovy.tmpl"].(os.FileInfo),
- fs["/templates/java.tmpl"].(os.FileInfo),
- fs["/templates/js.tmpl"].(os.FileInfo),
- fs["/templates/kamelet.tmpl"].(os.FileInfo),
- fs["/templates/kts.tmpl"].(os.FileInfo),
- fs["/templates/xml.tmpl"].(os.FileInfo),
- fs["/templates/yaml.tmpl"].(os.FileInfo),
- }
- fs["/viewer"].(*vfsgen۰DirInfo).entries = []os.FileInfo{
- fs["/viewer/user-global-kamelet-viewer-role-binding.yaml"].(os.FileInfo),
- fs["/viewer/user-global-kamelet-viewer-role.yaml"].(os.FileInfo),
- fs["/viewer/user-global-platform-viewer-role-binding.yaml"].(os.FileInfo),
- fs["/viewer/user-global-platform-viewer-role.yaml"].(os.FileInfo),
- }
-
- return fs
-}()
-
-type vfsgen۰FS map[string]interface{}
-
-func (fs vfsgen۰FS) Open(path string) (http.File, error) {
- path = pathpkg.Clean("/" + path)
- f, ok := fs[path]
- if !ok {
- return nil, &os.PathError{Op: "open", Path: path, Err: os.ErrNotExist}
- }
-
- switch f := f.(type) {
- case *vfsgen۰CompressedFileInfo:
- gr, err := gzip.NewReader(bytes.NewReader(f.compressedContent))
- if err != nil {
- // This should never happen because we generate the gzip bytes such that they are always valid.
- panic("unexpected error reading own gzip compressed bytes: " + err.Error())
- }
- return &vfsgen۰CompressedFile{
- vfsgen۰CompressedFileInfo: f,
- gr: gr,
- }, nil
- case *vfsgen۰DirInfo:
- return &vfsgen۰Dir{
- vfsgen۰DirInfo: f,
- }, nil
- default:
- // This should never happen because we generate only the above types.
- panic(fmt.Sprintf("unexpected type %T", f))
- }
-}
-
-// vfsgen۰CompressedFileInfo is a static definition of a gzip compressed file.
-type vfsgen۰CompressedFileInfo struct {
- name string
- modTime time.Time
- compressedContent []byte
- uncompressedSize int64
-}
-
-func (f *vfsgen۰CompressedFileInfo) Readdir(count int) ([]os.FileInfo, error) {
- return nil, fmt.Errorf("cannot Readdir from file %s", f.name)
-}
-func (f *vfsgen۰CompressedFileInfo) Stat() (os.FileInfo, error) { return f, nil }
-
-func (f *vfsgen۰CompressedFileInfo) GzipBytes() []byte {
- return f.compressedContent
-}
-
-func (f *vfsgen۰CompressedFileInfo) Name() string { return f.name }
-func (f *vfsgen۰CompressedFileInfo) Size() int64 { return f.uncompressedSize }
-func (f *vfsgen۰CompressedFileInfo) Mode() os.FileMode { return 0444 }
-func (f *vfsgen۰CompressedFileInfo) ModTime() time.Time { return f.modTime }
-func (f *vfsgen۰CompressedFileInfo) IsDir() bool { return false }
-func (f *vfsgen۰CompressedFileInfo) Sys() interface{} { return nil }
-
-// vfsgen۰CompressedFile is an opened compressedFile instance.
-type vfsgen۰CompressedFile struct {
- *vfsgen۰CompressedFileInfo
- gr *gzip.Reader
- grPos int64 // Actual gr uncompressed position.
- seekPos int64 // Seek uncompressed position.
-}
-
-func (f *vfsgen۰CompressedFile) Read(p []byte) (n int, err error) {
- if f.grPos > f.seekPos {
- // Rewind to beginning.
- err = f.gr.Reset(bytes.NewReader(f.compressedContent))
- if err != nil {
- return 0, err
- }
- f.grPos = 0
- }
- if f.grPos < f.seekPos {
- // Fast-forward.
- _, err = io.CopyN(ioutil.Discard, f.gr, f.seekPos-f.grPos)
- if err != nil {
- return 0, err
- }
- f.grPos = f.seekPos
- }
- n, err = f.gr.Read(p)
- f.grPos += int64(n)
- f.seekPos = f.grPos
- return n, err
-}
-func (f *vfsgen۰CompressedFile) Seek(offset int64, whence int) (int64, error) {
- switch whence {
- case io.SeekStart:
- f.seekPos = 0 + offset
- case io.SeekCurrent:
- f.seekPos += offset
- case io.SeekEnd:
- f.seekPos = f.uncompressedSize + offset
- default:
- panic(fmt.Errorf("invalid whence value: %v", whence))
- }
- return f.seekPos, nil
-}
-func (f *vfsgen۰CompressedFile) Close() error {
- return f.gr.Close()
-}
-
-// vfsgen۰DirInfo is a static definition of a directory.
-type vfsgen۰DirInfo struct {
- name string
- modTime time.Time
- entries []os.FileInfo
-}
-
-func (d *vfsgen۰DirInfo) Read([]byte) (int, error) {
- return 0, fmt.Errorf("cannot Read from directory %s", d.name)
-}
-func (d *vfsgen۰DirInfo) Close() error { return nil }
-func (d *vfsgen۰DirInfo) Stat() (os.FileInfo, error) { return d, nil }
-
-func (d *vfsgen۰DirInfo) Name() string { return d.name }
-func (d *vfsgen۰DirInfo) Size() int64 { return 0 }
-func (d *vfsgen۰DirInfo) Mode() os.FileMode { return 0755 | os.ModeDir }
-func (d *vfsgen۰DirInfo) ModTime() time.Time { return d.modTime }
-func (d *vfsgen۰DirInfo) IsDir() bool { return true }
-func (d *vfsgen۰DirInfo) Sys() interface{} { return nil }
-
-// vfsgen۰Dir is an opened dir instance.
-type vfsgen۰Dir struct {
- *vfsgen۰DirInfo
- pos int // Position within entries for Seek and Readdir.
-}
-
-func (d *vfsgen۰Dir) Seek(offset int64, whence int) (int64, error) {
- if offset == 0 && whence == io.SeekStart {
- d.pos = 0
- return 0, nil
- }
- return 0, fmt.Errorf("unsupported Seek in directory %s", d.name)
-}
-
-func (d *vfsgen۰Dir) Readdir(count int) ([]os.FileInfo, error) {
- if d.pos >= len(d.entries) && count > 0 {
- return nil, io.EOF
- }
- if count <= 0 || count > len(d.entries)-d.pos {
- count = len(d.entries) - d.pos
- }
- e := d.entries[d.pos : d.pos+count]
- d.pos += count
- return e, nil
-}
diff --git a/resources/addons/master/master-role-binding.tmpl b/pkg/resources/resources/addons/master/master-role-binding.tmpl
similarity index 100%
rename from resources/addons/master/master-role-binding.tmpl
rename to pkg/resources/resources/addons/master/master-role-binding.tmpl
diff --git a/resources/addons/master/master-role-configmap.tmpl b/pkg/resources/resources/addons/master/master-role-configmap.tmpl
similarity index 100%
rename from resources/addons/master/master-role-configmap.tmpl
rename to pkg/resources/resources/addons/master/master-role-configmap.tmpl
diff --git a/resources/addons/master/master-role-lease.tmpl b/pkg/resources/resources/addons/master/master-role-lease.tmpl
similarity index 100%
rename from resources/addons/master/master-role-lease.tmpl
rename to pkg/resources/resources/addons/master/master-role-lease.tmpl
diff --git a/resources/builder/builder-role-binding-openshift.yaml b/pkg/resources/resources/builder/builder-role-binding-openshift.yaml
similarity index 100%
rename from resources/builder/builder-role-binding-openshift.yaml
rename to pkg/resources/resources/builder/builder-role-binding-openshift.yaml
diff --git a/resources/builder/builder-role-binding.yaml b/pkg/resources/resources/builder/builder-role-binding.yaml
similarity index 100%
rename from resources/builder/builder-role-binding.yaml
rename to pkg/resources/resources/builder/builder-role-binding.yaml
diff --git a/resources/builder/builder-role-openshift.yaml b/pkg/resources/resources/builder/builder-role-openshift.yaml
similarity index 100%
rename from resources/builder/builder-role-openshift.yaml
rename to pkg/resources/resources/builder/builder-role-openshift.yaml
diff --git a/resources/builder/builder-role.yaml b/pkg/resources/resources/builder/builder-role.yaml
similarity index 100%
rename from resources/builder/builder-role.yaml
rename to pkg/resources/resources/builder/builder-role.yaml
diff --git a/resources/builder/builder-service-account.yaml b/pkg/resources/resources/builder/builder-service-account.yaml
similarity index 100%
rename from resources/builder/builder-service-account.yaml
rename to pkg/resources/resources/builder/builder-service-account.yaml
diff --git a/resources/camel-catalog-3.2.3.yaml b/pkg/resources/resources/camel-catalog-3.2.3.yaml
similarity index 100%
rename from resources/camel-catalog-3.2.3.yaml
rename to pkg/resources/resources/camel-catalog-3.2.3.yaml
diff --git a/resources/traits.yaml b/pkg/resources/resources/traits.yaml
similarity index 100%
rename from resources/traits.yaml
rename to pkg/resources/resources/traits.yaml
diff --git a/resources/viewer/user-global-kamelet-viewer-role-binding.yaml b/pkg/resources/resources/viewer/user-global-kamelet-viewer-role-binding.yaml
similarity index 100%
rename from resources/viewer/user-global-kamelet-viewer-role-binding.yaml
rename to pkg/resources/resources/viewer/user-global-kamelet-viewer-role-binding.yaml
diff --git a/resources/viewer/user-global-kamelet-viewer-role.yaml b/pkg/resources/resources/viewer/user-global-kamelet-viewer-role.yaml
similarity index 100%
rename from resources/viewer/user-global-kamelet-viewer-role.yaml
rename to pkg/resources/resources/viewer/user-global-kamelet-viewer-role.yaml
diff --git a/resources/viewer/user-global-platform-viewer-role-binding.yaml b/pkg/resources/resources/viewer/user-global-platform-viewer-role-binding.yaml
similarity index 100%
rename from resources/viewer/user-global-platform-viewer-role-binding.yaml
rename to pkg/resources/resources/viewer/user-global-platform-viewer-role-binding.yaml
diff --git a/resources/viewer/user-global-platform-viewer-role.yaml b/pkg/resources/resources/viewer/user-global-platform-viewer-role.yaml
similarity index 100%
rename from resources/viewer/user-global-platform-viewer-role.yaml
rename to pkg/resources/resources/viewer/user-global-platform-viewer-role.yaml
diff --git a/pkg/resources/resources_support.go b/pkg/resources/resources_support.go
index 94d739517..7ff6b5600 100644
--- a/pkg/resources/resources_support.go
+++ b/pkg/resources/resources_support.go
@@ -19,9 +19,9 @@ package resources
import (
"bytes"
+ "embed"
"fmt"
"io"
- "net/http"
"os"
"path"
"path/filepath"
@@ -31,24 +31,18 @@ import (
"github.com/apache/camel-k/v2/pkg/util"
)
-// ResourceAsString returns the named resource content as string.
-// Warning : do not remove the go:generate line as it is used to update the resources file in case of CRD changes.
-//
-//go:generate go run ../../cmd/util/vfs-gen resources config
-func ResourceAsString(name string) (string, error) {
- data, err := Resource(name)
- return string(data), err
-}
+//go:embed config/* resources/*
+var resources embed.FS
// Resource provides an easy way to access to embedded assets.
func Resource(name string) ([]byte, error) {
name = strings.Trim(name, " ")
name = filepath.ToSlash(name)
- if !strings.HasPrefix(name, "/") {
- name = "/" + name
+ if strings.HasPrefix(name, "/") {
+ name = name[1:]
}
- file, err := openAsset(name)
+ file, err := resources.Open(name)
if err != nil {
return nil, fmt.Errorf("cannot access resource file %s: %w", name, err)
}
@@ -62,6 +56,12 @@ func Resource(name string) ([]byte, error) {
return data, file.Close()
}
+// ResourceAsString returns the named resource content as string.
+func ResourceAsString(name string) (string, error) {
+ data, err := Resource(name)
+ return string(data), err
+}
+
// TemplateResource loads a file resource as go template and processes it using the given parameters.
func TemplateResource(name string, params interface{}) (string, error) {
rawData, err := ResourceAsString(name)
@@ -87,7 +87,7 @@ func TemplateResource(name string, params interface{}) (string, error) {
// DirExists tells if a directory exists and can be listed for files.
func DirExists(dirName string) bool {
- if _, err := openAsset(dirName); err != nil {
+ if _, err := resources.Open(dirName); err != nil {
return false
}
return true
@@ -96,13 +96,14 @@ func DirExists(dirName string) bool {
// WithPrefix lists all file names that begins with the give path prefix
// If pathPrefix is a path of directories then be sure to end it with a '/'.
func WithPrefix(pathPrefix string) ([]string, error) {
+ if strings.HasPrefix(pathPrefix, "/") {
+ pathPrefix = pathPrefix[1:]
+ }
dirPath := filepath.Dir(pathPrefix)
-
paths, err := Resources(dirPath)
if err != nil {
return nil, err
}
-
var res []string
for i := range paths {
path := filepath.ToSlash(paths[i])
@@ -114,10 +115,16 @@ func WithPrefix(pathPrefix string) ([]string, error) {
return res, nil
}
-// Resources lists all file names in the given path (starts with '/').
+// Resources lists all file names in the given path.
func Resources(dirName string) ([]string, error) {
dirName = filepath.ToSlash(dirName)
- dir, err := openAsset(dirName)
+ if strings.HasPrefix(dirName, "/") {
+ dirName = dirName[1:]
+ }
+ if strings.HasSuffix(dirName, "/") {
+ dirName = dirName[:len(dirName)-1]
+ }
+ dir, err := resources.Open(dirName)
if err != nil {
if os.IsNotExist(err) {
return nil, nil
@@ -125,7 +132,6 @@ func Resources(dirName string) ([]string, error) {
return nil, fmt.Errorf("error while listing resource files %s: %w", dirName, err)
}
-
info, err := dir.Stat()
if err != nil {
return nil, dir.Close()
@@ -134,13 +140,11 @@ func Resources(dirName string) ([]string, error) {
util.CloseQuietly(dir)
return nil, fmt.Errorf("location %s is not a directory: %w", dirName, err)
}
-
- files, err := dir.Readdir(-1)
+ files, err := resources.ReadDir(dirName)
if err != nil {
util.CloseQuietly(dir)
return nil, fmt.Errorf("error while listing files on directory %s: %w", dirName, err)
}
-
var res []string
for _, f := range files {
if !f.IsDir() {
@@ -150,7 +154,3 @@ func Resources(dirName string) ([]string, error) {
return res, dir.Close()
}
-
-func openAsset(path string) (http.File, error) {
- return assets.Open(filepath.ToSlash(path))
-}
diff --git a/pkg/resources/resources_test.go b/pkg/resources/resources_test.go
index 869a36a23..ac3c26fcd 100644
--- a/pkg/resources/resources_test.go
+++ b/pkg/resources/resources_test.go
@@ -19,7 +19,6 @@ package resources
import (
"fmt"
- "strings"
"testing"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
@@ -85,53 +84,42 @@ func ErrorString(t *testing.T, path string, callable func(path string) (string,
}
func TestGetResource(t *testing.T) {
- NoErrorAndNotEmptyBytes(t, "manager/operator-service-account.yaml", Resource)
- NoErrorAndNotEmptyBytes(t, "/manager/operator-service-account.yaml", Resource)
- NoErrorAndNotEmptyString(t, "manager/operator-service-account.yaml", ResourceAsString)
- NoErrorAndNotEmptyString(t, "/manager/operator-service-account.yaml", ResourceAsString)
- NoErrorAndContains(t, "/manager", "/manager/operator-service-account.yaml", Resources)
+ NoErrorAndNotEmptyBytes(t, "config/manager/operator-service-account.yaml", Resource)
+ NoErrorAndNotEmptyBytes(t, "/config/manager/operator-service-account.yaml", Resource)
+ NoErrorAndNotEmptyString(t, "config/manager/operator-service-account.yaml", ResourceAsString)
+ NoErrorAndNotEmptyString(t, "/config/manager/operator-service-account.yaml", ResourceAsString)
+ NoErrorAndContains(t, "/config/manager", "config/manager/operator-service-account.yaml", Resources)
}
func TestGetNoResource(t *testing.T) {
- ErrorBytes(t, "manager/operator-service-account.json", Resource)
- ErrorBytes(t, "/manager/operator-service-account.json", Resource)
- ErrorString(t, "manager/operator-service-account.json", ResourceAsString)
- ErrorString(t, "/manager/operator-service-account.json", ResourceAsString)
- NoErrorAndNotContains(t, "/", "/manager/operator-service-account.json", Resources)
+ ErrorBytes(t, "config/manager/operator-service-account.json", Resource)
+ ErrorBytes(t, "/config/manager/operator-service-account.json", Resource)
+ ErrorString(t, "config/manager/operator-service-account.json", ResourceAsString)
+ ErrorString(t, "/config/manager/operator-service-account.json", ResourceAsString)
+ NoErrorAndNotContains(t, "/config/", "config/manager/operator-service-account.json", Resources)
}
func TestResources(t *testing.T) {
- NoErrorAndContains(t, "/manager", "/manager/operator-service-account.yaml", Resources)
- NoErrorAndContains(t, "/manager/", "/manager/operator-service-account.yaml", Resources)
- NoErrorAndNotContains(t, "/manager/", "kustomize.yaml", Resources)
- NoErrorAndEmpty(t, "/dirnotexist", Resources)
+ NoErrorAndContains(t, "/config/manager", "config/manager/operator-service-account.yaml", Resources)
+ NoErrorAndContains(t, "/config/manager/", "config/manager/operator-service-account.yaml", Resources)
+ NoErrorAndNotContains(t, "config/manager/", "config/kustomize.yaml", Resources)
+ NoErrorAndEmpty(t, "config/dirnotexist", Resources)
- items, err := Resources("/")
+ _, err := Resources("/")
assert.Nil(t, err)
-
- for _, res := range items {
- if strings.Contains(res, "java.tmpl") {
- assert.Fail(t, "Resources should not return nested files")
- }
- if strings.Contains(res, "templates") {
- assert.Fail(t, "Resources should not return nested dirs")
- }
- }
-
- NoErrorAndContains(t, "/templates", "/templates/java.tmpl", Resources)
}
func TestResourcesWithPrefix(t *testing.T) {
- NoErrorAndContains(t, "/manager/", "/manager/operator-service-account.yaml", WithPrefix)
- NoErrorAndContains(t, "/manager/op", "/manager/operator-service-account.yaml", WithPrefix)
- NoErrorAndContains(t, "/manager/operator-service-account", "/manager/operator-service-account.yaml", WithPrefix)
- NoErrorAndContains(t, "/traits", "/traits.yaml", WithPrefix)
+ NoErrorAndContains(t, "/config/manager/", "config/manager/operator-service-account.yaml", WithPrefix)
+ NoErrorAndContains(t, "/config/manager/op", "config/manager/operator-service-account.yaml", WithPrefix)
+ NoErrorAndContains(t, "/config/manager/operator-service-account", "config/manager/operator-service-account.yaml", WithPrefix)
+ NoErrorAndContains(t, "/resources/traits", "resources/traits.yaml", WithPrefix)
// directory needs the slash on the end
- NoErrorAndNotContains(t, "/manager", "/manager/operator-service-account.yaml", WithPrefix)
+ NoErrorAndNotContains(t, "/config/manager", "config/manager/operator-service-account.yaml", WithPrefix)
// need to get to at least the same directory as the required files
- NoErrorAndNotContains(t, "/", "/manager/operator-service-account.yaml", WithPrefix)
+ NoErrorAndNotContains(t, "/", "config/manager/operator-service-account.yaml", WithPrefix)
}
func TestTemplateResource(t *testing.T) {
@@ -149,7 +137,7 @@ func TestTemplateResource(t *testing.T) {
ServiceAccount: "default",
}
- data, err := TemplateResource(fmt.Sprintf("/addons/master/%s", fname), templateData)
+ data, err := TemplateResource(fmt.Sprintf("/resources/addons/master/%s", fname), templateData)
assert.NoError(t, err)
jsonSrc, err := yaml.ToJSON([]byte(data))
@@ -164,12 +152,12 @@ func TestTemplateResource(t *testing.T) {
}
func TestCRDResources(t *testing.T) {
- NoErrorAndNotEmptyBytes(t, "/crd/bases/camel.apache.org_builds.yaml", Resource)
- NoErrorAndNotEmptyBytes(t, "/crd/bases/camel.apache.org_camelcatalogs.yaml", Resource)
- NoErrorAndNotEmptyBytes(t, "/crd/bases/camel.apache.org_integrationkits.yaml", Resource)
- NoErrorAndNotEmptyBytes(t, "/crd/bases/camel.apache.org_integrationplatforms.yaml", Resource)
- NoErrorAndNotEmptyBytes(t, "/crd/bases/camel.apache.org_integrations.yaml", Resource)
- NoErrorAndNotEmptyBytes(t, "/crd/bases/camel.apache.org_kamelets.yaml", Resource)
- NoErrorAndNotEmptyBytes(t, "/crd/bases/camel.apache.org_kameletbindings.yaml", Resource)
- NoErrorAndNotEmptyBytes(t, "/crd/bases/camel.apache.org_pipes.yaml", Resource)
+ NoErrorAndNotEmptyBytes(t, "/config/crd/bases/camel.apache.org_builds.yaml", Resource)
+ NoErrorAndNotEmptyBytes(t, "/config/crd/bases/camel.apache.org_camelcatalogs.yaml", Resource)
+ NoErrorAndNotEmptyBytes(t, "/config/crd/bases/camel.apache.org_integrationkits.yaml", Resource)
+ NoErrorAndNotEmptyBytes(t, "/config/crd/bases/camel.apache.org_integrationplatforms.yaml", Resource)
+ NoErrorAndNotEmptyBytes(t, "/config/crd/bases/camel.apache.org_integrations.yaml", Resource)
+ NoErrorAndNotEmptyBytes(t, "/config/crd/bases/camel.apache.org_kamelets.yaml", Resource)
+ NoErrorAndNotEmptyBytes(t, "/config/crd/bases/camel.apache.org_kameletbindings.yaml", Resource)
+ NoErrorAndNotEmptyBytes(t, "/config/crd/bases/camel.apache.org_pipes.yaml", Resource)
}
diff --git a/pkg/util/camel/catalog.go b/pkg/util/camel/catalog.go
index ce2948060..566cc6250 100644
--- a/pkg/util/camel/catalog.go
+++ b/pkg/util/camel/catalog.go
@@ -45,7 +45,7 @@ func QuarkusCatalog() (*RuntimeCatalog, error) {
func catalogForRuntimeProvider(provider v1.RuntimeProvider) (*RuntimeCatalog, error) {
catalogs := make([]v1.CamelCatalog, 0)
- names, err := resources.WithPrefix("/camel-catalog-")
+ names, err := resources.WithPrefix("resources/camel-catalog-")
if err != nil {
return nil, err
}
diff --git a/resources/templates/groovy.tmpl b/resources/templates/groovy.tmpl
deleted file mode 100644
index 67f681f62..000000000
--- a/resources/templates/groovy.tmpl
+++ /dev/null
@@ -1,8 +0,0 @@
-// camel-k: language=groovy
-
-// Write your routes here, for example:
-from('timer:groovy?period=1000')
- .routeId('groovy')
- .setBody()
- .simple('Hello Camel K from ${routeId}')
- .to('log:info')
diff --git a/resources/templates/java.tmpl b/resources/templates/java.tmpl
deleted file mode 100644
index 2b2368fa3..000000000
--- a/resources/templates/java.tmpl
+++ /dev/null
@@ -1,17 +0,0 @@
-// camel-k: language=java
-
-import org.apache.camel.builder.RouteBuilder;
-
-public class {{ .Name }} extends RouteBuilder {
- @Override
- public void configure() throws Exception {
-
- // Write your routes here, for example:
- from("timer:java?period=1000")
- .routeId("java")
- .setBody()
- .simple("Hello Camel K from ${routeId}")
- .to("log:info");
-
- }
-}
diff --git a/resources/templates/js.tmpl b/resources/templates/js.tmpl
deleted file mode 100644
index bcb63dbbc..000000000
--- a/resources/templates/js.tmpl
+++ /dev/null
@@ -1,8 +0,0 @@
-// camel-k: language=js
-
-// Write your routes here, for example:
-from('timer:js?period=1000')
- .routeId('js')
- .setBody()
- .simple('Hello Camel K from ${routeId}')
- .to('log:info')
diff --git a/resources/templates/kamelet.tmpl b/resources/templates/kamelet.tmpl
deleted file mode 100644
index 0a9e44181..000000000
--- a/resources/templates/kamelet.tmpl
+++ /dev/null
@@ -1,40 +0,0 @@
-apiVersion: camel.apache.org/v1alpha1
-kind: Kamelet
-metadata:
- name: {{ .Name }}
- labels:
- camel.apache.org/kamelet.type: "source"
-spec:
- definition:
- title: "Timer Example"
- description: "Produces periodic events with a custom payload"
- required:
- - message
- properties:
- period:
- title: Period
- description: The time interval between two events
- type: integer
- default: 1000
- message:
- title: Message
- description: The message to generate
- type: string
- dataTypes:
- out:
- default: text
- types:
- text:
- mediaType: text/plain
- template:
- from:
- uri: timer:tick
- parameters:
- period: {{`"{{period}}"`}}
- steps:
- - setBody:
- constant: {{`"{{message}}"`}}
- - setHeader:
- name: "Content-Type"
- constant: "text/plain"
- - to: "kamelet:sink"
diff --git a/resources/templates/kts.tmpl b/resources/templates/kts.tmpl
deleted file mode 100644
index dd91098a2..000000000
--- a/resources/templates/kts.tmpl
+++ /dev/null
@@ -1,8 +0,0 @@
-// camel-k: language=kotlin
-
-// Write your routes here, for example:
-from("timer:kotlin?period=1000")
- .routeId("kotlin")
- .setBody()
- .simple("Hello Camel K from \${routeId}")
- .to("log:info")
diff --git a/resources/templates/xml.tmpl b/resources/templates/xml.tmpl
deleted file mode 100644
index 5725c13c0..000000000
--- a/resources/templates/xml.tmpl
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- camel-k: language=xml -->
-
-<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://camel.apache.org/schema/spring"
- xsi:schemaLocation="
- http://camel.apache.org/schema/spring
- https://camel.apache.org/schema/spring/camel-spring.xsd">
-
- <!-- Write your routes here, for example: -->
- <route id="xml">
- <from uri="timer:xml?period=1000"/>
- <setBody>
- <simple>Hello Camel K from ${routeId}</simple>
- </setBody>
- <to uri="log:info"/>
- </route>
-
-</routes>
diff --git a/resources/templates/yaml.tmpl b/resources/templates/yaml.tmpl
deleted file mode 100644
index 6f47caeb3..000000000
--- a/resources/templates/yaml.tmpl
+++ /dev/null
@@ -1,11 +0,0 @@
-# camel-k: language=yaml
-
-# Write your routes here, for example:
-- from:
- uri: "timer:yaml"
- parameters:
- period: "1000"
- steps:
- - setBody:
- constant: "Hello Camel K from yaml"
- - to: "log:info"
diff --git a/script/Makefile b/script/Makefile
index 08b26559d..00e73ee6e 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -55,8 +55,8 @@ DEBUG_MODE ?= false
OPENSHIFT_REGISTRY := image-registry.openshift-image-registry.svc:5000
# olm bundle vars
-MANAGER := config/manager
-MANIFESTS := config/manifests
+MANAGER := pkg/resources/config/manager
+MANIFESTS := pkg/resources/config/manifests
DEFAULT_CHANNEL ?= $(shell echo "stable-v$(word 1,$(subst ., ,$(lastword $(OPERATOR_VERSION))))")
CHANNELS ?= $(DEFAULT_CHANNEL),latest
PACKAGE := camel-k
@@ -358,7 +358,6 @@ build-kamel:
build-resources:
./script/get_catalog.sh $(DEFAULT_RUNTIME_VERSION) $(STAGING_RUNTIME_REPO)
- go generate ./pkg/...
bundle-kamelets:
@echo "Preparing Kamelets bundle resource..."
@@ -610,8 +609,8 @@ $(BUNDLE_CAMEL_APIS): operator-sdk
@# operator-sdk generate ... cannot execute across separate modules so need to temporarily move api
$(OPERATOR_SDK) generate kustomize manifests --apis-dir $(addprefix api_, $@) -q
@# Adds the licence header to the csv file.
- ./script/add_license.sh config/manifests/bases ./script/headers/yaml.txt
- ./script/add_createdAt.sh config/manifests/bases
+ ./script/add_license.sh pkg/resources/config/manifests/bases ./script/headers/yaml.txt
+ ./script/add_createdAt.sh pkg/resources/config/manifests/bases
@# Clean up temporary working api directories
rm -rf api_*
@@ -648,12 +647,12 @@ bundle: set-version kustomize operator-sdk pre-bundle $(BUNDLE_CAMEL_APIS)
@# Display BUNDLE_METADATA_OPTS for debugging
$(info BUNDLE_METADATA_OPTS=$(BUNDLE_METADATA_OPTS))
@# Sets the operator image to the preferred image:tag
- @cd config/manifests && $(KUSTOMIZE) edit set image $(IMAGE_NAME)=$(CUSTOM_IMAGE):$(CUSTOM_VERSION)
+ @cd pkg/resources/config/manifests && $(KUSTOMIZE) edit set image $(IMAGE_NAME)=$(CUSTOM_IMAGE):$(CUSTOM_VERSION)
@# Build kustomize manifests
- @$(KUSTOMIZE) build config/manifests | \
+ @$(KUSTOMIZE) build pkg/resources/config/manifests | \
$(OPERATOR_SDK) generate bundle \
-q --overwrite --version $(OPERATOR_VERSION) \
- --kustomize-dir config/manifests $(BUNDLE_METADATA_OPTS)
+ --kustomize-dir pkg/resources/config/manifests $(BUNDLE_METADATA_OPTS)
@# Move the dockerfile into the bundle directory
@mv bundle.Dockerfile bundle/Dockerfile && sed -i 's/bundle\///g' bundle/Dockerfile
@# Adds the licence headers to the csv file
diff --git a/script/gen_crd.sh b/script/gen_crd.sh
index 0cbffbaae..4c26c28a0 100755
--- a/script/gen_crd.sh
+++ b/script/gen_crd.sh
@@ -23,8 +23,8 @@ apidir=$location/../pkg/apis/camel
cd "$apidir"
$(go env GOPATH)/bin/controller-gen crd \
paths=./... \
- output:crd:artifacts:config=../../../config/crd/bases \
- output:crd:dir=../../../config/crd/bases \
+ output:crd:artifacts:config=../../../pkg/resources/config/crd/bases \
+ output:crd:dir=../../../pkg/resources/config/crd/bases \
crd:crdVersions=v1
# cleanup working directory in $apidir
@@ -58,7 +58,7 @@ deploy_crd() {
name=$1
plural=$2
- deploy_crd_file ./config/crd/bases/camel.apache.org_"$plural".yaml \
+ deploy_crd_file ./pkg/resources/config/crd/bases/camel.apache.org_"$plural".yaml \
./helm/camel-k/crds/crd-"$name".yaml
}
diff --git a/script/get_catalog.sh b/script/get_catalog.sh
index ad597694c..3c5d94c82 100755
--- a/script/get_catalog.sh
+++ b/script/get_catalog.sh
@@ -43,6 +43,6 @@ mvn -q dependency:copy -Dartifact="org.apache.camel.k:camel-k-catalog:$runtime_v
-Papache
if [ -f "${rootdir}/resources/camel-k-catalog-${runtime_version}-catalog.yaml" ]; then
- mv ${rootdir}/resources/camel-k-catalog-"${runtime_version}"-catalog.yaml ${rootdir}/resources/camel-catalog-"${runtime_version}".yaml
+ mv ${rootdir}/resources/camel-k-catalog-"${runtime_version}"-catalog.yaml ${rootdir}/pkg/resources/resources/camel-catalog-"${runtime_version}".yaml
fi
diff --git a/script/offline_dependencies.sh b/script/offline_dependencies.sh
index 6b24ffc1b..ff9653c41 100755
--- a/script/offline_dependencies.sh
+++ b/script/offline_dependencies.sh
@@ -42,7 +42,7 @@ $mvnCmd --version | grep "Apache Maven"
echo "INFO: downloading catalog for Camel K runtime $1..."
${location}/get_catalog.sh $1 $2
-catalog="$rootdir/resources/camel-catalog-$runtime_version.yaml"
+catalog="$rootdir/pkg/resources/resources/camel-catalog-$runtime_version.yaml"
ckr_version=$(yq .spec.runtime.version $catalog)
cq_version=$(yq '.spec.runtime.metadata."camel-quarkus.version"' $catalog)
quarkus_version=$(yq '.spec.runtime.metadata."quarkus.version"' $catalog)
diff --git a/script/set_version.sh b/script/set_version.sh
index d47714d9d..5c4533eb0 100755
--- a/script/set_version.sh
+++ b/script/set_version.sh
@@ -28,13 +28,13 @@ image_name=${2:-docker.io\/apache\/camel-k}
sanitized_image_name=${image_name//\//\\\/}
k8s_version_label="app.kubernetes.io\/version"
-for f in $(find $location/../config/manager -type f -name "*.yaml");
+for f in $(find $location/../pkg/resources/config/manager -type f -name "*.yaml");
do
sed -i -r "s/image: .*/image: ${sanitized_image_name}:${version}/" $f
sed -i -r "s/${k8s_version_label}: .*/${k8s_version_label}: \""${version}"\"/" $f
done
-for f in $(find $location/../config/manifests/bases -type f -name "*.yaml");
+for f in $(find $location/../pkg/resources/config/manifests/bases -type f -name "*.yaml");
do
sed -i -r "s/containerImage: .*/containerImage: ${sanitized_image_name}:${version}/" $f
done
diff --git a/script/update_docs.sh b/script/update_docs.sh
index 0439606dc..829f8f764 100755
--- a/script/update_docs.sh
+++ b/script/update_docs.sh
@@ -20,7 +20,7 @@ location=$(dirname $0)
echo "Scraping information from Makefile"
RUNTIME_VERSION=$(grep '^DEFAULT_RUNTIME_VERSION := ' Makefile | sed 's/^.* \?= //')
-CATALOG="$location/../resources/camel-catalog-$RUNTIME_VERSION.yaml"
+CATALOG="$location/../pkg/resources/resources/camel-catalog-$RUNTIME_VERSION.yaml"
# This script requires the catalog to be available (via make build-resources for instance)
if [ ! -f $CATALOG ]; then
echo "❗ catalog not available. Make sure to download it before calling this script."
(camel-k) 02/02: chore(ci): remove vfsgen dependencies
Posted by pc...@apache.org.
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
commit 68ba23144cb9c880408cf418149d0f36a493d678
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Fri Feb 16 11:13:38 2024 +0100
chore(ci): remove vfsgen dependencies
---
cmd/util/doc-gen/generators/traitmetadatagen.go | 54 -
cmd/util/vfs-gen/main.go | 257 ---
cmd/util/vfs-gen/multifs/multidir.go | 171 --
.../bases/camel-k.clusterserviceversion.yaml | 39 -
go.mod | 2 -
go.sum | 4 -
java/crds/src/main/resources | 2 +-
.../bases/camel-k.clusterserviceversion.yaml | 2 +-
pkg/resources/resources/traits.yaml | 1683 --------------------
pkg/resources/resources_support.go | 17 +-
pkg/resources/resources_test.go | 1 -
script/Makefile | 6 +-
12 files changed, 10 insertions(+), 2228 deletions(-)
diff --git a/cmd/util/doc-gen/generators/traitmetadatagen.go b/cmd/util/doc-gen/generators/traitmetadatagen.go
index c68caff56..49c987bc3 100644
--- a/cmd/util/doc-gen/generators/traitmetadatagen.go
+++ b/cmd/util/doc-gen/generators/traitmetadatagen.go
@@ -20,39 +20,14 @@ package generators
import (
"fmt"
"io"
- "os"
- "path"
"reflect"
- "sort"
"strings"
- "github.com/apache/camel-k/v2/pkg/util"
-
- "gopkg.in/yaml.v2"
"k8s.io/gengo/args"
"k8s.io/gengo/generator"
"k8s.io/gengo/types"
)
-const traitFile = "traits.yaml"
-
-const licenseHeader = "# ---------------------------------------------------------------------------\n" +
- "# Licensed to the Apache Software Foundation (ASF) under one or more\n" +
- "# contributor license agreements. See the NOTICE file distributed with\n" +
- "# this work for additional information regarding copyright ownership.\n" +
- "# The ASF licenses this file to You under the Apache License, Version 2.0\n" +
- "# (the \"License\"); you may not use this file except in compliance with\n" +
- "# the License. You may obtain a copy of the License at\n" +
- "#\n" +
- "# http://www.apache.org/licenses/LICENSE-2.0\n" +
- "#\n" +
- "# Unless required by applicable law or agreed to in writing, software\n" +
- "# distributed under the License is distributed on an \"AS IS\" BASIS,\n" +
- "# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n" +
- "# See the License for the specific language governing permissions and\n" +
- "# limitations under the License.\n" +
- "# ---------------------------------------------------------------------------\n"
-
// traitMetaDataGen produces YAML documentation about trait descriptions.
type traitMetaDataGen struct {
generator.DefaultGen
@@ -112,35 +87,6 @@ func (g *traitMetaDataGen) GenerateType(context *generator.Context, t *types.Typ
return nil
}
-func (g *traitMetaDataGen) Finalize(c *generator.Context, w io.Writer) error {
- customArgs, ok := g.arguments.CustomArgs.(*CustomArgs)
- if !ok {
- return fmt.Errorf("type assertion failed: %v", g.arguments.CustomArgs)
- }
- deployDir := customArgs.ResourceDir
- filename := path.Join(deployDir, traitFile)
-
- // reorder the traits metadata so that it always gets the identical result
- sort.Slice(g.Root.Traits, func(i, j int) bool {
- return g.Root.Traits[i].Name < g.Root.Traits[j].Name
- })
-
- return util.WithFile(filename, os.O_RDWR|os.O_CREATE, 0o777, func(file *os.File) error {
- if err := file.Truncate(0); err != nil {
- return err
- }
-
- fmt.Fprintf(file, "%s", string(licenseHeader))
- data, err := yaml.Marshal(g.Root)
- if err != nil {
- fmt.Fprintf(file, "error: %v", err)
- }
- fmt.Fprintf(file, "%s", string(data))
-
- return nil
- })
-}
-
func (g *traitMetaDataGen) getTraitID(t *types.Type) string {
for _, s := range t.CommentLines {
if strings.Contains(s, tagTrait) {
diff --git a/cmd/util/vfs-gen/main.go b/cmd/util/vfs-gen/main.go
deleted file mode 100644
index 32b511b18..000000000
--- a/cmd/util/vfs-gen/main.go
+++ /dev/null
@@ -1,257 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-package main
-
-import (
- "flag"
- "fmt"
- "log"
- "net/http"
- "os"
- "path"
- "path/filepath"
- "strings"
- "time"
-
- "github.com/apache/camel-k/v2/pkg/util"
-
- "github.com/apache/camel-k/v2/cmd/util/vfs-gen/multifs"
- "github.com/apache/camel-k/v2/pkg/base"
- "github.com/shurcooL/httpfs/filter"
- "github.com/shurcooL/vfsgen"
-)
-
-func main() {
- var rootDir string
- var destDir string
-
- wd, err := os.Getwd()
- if err != nil {
- log.Fatalln(err)
- }
-
- flag.StringVar(&rootDir, "root", base.GoModDirectory, "The absolute path from were the directories can be found (camel-k module directory by default)")
- flag.StringVar(&destDir, "dest", wd, "The destination directory of the generated file (working directory by default)")
- flag.Parse()
-
- if len(flag.Args()) < 1 {
- println("usage: vfs-gen [-root <absolute root parent path>] [-dest <directory>] directory1 [directory2 ... ...]")
- os.Exit(1)
- }
-
- err = checkDir(rootDir)
- if err != nil {
- log.Fatalln(err)
- }
-
- dirNames := flag.Args()
- for _, dirName := range dirNames {
- absDir := filepath.Join(rootDir, dirName)
- err := checkDir(absDir)
- if err != nil {
- log.Fatalln(err)
- }
- }
-
- exclusions := calcExclusions(rootDir, dirNames)
-
- //
- // Destination file for the generated resources
- //
- resourceFile := path.Join(destDir, "resources.go")
-
- mfs, err := multifs.New(rootDir, dirNames, exclusions)
- if err != nil {
- log.Fatalln(err)
- }
-
- var fs http.FileSystem = modTimeFS{
- fs: mfs,
- }
-
- //
- // Filter un-interesting files
- //
- fs = filter.Skip(fs, filter.FilesWithExtensions(".go"))
- fs = filter.Skip(fs, func(path string, fi os.FileInfo) bool {
- return strings.HasSuffix(path, ".gen.yaml") || strings.HasSuffix(path, ".gen.json")
- })
- fs = filter.Skip(fs, NamedFilesFilter("kustomization.yaml"))
- fs = filter.Skip(fs, NamedFilesFilter("Makefile"))
- fs = filter.Skip(fs, NamedFilesFilter("auto-generated.txt"))
- fs = filter.Skip(fs, BigFilesFilter(1048576)) // 1M
- fs = filter.Skip(fs, func(path string, fi os.FileInfo) bool {
- for _, ex := range exclusions {
- if strings.HasPrefix(path, ex) {
- return true
- }
- }
- return false
- })
-
- //
- // Generate the assets
- //
- err = vfsgen.Generate(fs, vfsgen.Options{
- Filename: resourceFile,
- PackageName: filepath.Base(destDir),
- })
- if err != nil {
- log.Fatalln(err)
- }
-
- //
- // Post-process the final resource file
- //
- header := `/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-`
- content, err := util.ReadFile(resourceFile)
- if err != nil {
- log.Fatalln(err)
- }
- var finalContent []byte
- finalContent = append(finalContent, []byte(header)...)
- finalContent = append(finalContent, content...)
- if err := os.WriteFile(resourceFile, finalContent, 0o600); err != nil {
- log.Fatalln(err)
- }
-}
-
-func NamedFilesFilter(names ...string) func(path string, fi os.FileInfo) bool {
- return func(path string, fi os.FileInfo) bool {
- if fi.IsDir() {
- return false
- }
-
- for _, name := range names {
- if name == filepath.Base(path) {
- return true
- }
- }
-
- return false
- }
-}
-
-// If file is bigger than maximum size (in bytes) then exclude.
-func BigFilesFilter(size int) func(path string, fi os.FileInfo) bool {
- return func(path string, fi os.FileInfo) bool {
- if fi.IsDir() {
- return false
- }
-
- if fi.Size() > int64(size) {
- log.Printf("Warning: File %s is skipped due to being %d bytes (greater than maximum %d bytes)", path, fi.Size(), size)
- return true
- }
-
- return false
- }
-}
-
-func calcExclusions(root string, dirNames []string) []string {
- var exclusions []string
-
- for _, name := range dirNames {
- dirName := filepath.Join(root, name)
- if err := filepath.Walk(dirName, func(resPath string, info os.FileInfo, err error) error {
- if info.IsDir() {
- ignoreFileName := path.Join(resPath, ".vfsignore")
- _, err := os.Stat(ignoreFileName)
- if err == nil {
- rel, err := filepath.Rel(dirName, resPath)
- if err != nil {
- log.Fatalln(err)
- }
- if !strings.HasPrefix(rel, "/") {
- rel = "/" + rel
- }
- exclusions = append(exclusions, rel)
- } else if !os.IsNotExist(err) {
- log.Fatalln(err)
- }
- }
- return nil
- }); err != nil {
- log.Fatalln(err)
- }
- }
-
- return exclusions
-}
-
-func checkDir(dirName string) error {
- dir, err := os.Stat(dirName)
- if err != nil {
- return err
- }
- if !dir.IsDir() {
- return fmt.Errorf("path %s is not a directory", dirName)
- }
-
- return nil
-}
-
-// modTimeFS wraps http.FileSystem to set mod time to 0 for all files.
-type modTimeFS struct {
- fs http.FileSystem
-}
-
-func (fs modTimeFS) Open(name string) (http.File, error) {
- f, err := fs.fs.Open(name)
- if err != nil {
- return nil, err
- }
- return modTimeFile{f}, nil
-}
-
-type modTimeFile struct {
- http.File
-}
-
-func (f modTimeFile) Stat() (os.FileInfo, error) {
- fi, err := f.File.Stat()
- if err != nil {
- return nil, err
- }
- return modTimeFileInfo{fi}, nil
-}
-
-type modTimeFileInfo struct {
- os.FileInfo
-}
-
-func (modTimeFileInfo) ModTime() time.Time {
- return time.Time{}
-}
diff --git a/cmd/util/vfs-gen/multifs/multidir.go b/cmd/util/vfs-gen/multifs/multidir.go
deleted file mode 100644
index 7a7f62309..000000000
--- a/cmd/util/vfs-gen/multifs/multidir.go
+++ /dev/null
@@ -1,171 +0,0 @@
-/*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-/*
-Based on the union fs function available at
-https://github.com/shurcooL/httpfs/blob/master/union/union.go
-(Licenced under MIT)
-*/
-
-package multifs
-
-import (
- "fmt"
- "io"
- "net/http"
- "os"
- "path/filepath"
- "strings"
- "time"
-
- "github.com/shurcooL/httpfs/vfsutil"
-)
-
-func New(rootDir string, dirNames []string, exclude []string) (http.FileSystem, error) {
- m := &multiFS{
- rootDir: rootDir,
- exclude: exclude,
- mfs: make(map[string]http.FileSystem),
- root: &dirInfo{
- name: "/",
- },
- }
- for _, dirName := range dirNames {
- err := m.bind(dirName)
- if err != nil {
- return nil, err
- }
- }
-
- return m, nil
-}
-
-type multiFS struct {
- rootDir string
- exclude []string
- mfs map[string]http.FileSystem
- root *dirInfo
-}
-
-func (m *multiFS) bind(dirName string) error {
- absDir := filepath.Join(m.rootDir, dirName)
-
- hfs := http.Dir(absDir)
- m.mfs["/"+dirName] = hfs
-
- //
- // The 1-level down paths are needed since the
- // remainder are covered by the http filesystems
- //
- fileInfos, err := vfsutil.ReadDir(hfs, "/")
- if err != nil {
- return err
- }
-
- for _, nfo := range fileInfos {
- path := "/" + nfo.Name()
-
- if m.excluded(path) {
- continue // skip
- }
-
- if nfo.IsDir() {
- m.root.entries = append(m.root.entries, &dirInfo{
- name: path,
- })
- } else {
- m.root.entries = append(m.root.entries, nfo)
- }
- }
-
- return nil
-}
-
-func (m *multiFS) excluded(path string) bool {
- for _, ex := range m.exclude {
- if strings.HasPrefix(path, ex) {
- return true
- }
- }
-
- return false
-}
-
-func (m *multiFS) Open(path string) (http.File, error) {
- if path == "/" {
- return &dir{
- dirInfo: m.root,
- }, nil
- }
-
- for _, fs := range m.mfs {
- f, err := fs.Open(path)
- if err != nil {
- continue
- }
-
- return f, nil
- }
-
- return nil, &os.PathError{Op: "open", Path: path, Err: os.ErrNotExist}
-}
-
-// dirInfo is a static definition of a directory.
-type dirInfo struct {
- name string
- entries []os.FileInfo
-}
-
-func (d *dirInfo) Read([]byte) (int, error) {
- return 0, fmt.Errorf("cannot Read from directory %s", d.name)
-}
-func (d *dirInfo) Close() error { return nil }
-func (d *dirInfo) Stat() (os.FileInfo, error) { return d, nil }
-
-func (d *dirInfo) Name() string { return d.name }
-func (d *dirInfo) Size() int64 { return 0 }
-func (d *dirInfo) Mode() os.FileMode { return 0o755 | os.ModeDir }
-func (d *dirInfo) ModTime() time.Time { return time.Time{} } // Actual mod time is not computed because it's expensive and rarely needed.
-func (d *dirInfo) IsDir() bool { return true }
-func (d *dirInfo) Sys() interface{} { return nil }
-
-// dir is an opened dir instance.
-type dir struct {
- *dirInfo
- pos int // Position within entries for Seek and Readdir.
-}
-
-func (d *dir) Seek(offset int64, whence int) (int64, error) {
- if offset == 0 && whence == io.SeekStart {
- d.pos = 0
- return 0, nil
- }
- return 0, fmt.Errorf("unsupported Seek in directory %s", d.dirInfo.name)
-}
-
-func (d *dir) Readdir(count int) ([]os.FileInfo, error) {
- if d.pos >= len(d.dirInfo.entries) && count > 0 {
- return nil, io.EOF
- }
- if count <= 0 || count > len(d.dirInfo.entries)-d.pos {
- count = len(d.dirInfo.entries) - d.pos
- }
- e := d.dirInfo.entries[d.pos : d.pos+count]
- d.pos += count
-
- return e, nil
-}
diff --git a/config/manifests/bases/camel-k.clusterserviceversion.yaml b/config/manifests/bases/camel-k.clusterserviceversion.yaml
deleted file mode 100644
index 79bc1eacf..000000000
--- a/config/manifests/bases/camel-k.clusterserviceversion.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-apiVersion: operators.coreos.com/v1alpha1
-kind: ClusterServiceVersion
-metadata:
- annotations:
- alm-examples: '[]'
- capabilities: Basic Install
- name: camel-k.v0.0.0
- namespace: placeholder
-spec:
- apiservicedefinitions: {}
- customresourcedefinitions: {}
- description: ss
- displayName: ss
- icon:
- - base64data: ""
- mediatype: ""
- install:
- spec:
- deployments: null
- strategy: ""
- installModes:
- - supported: false
- type: OwnNamespace
- - supported: false
- type: SingleNamespace
- - supported: false
- type: MultiNamespace
- - supported: true
- type: AllNamespaces
- keywords:
- - ss
- links:
- - name: Camel K
- url: https://camel-k.domain
- maturity: alpha
- provider:
- name: ss
- url: ss
- version: 0.0.0
diff --git a/go.mod b/go.mod
index 7ebfe1ce0..7fdd689f5 100644
--- a/go.mod
+++ b/go.mod
@@ -26,8 +26,6 @@ require (
github.com/prometheus/common v0.47.0
github.com/redhat-developer/service-binding-operator v1.4.0
github.com/rs/xid v1.5.0
- github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749
- github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
diff --git a/go.sum b/go.sum
index eadb68427..627b56c47 100644
--- a/go.sum
+++ b/go.sum
@@ -390,10 +390,6 @@ github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6ke
github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4=
github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE=
github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ=
-github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 h1:bUGsEnyNbVPw06Bs80sCeARAlK8lhwqGyi6UT8ymuGk=
-github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
-github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd h1:ug7PpSOB5RBPK1Kg6qskGBoP3Vnj/aNYFTznWvlkGo0=
-github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
diff --git a/java/crds/src/main/resources b/java/crds/src/main/resources
index 528a7f278..b583165c4 120000
--- a/java/crds/src/main/resources
+++ b/java/crds/src/main/resources
@@ -1 +1 @@
-../../../../config/crd/bases
\ No newline at end of file
+../../../../pkg/resources/config/crd/bases
\ No newline at end of file
diff --git a/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml b/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml
index 88fba65dd..e0bb3a903 100644
--- a/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml
+++ b/pkg/resources/config/manifests/bases/camel-k.clusterserviceversion.yaml
@@ -23,7 +23,7 @@ metadata:
categories: Integration & Delivery
certified: "false"
containerImage: docker.io/apache/camel-k:2.3.0-SNAPSHOT
- createdAt: 2024-02-16T09:57:35Z
+ createdAt: 2024-02-16T10:30:52Z
description: Apache Camel K is a lightweight integration platform, born on Kubernetes,
with serverless superpowers.
operators.operatorframework.io/builder: operator-sdk-v1.16.0
diff --git a/pkg/resources/resources/traits.yaml b/pkg/resources/resources/traits.yaml
deleted file mode 100755
index bd6c3c5d1..000000000
--- a/pkg/resources/resources/traits.yaml
+++ /dev/null
@@ -1,1683 +0,0 @@
-# ---------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-# ---------------------------------------------------------------------------
-traits:
-- name: 3scale
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The 3scale trait can be used to automatically create annotations that
- allow 3scale to discover the generated service and make it available for API management.
- The 3scale trait is disabled by default.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait.
- - name: scheme
- type: string
- description: The scheme to use to contact the service (default `http`)
- - name: path
- type: string
- description: The path where the API is published (default `/`)
- - name: port
- type: int
- description: The port where the service is exposed (default `80`)
- - name: description-path
- type: string
- description: The path where the Open-API specification is published (default `/openapi.json`)
-- name: affinity
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: Allows constraining which nodes the integration pod(s) are eligible
- to be scheduled on, based on labels on the node, or with inter-pod affinity and
- anti-affinity, based on labels on pods that are already running on the nodes.
- It's disabled by default.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: pod-affinity
- type: bool
- description: Always co-locates multiple replicas of the integration in the same
- node (default `false`).
- - name: pod-anti-affinity
- type: bool
- description: Never co-locates multiple replicas of the integration in the same
- node (default `false`).
- - name: node-affinity-labels
- type: '[]string'
- description: Defines a set of nodes the integration pod(s) are eligible to be
- scheduled on, based on labels on the node.
- - name: pod-affinity-labels
- type: '[]string'
- description: Defines a set of pods (namely those matching the label selector,
- relative to the given namespace) that the integration pod(s) should be co-located
- with.
- - name: pod-anti-affinity-labels
- type: '[]string'
- description: Defines a set of pods (namely those matching the label selector,
- relative to the given namespace) that the integration pod(s) should not be co-located
- with.
-- name: aws-secrets-manager
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Secrets Manager trait can be used to use secrets from AWS Secrets
- Manager The AWS Secrets Manager trait is disabled by default. For more information
- about how to use secrets from AWS Secrets Manager take a look at the components
- docs: xref:components::aws-secrets-manager-component.adoc[AWS Secrets Manager
- component] A sample execution of this trait, would require the following trait
- options: -t aws-secrets-manager.enabled=true -t aws-secrets-manager.access-key="aws-access-key"
- -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region"
- To enable the automatic context reload on secrets updates you should define the
- following trait options: -t aws-secrets-manager.enabled=true -t aws-secrets-manager.access-key="aws-access-key"
- -t aws-secrets-manager.secret-key="aws-secret-key" -t aws-secrets-manager.region="aws-region"
- -t aws-secrets-manager.context-reload-enabled="true" -t aws-secrets-manager.refresh-enabled="true"
- -t aws-secrets-manager.refresh-period="30000" -t aws-secrets-manager.secrets="test*"'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait.
- - name: access-key
- type: string
- description: 'The AWS Access Key to use. This could be a plain text or a configmap/secret
- The content of the aws access key is expected to be a text containing a valid
- AWS access key. Syntax: [configmap|secret]:name[/key], where name represents
- the resource name, key optionally represents the resource key to be filtered
- (default key value = aws-access-key).'
- - name: secret-key
- type: string
- description: 'The AWS Secret Key to use. This could be a plain text or a configmap/secret
- The content of the aws secret key is expected to be a text containing a valid
- AWS secret key. Syntax: [configmap|secret]:name[/key], where name represents
- the resource name, key optionally represents the resource key to be filtered
- (default key value = aws-secret-key).'
- - name: region
- type: string
- description: The AWS Region to use
- - name: use-default-credentials-provider
- type: bool
- description: Define if we want to use the Default Credentials Provider chain as
- authentication method
- - name: context-reload-enabled
- type: bool
- description: Define if we want to use the Camel Context Reload feature or not
- - name: refresh-enabled
- type: bool
- description: Define if we want to use the Refresh Feature for secrets
- - name: refresh-period
- type: string
- description: If Refresh is enabled, this defines the interval to check the refresh
- event
- - name: secrets
- type: string
- description: If Refresh is enabled, the regular expression representing the secrets
- we want to track
-- name: azure-key-vault
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Azure Key Vault trait can be used to use secrets from Azure Key
- Vault service The Azure Key Vault trait is disabled by default. For more information
- about how to use secrets from Azure Key Vault component take a look at the components
- docs: xref:components::azure-key-vault-component.adoc[Azure Key Vault component]
- A sample execution of this trait, would require the following trait options: -t
- azure-key-vault.enabled=true -t azure-key-vault.tenant-id="tenant-id" -t azure-key-vault.client-id="client-id"
- -t azure-key-vault.client-secret="client-secret" -t azure-key-vault.vault-name="vault-name"
- To enable the automatic context reload on secrets updates you should define the
- following trait options: -t azure-key-vault.enabled=true -t azure-key-vault.tenant-id="tenant-id"
- -t azure-key-vault.client-id="client-id" -t azure-key-vault.client-secret="client-secret"
- -t azure-key-vault.vault-name="vault-name" -t azure-key-vault.context-reload-enabled="true"
- -t azure-key-vault.refresh-enabled="true" -t azure-key-vault.refresh-period="30000"
- -t azure-key-vault.secrets="test*" -t azure-key-vault.eventhub-connection-string="connection-string"
- -t azure-key-vault.blob-account-name="account-name" -t azure-key-vault.blob-container-name="container-name" -t
- azure-key-vault.blob-access-key="account-name"'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait.
- - name: tenant-id
- type: string
- description: The Azure Tenant Id for accessing Key Vault
- - name: client-id
- type: string
- description: The Azure Client Id for accessing Key Vault
- - name: client-secret
- type: string
- description: 'The Azure Client Secret for accessing Key Vault. This could be a
- plain text or a configmap/secret. The content of the azure key vault client
- secret is expected to be a text containing a valid Client Secret. Syntax: [configmap|secret]:name[/key],
- where name represents the resource name, key optionally represents the resource
- key to be filtered (default key value = azure-key-vault-client-secret).'
- - name: vault-name
- type: string
- description: The Azure Vault Name for accessing Key Vault
- - name: context-reload-enabled
- type: bool
- description: Define if we want to use the Camel Context Reload feature or not
- - name: refresh-enabled
- type: bool
- description: Define if we want to use the Refresh Feature for secrets
- - name: refresh-period
- type: string
- description: If Refresh is enabled, this defines the interval to check the refresh
- event
- - name: secrets
- type: string
- description: If Refresh is enabled, the regular expression representing the secrets
- we want to track
- - name: eventhub-connection-string
- type: string
- description: If Refresh is enabled, the connection String to point to the Eventhub
- service used to track updates
- - name: blob-account-name
- type: string
- description: If Refresh is enabled, the account name for Azure Storage Blob service
- used to save checkpoint while consuming from Eventhub
- - name: blob-access-key
- type: string
- description: 'If Refresh is enabled, the access key for Azure Storage Blob service
- used to save checkpoint while consuming from Eventhub. This could be a plain
- text or a configmap/secret. The content of the azure key vault blob access key
- is expected to be a text containing a valid Access Key for Azure Storage Blob.
- Syntax: [configmap|secret]:name[/key], where name represents the resource name,
- key optionally represents the resource key to be filtered (default key value
- = azure-storage-blob-access-key).'
- - name: blob-container-name
- type: string
- description: If Refresh is enabled, the container name for Azure Storage Blob
- service used to save checkpoint while consuming from Eventhub
-- name: builder
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The builder trait is internally used to determine the best strategy
- to build and configure IntegrationKits.
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: verbose
- type: bool
- description: Enable verbose logging on build components that support it (e.g.
- Kaniko build pod). Deprecated no longer in use
- - name: properties
- type: '[]string'
- description: A list of properties to be provided to the build task
- - name: strategy
- type: string
- description: The strategy to use, either `pod` or `routine` (default `routine`)
- - name: base-image
- type: string
- description: Specify a base image
- - name: incremental-image-build
- type: bool
- description: Use the incremental image build option, to reuse existing containers
- (default `true`)
- - name: order-strategy
- type: string
- description: The build order strategy to use, either `dependencies`, `fifo` or
- `sequential` (default `sequential`)
- - name: request-cpu
- type: string
- description: 'When using `pod` strategy, the minimum amount of CPU required by
- the pod builder. Deprecated: use TasksRequestCPU instead with task name `builder`.'
- - name: request-memory
- type: string
- description: 'When using `pod` strategy, the minimum amount of memory required
- by the pod builder. Deprecated: use TasksRequestCPU instead with task name `builder`.'
- - name: limit-cpu
- type: string
- description: 'When using `pod` strategy, the maximum amount of CPU required by
- the pod builder. Deprecated: use TasksRequestCPU instead with task name `builder`.'
- - name: limit-memory
- type: string
- description: 'When using `pod` strategy, the maximum amount of memory required
- by the pod builder. Deprecated: use TasksRequestCPU instead with task name `builder`.'
- - name: maven-profiles
- type: '[]string'
- description: 'A list of references pointing to configmaps/secrets that contains
- a maven profile. The content of the maven profile is expected to be a text containing
- a valid maven profile starting with `<profile>` and ending with `</profile>`
- that will be integrated as an inline profile in the POM. Syntax: [configmap|secret]:name[/key],
- where name represents the resource name, key optionally represents the resource
- key to be filtered (default key value = profile.xml).'
- - name: tasks
- type: '[]string'
- description: A list of tasks to be executed (available only when using `pod` strategy)
- with format `<name>;<container-image>;<container-command>`.
- - name: tasks-filter
- type: string
- description: A list of tasks sorted by the order of execution in a csv format,
- ie, `<taskName1>,<taskName2>,...`. Mind that you must include also the operator
- tasks (`builder`, `quarkus-native`, `package`, `jib`, `spectrum`, `s2i`) if
- you need to execute them. Useful only with `pod` strategy.
- - name: tasks-request-cpu
- type: '[]string'
- description: A list of request cpu configuration for the specific task with format
- `<task-name>:<request-cpu-conf>`.
- - name: tasks-request-memory
- type: '[]string'
- description: A list of request memory configuration for the specific task with
- format `<task-name>:<request-memory-conf>`.
- - name: tasks-limit-cpu
- type: '[]string'
- description: A list of limit cpu configuration for the specific task with format
- `<task-name>:<limit-cpu-conf>`.
- - name: tasks-limit-memory
- type: '[]string'
- description: A list of limit memory configuration for the specific task with format
- `<task-name>:<limit-memory-conf>`.
- - name: node-selector
- type: map[string]string
- description: Defines a set of nodes the builder pod is eligible to be scheduled
- on, based on labels on the node.
- - name: annotations
- type: map[string]string
- description: When using `pod` strategy, annotation to use for the builder pod.
-- name: camel
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Camel trait can be used to configure versions of Apache Camel K
- runtime and related libraries, it cannot be disabled.
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: runtime-version
- type: string
- description: The camel-k-runtime version to use for the integration. It overrides
- the default version set in the Integration Platform.
- - name: properties
- type: '[]string'
- description: A list of properties to be provided to the Integration runtime
-- name: container
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Container trait can be used to configure properties of the container
- where the integration will run. It also provides configuration for Services associated
- to the container.
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: auto
- type: bool
- description: To automatically enable the trait
- - name: request-cpu
- type: string
- description: The minimum amount of CPU required.
- - name: request-memory
- type: string
- description: The minimum amount of memory required.
- - name: limit-cpu
- type: string
- description: The maximum amount of CPU required.
- - name: limit-memory
- type: string
- description: The maximum amount of memory required.
- - name: expose
- type: bool
- description: Can be used to enable/disable exposure via kubernetes Service.
- - name: port
- type: int
- description: To configure a different port exposed by the container (default `8080`).
- - name: port-name
- type: string
- description: To configure a different port name for the port exposed by the container.
- It defaults to `http` only when the `expose` parameter is true.
- - name: service-port
- type: int
- description: To configure under which service port the container port is to be
- exposed (default `80`).
- - name: service-port-name
- type: string
- description: To configure under which service port name the container port is
- to be exposed (default `http`).
- - name: name
- type: string
- description: The main container name. It's named `integration` by default.
- - name: image
- type: string
- description: The main container image
- - name: image-pull-policy
- type: PullPolicy
- description: 'The pull policy: Always|Never|IfNotPresent'
-- name: cron
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Cron trait can be used to customize the behaviour of periodic
- timer/cron based integrations. While normally an integration requires a pod to
- be always up and running, some periodic tasks, such as batch jobs, require to
- be activated at specific hours of the day or with a periodic delay of minutes.
- For such tasks, the cron trait can materialize the integration as a Kubernetes
- CronJob instead of a standard deployment, in order to save resources when the
- integration does not need to be executed. Integrations that start from the following
- components are evaluated by the cron trait: `timer`, `cron`, `quartz`. WARNING:
- In case of native build-mode defined in xref:traits:quarkus.adoc[quarkus] trait,
- the component can''t be customized. The rules for using a Kubernetes CronJob are
- the following: - `timer`: when period is set in milliseconds with no remaining
- seconds, for example 120000. If there is any second left as in 121000 (120s and
- 1s) or the presence of any of these parameters (delay, repeatCount, time) then
- a CronJob won''t be created, but a standard deployment. - `cron`, `quartz`: when
- the cron expression does not contain seconds (or the "seconds" part is set to
- 0). E.g. `cron:tab?schedule=0/2${plus}*{plus}*{plus}*{plus}?` or `quartz:trigger?cron=0{plus}0/2{plus}*{plus}*{plus}*{plus}?`.'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: schedule
- type: string
- description: The CronJob schedule for the whole integration. If multiple routes
- are declared, they must have the same schedule for this mechanism to work correctly.
- - name: components
- type: string
- description: 'A comma separated list of the Camel components that need to be customized
- in order for them to work when the schedule is triggered externally by Kubernetes.
- A specific customizer is activated for each specified component. E.g. for the
- `timer` component, the `cron-timer` customizer is activated (it''s present in
- the `org.apache.camel.k:camel-k-cron` library). Supported components are currently:
- `cron`, `timer` and `quartz`.'
- - name: fallback
- type: bool
- description: Use the default Camel implementation of the `cron` endpoint (`quartz`)
- instead of trying to materialize the integration as Kubernetes CronJob.
- - name: concurrency-policy
- type: string
- description: 'Specifies how to treat concurrent executions of a Job. Valid values
- are: - "Allow": allows CronJobs to run concurrently; - "Forbid" (default): forbids
- concurrent runs, skipping next run if previous run hasn''t finished yet; - "Replace":
- cancels currently running job and replaces it with a new one'
- - name: auto
- type: bool
- description: Automatically deploy the integration as CronJob when all routes are
- either starting from a periodic consumer (only `cron`, `timer` and `quartz`
- are supported) or a passive consumer (e.g. `direct` is a passive consumer). It's
- required that all periodic consumers have the same period, and it can be expressed
- as cron schedule (e.g. `1m` can be expressed as `0/1 * * * *`, while `35m` or
- `50s` cannot).
- - name: starting-deadline-seconds
- type: int64
- description: Optional deadline in seconds for starting the job if it misses scheduled
- time for any reason. Missed jobs executions will be counted as failed ones.
- - name: active-deadline-seconds
- type: int64
- description: Specifies the duration in seconds, relative to the start time, that
- the job may be continuously active before it is considered to be failed. It
- defaults to 60s.
- - name: backoff-limit
- type: int32
- description: Specifies the number of retries before marking the job failed. It
- defaults to 2.
-- name: dependencies
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Dependencies trait is internally used to automatically add runtime
- dependencies based on the integration that the user wants to run.
- properties: []
-- name: deployer
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The deployer trait is responsible for deploying the resources owned
- by the integration, and can be used to explicitly select the underlying controller
- that will manage the integration pods.
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: kind
- type: string
- description: Allows to explicitly select the desired deployment kind between `deployment`,
- `cron-job` or `knative-service` when creating the resources for running the
- integration.
- - name: use-ssa
- type: bool
- description: Use server-side apply to update the owned resources (default `true`).
- Note that it automatically falls back to client-side patching, if SSA is not
- available, e.g., on old Kubernetes clusters.
-- name: deployment
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Deployment trait is responsible for generating the Kubernetes deployment
- that will make sure the integration will run in the cluster.
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: progress-deadline-seconds
- type: int32
- description: The maximum time in seconds for the deployment to make progress before
- it is considered to be failed. It defaults to `60s`.
- - name: strategy
- type: DeploymentStrategyType
- description: The deployment strategy to use to replace existing pods with new
- ones.
- - name: rolling-update-max-unavailable
- type: int
- description: 'The maximum number of pods that can be unavailable during the update.
- Value can be an absolute number (ex: 5) or a percentage of desired pods (ex:
- 10%). Absolute number is calculated from percentage by rounding down. This can
- not be 0 if MaxSurge is 0. Defaults to `25%`.'
- - name: rolling-update-max-surge
- type: int
- description: 'The maximum number of pods that can be scheduled above the desired
- number of pods. Value can be an absolute number (ex: 5) or a percentage of desired
- pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is
- calculated from percentage by rounding up. Defaults to `25%`.'
-- name: environment
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The environment trait is used internally to inject standard environment
- variables in the integration container, such as `NAMESPACE`, `POD_NAME` and others.
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: container-meta
- type: bool
- description: Enables injection of `NAMESPACE` and `POD_NAME` environment variables
- (default `true`)
- - name: http-proxy
- type: bool
- description: Propagates the `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` environment
- variables (default `true`)
- - name: vars
- type: '[]string'
- description: A list of environment variables to be added to the integration container.
- The syntax is KEY=VALUE, e.g., `MY_VAR="my value"`. These take precedence over
- the previously defined environment variables.
-- name: error-handler
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The error-handler is a platform trait used to inject Error Handler
- source into the integration runtime.
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: ref
- type: string
- description: The error handler ref name provided or found in application properties
-- name: gc
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The GC Trait garbage-collects all resources that are no longer necessary
- upon integration updates.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: discovery-cache
- type: github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait.DiscoveryCacheType
- description: 'Discovery client cache to be used, either `disabled`, `disk` or
- `memory` (default `memory`). Deprecated: to be removed from trait configuration.'
-- name: gcp-secret-manager
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Google Secret Manager trait can be used to use secrets from Google
- Secret Manager The Google Secret Manager trait is disabled by default. For more
- information about how to use secrets from Google Secret Manager take a look at
- the components docs: xref:components::google-secret-manager-component.adoc[AWS
- Secrets Manager component] A sample execution of this trait, would require the
- following trait options: -t gpc-secret-manager.enabled=true -t gpc-secret-manager.project-id="project-id"
- -t gpc-secret-manager.service-account-key="file:serviceaccount.json" To enable
- the automatic context reload on secrets updates you should define the following
- trait options: -t gpc-secret-manager.enabled=true -t gpc-secret-manager.project-id="project-id"
- -t gpc-secret-manager.service-account-key="file:serviceaccount.json" -t gcp-secret-manager.subscription-name="pubsub-sub"
- -t gcp-secret-manager.context-reload-enabled="true" -t gcp-secret-manager.refresh-enabled="true"
- -t gcp-secret-manager.refresh-period="30000" -t gcp-secret-manager.secrets="test*"'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait.
- - name: project-id
- type: string
- description: The Project Id from Google Cloud
- - name: service-account-key
- type: string
- description: The Path to a service account Key File to use secrets from Google
- Secret Manager
- - name: use-default-instance
- type: bool
- description: Define if we want to use the Default Instance approach for accessing
- the Google Secret Manager service
- - name: context-reload-enabled
- type: bool
- description: Define if we want to use the Camel Context Reload feature or not
- - name: refresh-enabled
- type: bool
- description: Define if we want to use the Refresh Feature for secrets
- - name: refresh-period
- type: string
- description: If Refresh is enabled, this defines the interval to check the refresh
- event
- - name: secrets
- type: string
- description: If Refresh is enabled, the regular expression representing the secrets
- we want to track
- - name: subscription-name
- type: string
- description: If Refresh is enabled, this defines the subscription name to the
- Google PubSub topic used to keep track of updates
-- name: hashicorp-vault
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Hashicorp Vault trait can be used to use secrets from Hashicorp
- Vault The Hashicorp Vault trait is disabled by default. For more information about
- how to use secrets from Hashicorp vault take a look at the components docs: xref:components::hashicorp-vault-component.adoc[Hashicorp
- Vault component] A sample execution of this trait, would require the following
- trait options: -t hashicorp-vault.enabled=true -t hashicorp-vault.token="token"
- -t hashicorp-vault.port="port" -t hashicorp-vault.engine="engine" -t hashicorp-vault.port="port"
- -t hashicorp-vault.scheme="scheme"'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait.
- - name: host
- type: string
- description: The Host to use
- - name: port
- type: string
- description: The Port to use
- - name: engine
- type: string
- description: The Hashicorp engine to use
- - name: token
- type: string
- description: 'The token to access Hashicorp Vault. This could be a plain text
- or a configmap/secret The content of the hashicorp vault token is expected to
- be a text containing a valid Hashicorp Vault Token. Syntax: [configmap|secret]:name[/key],
- where name represents the resource name, key optionally represents the resource
- key to be filtered (default key value = hashicorp-vault-token).'
- - name: scheme
- type: string
- description: The scheme to access Hashicorp Vault
-- name: health
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The health trait is responsible for configuring the health probes on
- the integration container. It's disabled by default.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: liveness-probe-enabled
- type: bool
- description: Configures the liveness probe for the integration container (default
- `false`).
- - name: liveness-scheme
- type: string
- description: Scheme to use when connecting to the liveness probe (default `HTTP`).
- - name: liveness-initial-delay
- type: int32
- description: Number of seconds after the container has started before the liveness
- probe is initiated.
- - name: liveness-timeout
- type: int32
- description: Number of seconds after which the liveness probe times out.
- - name: liveness-period
- type: int32
- description: How often to perform the liveness probe.
- - name: liveness-success-threshold
- type: int32
- description: Minimum consecutive successes for the liveness probe to be considered
- successful after having failed.
- - name: liveness-failure-threshold
- type: int32
- description: Minimum consecutive failures for the liveness probe to be considered
- failed after having succeeded.
- - name: readiness-probe-enabled
- type: bool
- description: Configures the readiness probe for the integration container (default
- `true`).
- - name: readiness-scheme
- type: string
- description: Scheme to use when connecting to the readiness probe (default `HTTP`).
- - name: readiness-initial-delay
- type: int32
- description: Number of seconds after the container has started before the readiness
- probe is initiated.
- - name: readiness-timeout
- type: int32
- description: Number of seconds after which the readiness probe times out.
- - name: readiness-period
- type: int32
- description: How often to perform the readiness probe.
- - name: readiness-success-threshold
- type: int32
- description: Minimum consecutive successes for the readiness probe to be considered
- successful after having failed.
- - name: readiness-failure-threshold
- type: int32
- description: Minimum consecutive failures for the readiness probe to be considered
- failed after having succeeded.
- - name: startup-probe-enabled
- type: bool
- description: Configures the startup probe for the integration container (default
- `false`).
- - name: startup-scheme
- type: string
- description: Scheme to use when connecting to the startup probe (default `HTTP`).
- - name: startup-initial-delay
- type: int32
- description: Number of seconds after the container has started before the startup
- probe is initiated.
- - name: startup-timeout
- type: int32
- description: Number of seconds after which the startup probe times out.
- - name: startup-period
- type: int32
- description: How often to perform the startup probe.
- - name: startup-success-threshold
- type: int32
- description: Minimum consecutive successes for the startup probe to be considered
- successful after having failed.
- - name: startup-failure-threshold
- type: int32
- description: Minimum consecutive failures for the startup probe to be considered
- failed after having succeeded.
-- name: ingress
- platform: false
- profiles:
- - Kubernetes
- description: The Ingress trait can be used to expose the service associated with
- the integration to the outside world with a Kubernetes Ingress. It's enabled by
- default whenever a Service is added to the integration (through the `service`
- trait).
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: annotations
- type: map[string]string
- description: 'The annotations added to the ingress. This can be used to set controller
- specific annotations, e.g., when using the NGINX Ingress controller: See https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md'
- - name: host
- type: string
- description: To configure the host exposed by the ingress.
- - name: path
- type: string
- description: To configure the path exposed by the ingress (default `/`).
- - name: path-type
- type: k8s.io/api/networking/v1.PathType
- description: To configure the path type exposed by the ingress. One of `Exact`,
- `Prefix`, `ImplementationSpecific` (default to `Prefix`).
- - name: auto
- type: bool
- description: To automatically add an ingress whenever the integration uses an
- HTTP endpoint consumer.
-- name: istio
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Istio trait allows configuring properties related to the Istio
- service mesh, such as sidecar injection and outbound IP ranges.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: allow
- type: string
- description: Configures a (comma-separated) list of CIDR subnets that should not
- be intercepted by the Istio proxy (`10.0.0.0/8,172.16.0.0/12,192.168.0.0/16`
- by default).
- - name: inject
- type: bool
- description: Forces the value for labels `sidecar.istio.io/inject`. By default
- the label is set to `true` on deployment and not set on Knative Service.
-- name: jolokia
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Jolokia trait activates and configures the Jolokia Java agent.
- See https://jolokia.org/reference/html/agents.html
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: ca-cert
- type: string
- description: The PEM encoded CA certification file path, used to verify client
- certificates, applicable when `protocol` is `https` and `use-ssl-client-authentication`
- is `true` (default `/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt`
- for OpenShift).
- - name: client-principal
- type: '[]string'
- description: The principal(s) which must be given in a client certificate to allow
- access to the Jolokia endpoint, applicable when `protocol` is `https` and `use-ssl-client-authentication`
- is `true` (default `clientPrincipal=cn=system:master-proxy`, `cn=hawtio-online.hawtio.svc`
- and `cn=fuse-console.fuse.svc` for OpenShift).
- - name: discovery-enabled
- type: bool
- description: Listen for multicast requests (default `false`)
- - name: extended-client-check
- type: bool
- description: Mandate the client certificate contains a client flag in the extended
- key usage section, applicable when `protocol` is `https` and `use-ssl-client-authentication`
- is `true` (default `true` for OpenShift).
- - name: host
- type: string
- description: The Host address to which the Jolokia agent should bind to. If `"\*"`
- or `"0.0.0.0"` is given, the servers binds to every network interface (default
- `"*"`).
- - name: password
- type: string
- description: The password used for authentication, applicable when the `user`
- option is set.
- - name: port
- type: int
- description: The Jolokia endpoint port (default `8778`).
- - name: protocol
- type: string
- description: The protocol to use, either `http` or `https` (default `https` for
- OpenShift)
- - name: user
- type: string
- description: The user to be used for authentication
- - name: use-ssl-client-authentication
- type: bool
- description: Whether client certificates should be used for authentication (default
- `true` for OpenShift).
- - name: options
- type: '[]string'
- description: A list of additional Jolokia options as defined in https://jolokia.org/reference/html/agents.html#agent-jvm-config[JVM
- agent configuration options]
-- name: jvm
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The JVM trait is used to configure the JVM that runs the Integration.
- This trait is configured only for Integration and related IntegrationKits (bound
- to a container image) built by Camel K operator. If the system detects the usage
- of a different container image (ie, built externally), then, the trait is disabled
- by the platform. WARNING: you can still enable the trait explicitly even when
- it is disabled by the platform but you should be aware that some configurations
- could fail.'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: debug
- type: bool
- description: Activates remote debugging, so that a debugger can be attached to
- the JVM, e.g., using port-forwarding
- - name: debug-suspend
- type: bool
- description: Suspends the target JVM immediately before the main class is loaded
- - name: print-command
- type: bool
- description: Prints the command used the start the JVM in the container logs (default
- `true`)
- - name: debug-address
- type: string
- description: Transport address at which to listen for the newly launched JVM (default
- `*:5005`)
- - name: options
- type: '[]string'
- description: A list of JVM options
- - name: classpath
- type: string
- description: Additional JVM classpath (use `Linux` classpath separator)
-- name: kamelets
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The kamelets trait is a platform trait used to inject Kamelets into
- the integration runtime.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Automatically inject all referenced Kamelets and their default configuration
- (enabled by default)
- - name: list
- type: string
- description: Comma separated list of Kamelet names to load into the current integration
- - name: mount-point
- type: string
- description: The directory where the application mounts and reads Kamelet spec
- (default `/etc/camel/kamelets`)
-- name: keda
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The KEDA trait can be used for automatic integration with KEDA autoscalers.
- The trait can be either manually configured using the `triggers` option or automatically
- configured via markers in the Kamelets. For information on how to use KEDA enabled
- Kamelets with the KEDA trait, refer to xref:ROOT:kamelets/kamelets-user.adoc#kamelet-keda-user[the
- KEDA section in the Kamelets user guide]. If you want to create Kamelets that
- contain KEDA metadata, refer to xref:ROOT:kamelets/kamelets-dev.adoc#kamelet-keda-dev[the
- KEDA section in the Kamelets development guide]. The KEDA trait is disabled by
- default.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait. Allows the trait to
- infer KEDA triggers from the Kamelets.
- - name: hack-controller-replicas
- type: bool
- description: Set the spec->replicas field on the top level controller to an explicit
- value if missing, to allow KEDA to recognize it as a scalable resource.
- - name: polling-interval
- type: int32
- description: Interval (seconds) to check each trigger on.
- - name: cooldown-period
- type: int32
- description: The wait period between the last active trigger reported and scaling
- the resource back to 0.
- - name: idle-replica-count
- type: int32
- description: Enabling this property allows KEDA to scale the resource down to
- the specified number of replicas.
- - name: min-replica-count
- type: int32
- description: Minimum number of replicas.
- - name: max-replica-count
- type: int32
- description: Maximum number of replicas.
- - name: triggers
- type: '[]github.com/apache/camel-k/v2/addons/keda.kedaTrigger'
- description: Definition of triggers according to the KEDA format. Each trigger
- must contain `type` field corresponding to the name of a KEDA autoscaler and
- a key/value map named `metadata` containing specific trigger options. An optional
- `authentication-secret` can be declared per trigger and the operator will link
- each entry of the secret to a KEDA authentication parameter.
-- name: knative
- platform: false
- profiles:
- - Knative
- description: The Knative trait automatically discovers addresses of Knative resources
- and inject them into the running integration. The full Knative configuration is
- injected in the CAMEL_KNATIVE_CONFIGURATION in JSON format. The Camel Knative
- component will then use the full configuration to configure the routes. The trait
- is enabled by default when the Knative profile is active.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: configuration
- type: string
- description: Can be used to inject a Knative complete configuration in JSON format.
- - name: channel-sources
- type: '[]string'
- description: List of channels used as source of integration routes. Can contain
- simple channel names or full Camel URIs.
- - name: channel-sinks
- type: '[]string'
- description: List of channels used as destination of integration routes. Can contain
- simple channel names or full Camel URIs.
- - name: endpoint-sources
- type: '[]string'
- description: List of channels used as source of integration routes.
- - name: endpoint-sinks
- type: '[]string'
- description: List of endpoints used as destination of integration routes. Can
- contain simple endpoint names or full Camel URIs.
- - name: event-sources
- type: '[]string'
- description: List of event types that the integration will be subscribed to. Can
- contain simple event types or full Camel URIs (to use a specific broker different
- from "default").
- - name: event-sinks
- type: '[]string'
- description: List of event types that the integration will produce. Can contain
- simple event types or full Camel URIs (to use a specific broker).
- - name: filter-source-channels
- type: bool
- description: Enables filtering on events based on the header "ce-knativehistory".
- Since this header has been removed in newer versions of Knative, filtering is
- disabled by default.
- - name: sink-binding
- type: bool
- description: Allows binding the integration to a sink via a Knative SinkBinding
- resource. This can be used when the integration targets a single sink. It's
- enabled by default when the integration targets a single sink (except when the
- integration is owned by a Knative source).
- - name: auto
- type: bool
- description: Enable automatic discovery of all trait properties.
- - name: namespace-label
- type: bool
- description: 'Enables the camel-k-operator to set the "bindings.knative.dev/include=true"
- label to the namespace As Knative requires this label to perform injection of
- K_SINK URL into the service. If this is false, the integration pod may start
- and fail, read the SinkBinding Knative documentation. (default: true)'
-- name: knative-service
- platform: false
- profiles:
- - Knative
- description: The Knative Service trait allows configuring options when running the
- Integration as a Knative service, instead of a standard Kubernetes Deployment.
- Running an Integration as a Knative Service enables auto-scaling (and scaling-to-zero),
- but those features are only relevant when the Camel route(s) use(s) an HTTP endpoint
- consumer.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: annotations
- type: map[string]string
- description: 'The annotations added to route. This can be used to set knative
- service specific annotations CLI usage example: -t "knative-service.annotations.''haproxy.router.openshift.io/balance''=true"'
- - name: autoscaling-class
- type: string
- description: Configures the Knative autoscaling class property (e.g. to set `hpa.autoscaling.knative.dev`
- or `kpa.autoscaling.knative.dev` autoscaling). Refer to the Knative documentation
- for more information.
- - name: autoscaling-metric
- type: string
- description: Configures the Knative autoscaling metric property (e.g. to set `concurrency`
- based or `cpu` based autoscaling). Refer to the Knative documentation for more
- information.
- - name: autoscaling-target
- type: int
- description: Sets the allowed concurrency level or CPU percentage (depending on
- the autoscaling metric) for each Pod. Refer to the Knative documentation for
- more information.
- - name: min-scale
- type: int
- description: The minimum number of Pods that should be running at any time for
- the integration. It's **zero** by default, meaning that the integration is scaled
- down to zero when not used for a configured amount of time. Refer to the Knative
- documentation for more information.
- - name: max-scale
- type: int
- description: An upper bound for the number of Pods that can be running in parallel
- for the integration. Knative has its own cap value that depends on the installation. Refer
- to the Knative documentation for more information.
- - name: rollout-duration
- type: string
- description: Enables to gradually shift traffic to the latest Revision and sets
- the rollout duration. It's disabled by default and must be expressed as a Golang
- `time.Duration` string representation, rounded to a second precision.
- - name: visibility
- type: string
- description: Setting `cluster-local`, Knative service becomes a private service.
- Specifically, this option applies the `networking.knative.dev/visibility` label
- to Knative service. Refer to the Knative documentation for more information.
- - name: auto
- type: bool
- description: 'Automatically deploy the integration as Knative service when all
- conditions hold: * Integration is using the Knative profile * All routes are
- either starting from an HTTP based consumer or a passive consumer (e.g. `direct`
- is a passive consumer)'
-- name: logging
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Logging trait is used to configure Integration runtime logging
- options (such as color and format). The logging backend is provided by Quarkus,
- whose configuration is documented at https://quarkus.io/guides/logging.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: color
- type: bool
- description: Colorize the log output
- - name: format
- type: string
- description: Logs message format
- - name: level
- type: string
- description: Adjust the logging level (defaults to `INFO`)
- - name: json
- type: bool
- description: Output the logs in JSON
- - name: json-pretty-print
- type: bool
- description: Enable "pretty printing" of the JSON logs
-- name: master
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Master trait allows to configure the integration to automatically
- leverage Kubernetes resources for doing leader election and starting *master*
- routes only on certain instances. It''s activated automatically when using the
- master endpoint in a route, e.g. `from("master:lockname:telegram:bots")...`. NOTE:
- this trait adds special permissions to the integration service account in order
- to read/write configmaps and read pods. It''s recommended to use a different service
- account than "default" when running the integration.'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait.
- - name: include-delegate-dependencies
- type: bool
- description: When this flag is active, the operator analyzes the source code to
- add dependencies required by delegate endpoints. E.g. when using `master:lockname:timer`,
- then `camel:timer` is automatically added to the set of dependencies. It's enabled
- by default.
- - name: resource-name
- type: string
- description: Name of the configmap that will be used to store the lock. Defaults
- to "<integration-name>-lock". Name of the configmap/lease resource that will
- be used to store the lock. Defaults to "<integration-name>-lock".
- - name: resource-type
- type: string
- description: Type of Kubernetes resource to use for locking ("ConfigMap" or "Lease").
- Defaults to "Lease".
- - name: label-key
- type: string
- description: Label that will be used to identify all pods contending the lock.
- Defaults to "camel.apache.org/integration".
- - name: label-value
- type: string
- description: Label value that will be used to identify all pods contending the
- lock. Defaults to the integration name.
-- name: mount
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Mount trait can be used to configure volumes mounted on the Integration
- Pods.
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: configs
- type: '[]string'
- description: 'A list of configuration pointing to configmap/secret. The configuration
- are expected to be UTF-8 resources as they are processed by runtime Camel Context
- and tried to be parsed as property files. They are also made available on the
- classpath in order to ease their usage directly from the Route. Syntax: [configmap|secret]:name[/key],
- where name represents the resource name and key optionally represents the resource
- key to be filtered'
- - name: resources
- type: '[]string'
- description: 'A list of resources (text or binary content) pointing to configmap/secret.
- The resources are expected to be any resource type (text or binary content).
- The destination path can be either a default location or any path specified
- by the user. Syntax: [configmap|secret]:name[/key][@path], where name represents
- the resource name, key optionally represents the resource key to be filtered
- and path represents the destination path'
- - name: volumes
- type: '[]string'
- description: 'A list of Persistent Volume Claims to be mounted. Syntax: [pvcname:/container/path]'
- - name: hot-reload
- type: bool
- description: Enable "hot reload" when a secret/configmap mounted is edited (default
- `false`). The configmap/secret must be marked with `camel.apache.org/integration`
- label to be taken in account.
-- name: openapi
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The OpenAPI DSL trait is internally used to allow creating integrations
- from a OpenAPI specs.
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: configmaps
- type: '[]string'
- description: The configmaps holding the spec of the OpenAPI
-- name: owner
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Owner trait ensures that all created resources belong to the integration
- being created and transfers annotations and labels on the integration onto these
- owned resources.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: target-annotations
- type: '[]string'
- description: The set of annotations to be transferred
- - name: target-labels
- type: '[]string'
- description: The set of labels to be transferred
-- name: pdb
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The PDB trait allows to configure the PodDisruptionBudget resource
- for the Integration pods.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: min-available
- type: string
- description: The number of pods for the Integration that must still be available
- after an eviction. It can be either an absolute number or a percentage. Only
- one of `min-available` and `max-unavailable` can be specified.
- - name: max-unavailable
- type: string
- description: The number of pods for the Integration that can be unavailable after
- an eviction. It can be either an absolute number or a percentage (default `1`
- if `min-available` is also not set). Only one of `max-unavailable` and `min-available`
- can be specified.
-- name: platform
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The platform trait is a base trait that is used to assign an integration
- platform to an integration. In case the platform is missing, the trait is allowed
- to create a default platform. This feature is especially useful in contexts where
- there's no need to provide a custom configuration for the platform (e.g. on OpenShift
- the default settings work, since there's an embedded container image registry).
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: create-default
- type: bool
- description: To create a default (empty) platform when the platform is missing.
- - name: global
- type: bool
- description: Indicates if the platform should be created globally in the case
- of global operator (default true).
- - name: auto
- type: bool
- description: To automatically detect from the environment if a default platform
- can be created (it will be created on OpenShift only).
-- name: pod
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The pod trait allows the customization of the Integration pods. It
- applies the `PodSpecTemplate` struct contained in the Integration `.spec.podTemplate`
- field, into the Integration deployment Pods template, using strategic merge patch.
- This can be used to customize the container where Camel routes execute, by using
- the `integration` container name.
- properties: []
-- name: prometheus
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Prometheus trait configures a Prometheus-compatible endpoint.
- It also creates a `PodMonitor` resource, so that the endpoint can be scraped automatically,
- when using the Prometheus operator. The metrics are exposed using Micrometer Metrics.
- WARNING: The creation of the `PodMonitor` resource requires the https://github.com/coreos/prometheus-operator[Prometheus
- Operator] custom resource definition to be installed. You can set `pod-monitor`
- to `false` for the Prometheus trait to work without the Prometheus Operator. WARNING:
- By default the metrics API is not available in JSON The Prometheus trait is disabled
- by default.'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: pod-monitor
- type: bool
- description: Whether a `PodMonitor` resource is created (default `true`).
- - name: pod-monitor-labels
- type: '[]string'
- description: The `PodMonitor` resource labels, applicable when `pod-monitor` is
- `true`.
-- name: pull-secret
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Pull Secret trait sets a pull secret on the pod, to allow Kubernetes
- to retrieve the container image from an external registry. The pull secret can
- be specified manually or, in case you've configured authentication for an external
- container registry on the `IntegrationPlatform`, the same secret is used to pull
- images. It's enabled by default whenever you configure authentication for an external
- container registry, so it assumes that external registries are private. If your
- registry does not need authentication for pulling images, you can disable this
- trait.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: secret-name
- type: string
- description: The pull secret name to set on the Pod. If left empty this is automatically
- taken from the `IntegrationPlatform` registry configuration.
- - name: image-puller-delegation
- type: bool
- description: When using a global operator with a shared platform, this enables
- delegation of the `system:image-puller` cluster role on the operator namespace
- to the integration service account.
- - name: auto
- type: bool
- description: Automatically configures the platform registry secret on the pod
- if it is of type `kubernetes.io/dockerconfigjson`.
-- name: quarkus
- platform: true
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Quarkus trait configures the Quarkus runtime. It''s enabled by
- default. NOTE: A native based compilation will be forced to use a `pod` build
- strategy. Compiling to a native executable, i.e. when using `build-mode=native`,
- requires at least 4GiB of memory, so the Pod running the native build, must have
- enough memory available.'
- properties:
- - name: enabled
- type: bool
- description: 'Deprecated: no longer in use.'
- - name: package-type
- type: '[]github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait.QuarkusPackageType'
- description: 'The Quarkus package types, `fast-jar` or `native` (default `fast-jar`).
- In case both `fast-jar` and `native` are specified, two `IntegrationKit` resources
- are created, with the native kit having precedence over the `fast-jar` one once
- ready. The order influences the resolution of the current kit for the integration.
- The kit corresponding to the first package type will be assigned to the integration
- in case no existing kit that matches the integration exists. Deprecated: use
- `build-mode` instead.'
- - name: build-mode
- type: '[]github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait.QuarkusMode'
- description: 'The Quarkus mode to run: either `jvm` or `native` (default `jvm`).
- In case both `jvm` and `native` are specified, two `IntegrationKit` resources
- are created, with the `native` kit having precedence over the `jvm` one once
- ready.'
- - name: native-base-image
- type: string
- description: The base image to use when running a native build (default `quay.io/quarkus/quarkus-micro-image:2.0`)
- - name: native-builder-image
- type: string
- description: The image containing the tooling required for a native build (by
- default it will use the one provided in the runtime catalog)
-- name: registry
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Registry trait sets up Maven to use the Image registry as a Maven
- repository.
- properties: []
-- name: resume
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Resume trait can be used to manage and configure resume strategies.
- This feature is meant to allow quick resume of processing by Camel K instances
- after they have been restarted. WARNING: this is an experimental implementation
- based on the support available on link:/components/next/eips/resume-strategies.html[Camel
- Core resume strategies]. The Resume trait is disabled by default. The main different
- from the implementation on Core is that it''s not necessary to bind the strategies
- to the registry. This step will be done automatically by Camel K, after resolving
- the options passed to the trait. A sample execution of this trait, using the Kafka
- backend (the only one supported at the moment), would require the following trait
- options: -t resume.enabled=true -t resume.resume-path=camel-file-sets -t resume.resume-server="address-of-your-kafka:9092"'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait.
- - name: resume-strategy,omitempty
- type: string
- description: The type of the resume strategy to use
- - name: resume-path,omitempty
- type: string
- description: The path used by the resume strategy (this is specific to the resume
- strategy type)
- - name: resume-server,omitempty
- type: string
- description: The address of the resume server to use (protocol / implementation
- specific)
- - name: cache-fill-policy,omitempty
- type: string
- description: 'The adapter-specific policy to use when filling the cache (use:
- minimizing / maximizing). Check the component documentation if unsure'
-- name: route
- platform: false
- profiles:
- - OpenShift
- description: 'The Route trait can be used to configure the creation of OpenShift
- routes for the integration. The certificate and key contents may be sourced either
- from the local filesystem or in a OpenShift `secret` object. The user may use
- the parameters ending in `-secret` (example: `tls-certificate-secret`) to reference
- a certificate stored in a `secret`. Parameters ending in `-secret` have higher
- priorities and in case the same route parameter is set, for example: `tls-key-secret`
- and `tls-key`, then `tls-key-secret` is used. The recommended approach to set
- the key and certificates is to use `secrets` to store their contents and use the
- following parameters to reference them: `tls-certificate-secret`, `tls-key-secret`,
- `tls-ca-certificate-secret`, `tls-destination-ca-certificate-secret` See the examples
- section at the end of this page to see the setup options.'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: annotations
- type: map[string]string
- description: 'The annotations added to route. This can be used to set route specific
- annotations For annotations options see https://docs.openshift.com/container-platform/3.11/architecture/networking/routes.html#route-specific-annotations
- CLI usage example: -t "route.annotations.''haproxy.router.openshift.io/balance''=true"'
- - name: host
- type: string
- description: To configure the host exposed by the route.
- - name: tls-termination
- type: string
- description: The TLS termination type, like `edge`, `passthrough` or `reencrypt`. Refer
- to the OpenShift route documentation for additional information.
- - name: tls-certificate
- type: string
- description: The TLS certificate contents. Refer to the OpenShift route documentation
- for additional information.
- - name: tls-certificate-secret
- type: string
- description: The secret name and key reference to the TLS certificate. The format
- is "secret-name[/key-name]", the value represents the secret name, if there
- is only one key in the secret it will be read, otherwise you can set a key name
- separated with a "/". Refer to the OpenShift route documentation for additional
- information.
- - name: tls-key
- type: string
- description: The TLS certificate key contents. Refer to the OpenShift route documentation
- for additional information.
- - name: tls-key-secret
- type: string
- description: The secret name and key reference to the TLS certificate key. The
- format is "secret-name[/key-name]", the value represents the secret name, if
- there is only one key in the secret it will be read, otherwise you can set a
- key name separated with a "/". Refer to the OpenShift route documentation for
- additional information.
- - name: tls-ca-certificate
- type: string
- description: The TLS CA certificate contents. Refer to the OpenShift route documentation
- for additional information.
- - name: tls-ca-certificate-secret
- type: string
- description: The secret name and key reference to the TLS CA certificate. The
- format is "secret-name[/key-name]", the value represents the secret name, if
- there is only one key in the secret it will be read, otherwise you can set a
- key name separated with a "/". Refer to the OpenShift route documentation for
- additional information.
- - name: tls-destination-ca-certificate
- type: string
- description: The destination CA certificate provides the contents of the ca certificate
- of the final destination. When using reencrypt termination this file should
- be provided in order to have routers use it for health checks on the secure
- connection. If this field is not specified, the router may provide its own destination
- CA and perform hostname validation using the short service name (service.namespace.svc),
- which allows infrastructure generated certificates to automatically verify. Refer
- to the OpenShift route documentation for additional information.
- - name: tls-destination-ca-certificate-secret
- type: string
- description: The secret name and key reference to the destination CA certificate.
- The format is "secret-name[/key-name]", the value represents the secret name,
- if there is only one key in the secret it will be read, otherwise you can set
- a key name separated with a "/". Refer to the OpenShift route documentation
- for additional information.
- - name: tls-insecure-edge-termination-policy
- type: string
- description: To configure how to deal with insecure traffic, e.g. `Allow`, `Disable`
- or `Redirect` traffic. Refer to the OpenShift route documentation for additional
- information.
-- name: service
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: The Service trait exposes the integration with a Service resource so
- that it can be accessed by other applications (or integrations) in the same namespace.
- It's enabled by default if the integration depends on a Camel component that can
- expose a HTTP endpoint.
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: To automatically detect from the code if a Service needs to be created.
- - name: node-port
- type: bool
- description: 'Enable Service to be exposed as NodePort (default `false`). Deprecated:
- Use service type instead.'
- - name: type
- type: github.com/apache/camel-k/v2/pkg/apis/camel/v1/trait.ServiceType
- description: The type of service to be used, either 'ClusterIP', 'NodePort' or
- 'LoadBalancer'.
-- name: service-binding
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Service Binding trait allows users to connect to Services in Kubernetes:
- https://github.com/k8s-service-bindings/spec#service-binding As the specification
- is still evolving this is subject to change.'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: services
- type: '[]string'
- description: List of Services in the form [[apigroup/]version:]kind:[namespace/]name
-- name: telemetry
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'The Telemetry trait can be used to automatically publish tracing information
- to an OTLP compatible collector. The trait is able to automatically discover the
- telemetry OTLP endpoint available in the namespace (supports **Jaerger** in version
- 1.35+). The Telemetry trait is disabled by default. WARNING: The Telemetry trait
- can''t be enabled at the same time as the Tracing trait.'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait, including automatic
- discovery of the telemetry endpoint.
- - name: service-name
- type: string
- description: The name of the service that publishes telemetry data (defaults to
- the integration name)
- - name: endpoint
- type: string
- description: The target endpoint of the Telemetry service (automatically discovered
- by default)
- - name: sampler
- type: string
- description: The sampler of the telemetry used for tracing (default "on")
- - name: sampler-ratio
- type: string
- description: The sampler ratio of the telemetry used for tracing
- - name: sampler-parent-based
- type: bool
- description: The sampler of the telemetry used for tracing is parent based (default
- "true")
-- name: toleration
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'This trait sets Tolerations over Integration pods. Tolerations allow
- (but do not require) the pods to schedule onto nodes with matching taints. See
- https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
- for more details. The toleration should be expressed in a similar manner that
- of taints, i.e., `Key[=Value]:Effect[:Seconds]`, where values in square brackets
- are optional. For examples: - `node-role.kubernetes.io/master:NoSchedule` - `node.kubernetes.io/network-unavailable:NoExecute:3000`
- - `disktype=ssd:PreferNoSchedule` It''s disabled by default.'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: taints
- type: '[]string'
- description: The list of taints to tolerate, in the form `Key[=Value]:Effect[:Seconds]`
-- name: tracing
- platform: false
- profiles:
- - Kubernetes
- - Knative
- - OpenShift
- description: 'WARNING: The Tracing trait has been **deprecated** in favor of the
- xref:traits:telemetry.adoc[Telemetry] trait. The Tracing trait can be used to
- automatically publish tracing information to an OpenTracing compatible collector.
- The trait is able to automatically discover the tracing endpoint available in
- the namespace (supports **Jaeger**). The Tracing trait is disabled by default.
- WARNING: The Tracing trait can''t be enabled at the same time as the Telemetry
- trait.'
- properties:
- - name: enabled
- type: bool
- description: Can be used to enable or disable a trait. All traits share this common
- property.
- - name: auto
- type: bool
- description: Enables automatic configuration of the trait, including automatic
- discovery of the tracing endpoint.
- - name: service-name
- type: string
- description: The name of the service that publishes tracing data (defaults to
- the integration name)
- - name: endpoint
- type: string
- description: The target endpoint of the OpenTracing service (automatically discovered
- by default)
- - name: sampler-type
- type: string
- description: The sampler type (default "const")
- - name: sampler-param
- type: string
- description: The sampler specific param (default "1")
diff --git a/pkg/resources/resources_support.go b/pkg/resources/resources_support.go
index 7ff6b5600..605d24f4f 100644
--- a/pkg/resources/resources_support.go
+++ b/pkg/resources/resources_support.go
@@ -38,9 +38,7 @@ var resources embed.FS
func Resource(name string) ([]byte, error) {
name = strings.Trim(name, " ")
name = filepath.ToSlash(name)
- if strings.HasPrefix(name, "/") {
- name = name[1:]
- }
+ name = strings.TrimPrefix(name, "/")
file, err := resources.Open(name)
if err != nil {
@@ -96,9 +94,7 @@ func DirExists(dirName string) bool {
// WithPrefix lists all file names that begins with the give path prefix
// If pathPrefix is a path of directories then be sure to end it with a '/'.
func WithPrefix(pathPrefix string) ([]string, error) {
- if strings.HasPrefix(pathPrefix, "/") {
- pathPrefix = pathPrefix[1:]
- }
+ pathPrefix = strings.TrimPrefix(pathPrefix, "/")
dirPath := filepath.Dir(pathPrefix)
paths, err := Resources(dirPath)
if err != nil {
@@ -118,12 +114,9 @@ func WithPrefix(pathPrefix string) ([]string, error) {
// Resources lists all file names in the given path.
func Resources(dirName string) ([]string, error) {
dirName = filepath.ToSlash(dirName)
- if strings.HasPrefix(dirName, "/") {
- dirName = dirName[1:]
- }
- if strings.HasSuffix(dirName, "/") {
- dirName = dirName[:len(dirName)-1]
- }
+ dirName = strings.TrimPrefix(dirName, "/")
+ dirName = strings.TrimSuffix(dirName, "/")
+
dir, err := resources.Open(dirName)
if err != nil {
if os.IsNotExist(err) {
diff --git a/pkg/resources/resources_test.go b/pkg/resources/resources_test.go
index ac3c26fcd..05d1ed9d5 100644
--- a/pkg/resources/resources_test.go
+++ b/pkg/resources/resources_test.go
@@ -113,7 +113,6 @@ func TestResourcesWithPrefix(t *testing.T) {
NoErrorAndContains(t, "/config/manager/", "config/manager/operator-service-account.yaml", WithPrefix)
NoErrorAndContains(t, "/config/manager/op", "config/manager/operator-service-account.yaml", WithPrefix)
NoErrorAndContains(t, "/config/manager/operator-service-account", "config/manager/operator-service-account.yaml", WithPrefix)
- NoErrorAndContains(t, "/resources/traits", "resources/traits.yaml", WithPrefix)
// directory needs the slash on the end
NoErrorAndNotContains(t, "/config/manager", "config/manager/operator-service-account.yaml", WithPrefix)
diff --git a/script/Makefile b/script/Makefile
index 00e73ee6e..e6b06e27a 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -607,10 +607,10 @@ $(BUNDLE_CAMEL_APIS): operator-sdk
@# Remove the camel directory and re-copy only the required api
rm -rf api_$@/camel/* && cp -rf pkg/apis/camel/$@ api_$@/camel/
@# operator-sdk generate ... cannot execute across separate modules so need to temporarily move api
- $(OPERATOR_SDK) generate kustomize manifests --apis-dir $(addprefix api_, $@) -q
+ $(OPERATOR_SDK) generate kustomize manifests --apis-dir $(addprefix api_, $@) -q --input-dir $(MANIFESTS) --output-dir $(MANIFESTS)
@# Adds the licence header to the csv file.
- ./script/add_license.sh pkg/resources/config/manifests/bases ./script/headers/yaml.txt
- ./script/add_createdAt.sh pkg/resources/config/manifests/bases
+ ./script/add_license.sh $(MANIFESTS)/bases ./script/headers/yaml.txt
+ ./script/add_createdAt.sh $(MANIFESTS)/bases
@# Clean up temporary working api directories
rm -rf api_*