camel-k

by QuenchWorks

Helm chartv0.0.10App 2.11.0Apache-2.0Verified publisher

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

KeyDefaultNotes
registry.address""registry integration images are pushed to; required on Kubernetes
registry.insecurefalseplain HTTP registry (testing only)
registry.secret""Secret with registry credentials
registry.organization""repository prefix in the registry
watchAnyNamespacefalsefalse watches the release namespace only (Role)
operatorIdcamel-kvalue of the camel.apache.org/operator.id annotation it owns
logLevelinfodebug, info or error
resources512Mi to 2Gibuilds 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 IntegrationPlatform resource in favour of operator environment variables, which is what the registry.* values set. An IntegrationPlatform you create does not inherit them, and its create step fails while a CamelCatalog for 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); set BUILD_BASE_IMAGE in extraEnvVars to use another JDK image, for example the QuenchWorks jre.
  • 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 new crds/camel-k-crds.yaml by 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartcamel-k is pinned at v0.0.10 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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