camel-k
by QuenchWorks
Apache Camel K operator: build and run Camel integrations on Kubernetes from CRDs (Integration, Pipe, Kamelet, IntegrationPlatform). Integration builds run inside the operator on the image's Wolfi OpenJDK 17 and Maven 3.9 and push to the registry you configure. Hardened by QuenchWorks, nonroot, CVE-gated, cosign-signed and pinned by digest.
About this chart
QuenchWorks Camel K
Apache Camel K builds and runs Apache Camel
integrations on Kubernetes from custom resources: Integration, Pipe,
Kamelet, IntegrationKit, Build and IntegrationPlatform. This chart
installs the Camel K 2.11.0 operator and its CRDs (in crds/). The operator
image is nonroot, 0 fixable CVEs, pinned by digest and cosign-signed. It is
kamel built from source on Wolfi OpenJDK 17 and Maven 3.9: integration builds
run inside the operator pod (Maven, then Jib), so the toolchain that compiles
your routes is the scanned one, and nothing downloads a Maven distribution at
runtime.
Install
Camel K pushes every integration image to a container registry, so set one:
helm install camel-k oci://ghcr.io/quenchworks/charts/camel-k \
-n camel-k --create-namespace \
--set registry.address=registry.example.com \
--set registry.secret=my-registry-credentials
Then run an integration in the same namespace:
apiVersion: camel.apache.org/v1
kind: Integration
metadata:
name: hello
spec:
flows:
- from:
uri: "timer:tick?period=5000"
steps:
- setBody:
constant: "Hello from Camel K"
- to: "log:info"
The first build downloads the Camel and Quarkus artifacts from Maven Central
into the operator's local repository (an emptyDir), so it takes a few minutes.
Values
| Key | Default | Notes |
|---|---|---|
registry.address | "" | registry integration images are pushed to; required on Kubernetes |
registry.insecure | false | plain HTTP registry (testing only) |
registry.secret | "" | Secret with registry credentials |
registry.organization | "" | repository prefix in the registry |
watchAnyNamespace | false | false watches the release namespace only (Role) |
operatorId | camel-k | value of the camel.apache.org/operator.id annotation it owns |
logLevel | info | debug, info or error |
resources | 512Mi to 2Gi | builds run in the operator pod; Maven needs the headroom |
extraEnvVars | [] | further operator settings (MAVEN_REPOSITORIES, BUILD_TIMEOUT_SECONDS, ...) |
Notes
- Configure by env, not by IntegrationPlatform. Camel K 2.11 deprecates the
IntegrationPlatformresource in favour of operator environment variables, which is what theregistry.*values set. AnIntegrationPlatformyou create does not inherit them, and its create step fails while aCamelCatalogfor its runtime already exists, so create it before the first build or not at all. - Integration pods run upstream's base image. Jib layers each integration on
eclipse-temurin:21-jdk(the operator default); setBUILD_BASE_IMAGEinextraEnvVarsto use another JDK image, for example the QuenchWorksjre. - The kubelet must be able to pull from
registry.address. An in-cluster registry reached by a Service name works for the push, not for the pull. - Helm installs CRDs from
crds/but never upgrades them. Apply the newcrds/camel-k-crds.yamlby hand when you upgrade the chart.
Deploy camel-k with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has camel-k on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcamel-k is pinned at v0.0.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply