activemq

by QuenchWorks

Helm chartv0.0.15App 6.3.3Apache-2.0Verified publisher

Apache ActiveMQ Classic, the Java message broker (JMS, OpenWire, AMQP, STOMP, MQTT), as a StatefulSet with KahaDB on a PVC, password auth on by default and the web console behind a port-forward. Hardened by QuenchWorks, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Apache ActiveMQ Classic

ActiveMQ Classic is the Java message broker: JMS over OpenWire, plus AMQP, STOMP and MQTT connectors, with KahaDB persistence. This chart runs one broker on the QuenchWorks activemq image: the official distribution on a Wolfi JRE, nonroot, read-only root filesystem, 0 fixable CVEs, cosign-signed and pinned by digest.

Install

helm install mq oci://ghcr.io/quenchworks/charts/activemq
kubectl get secret mq-activemq -o jsonpath='{.data.password}' | base64 -d

Clients connect to tcp://mq-activemq:61616 as admin with that password.

Auth

Upstream ships the broker open. This chart turns on simpleAuthenticationPlugin with one admin user and a generated password (kept across upgrades), and gives the web console the same user through its JAAS realm, so no default password is left. auth.enabled: false restores upstream's open broker.

The web console (:8161/admin) accepts loopback clients only, upstream's default. Reach it with kubectl port-forward mq-activemq-0 8161.

Values

KeyDefaultMeaning
auth.enabledtruepassword auth for the broker and console
auth.username / auth.passwordadmin / generatedthe one admin user
auth.existingSecret""a Secret with the keys this chart writes
connectors.amqp / .stomp / .mqttfalseextra connectors (OpenWire is always on)
storeLimit / tempLimit6 gb / 1 gbKahaDB limits; keep them under persistence.size
persistence.*8Gi PVCKahaDB and logs under /data
tls.enabledfalseevery connector switches to its +ssl scheme on the same port (clients use ssl://host:61616, trust ca.crt); PKCS12 from an openssl init container
tls.existingSecret""a kubernetes.io/tls Secret to use (1st choice)
tls.certManager.enabledfalserequest a cert-manager Certificate from tls.certManager.issuerRef (2nd choice)
tls.selfSigned.validityDays365otherwise Helm generates a CA + certificate, kept across upgrades
openssl.digest(pinned)init container that builds the PKCS12 keystore

The chart mounts only activemq.xml and the auth files over the image's conf/; the rest of the upstream configuration stays as shipped. It runs one broker; network-of-brokers and shared-store failover are not wired up.

The release gate installs the chart on kind, produces persistent messages as the admin with ActiveMQ's CLI, requires a wrong password to be refused, deletes the pod, and consumes every message back from KahaDB.

The chart depends on the quench-common chart from oci://ghcr.io/quenchworks/charts.

Deploy activemq with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has activemq 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 chartactivemq is pinned at v0.0.15 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