activemq-artemis

by QuenchWorks

Helm chartv0.0.11App 2.57.0Apache-2.0Verified publisher

Apache Artemis (formerly ActiveMQ Artemis), the multi-protocol Java message broker (CORE, AMQP, STOMP, MQTT, OpenWire), as a StatefulSet with its journal on a PVC, login required with a generated admin password and the web console behind a port-forward. Hardened by QuenchWorks, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Apache Artemis

Apache Artemis (formerly ActiveMQ Artemis) is a multi-protocol Java message broker: CORE, AMQP, STOMP, MQTT and OpenWire, with an append-only journal and paging to disk. This chart runs one broker on the QuenchWorks activemq-artemis 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-artemis
kubectl get secret mq-activemq-artemis -o jsonpath='{.data.password}' | base64 -d

Clients connect to tcp://mq-activemq-artemis:61616 as admin with that password. That one acceptor speaks every protocol.

Auth

The image requires login and ships no users. This chart writes one admin user with a generated password (kept across upgrades) into artemis-users.properties, and gives it role amq, which the web console needs.

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

Values

KeyDefaultMeaning
auth.username / auth.passwordadmin / generatedthe one admin user
auth.existingSecret""a Secret with artemis-users.properties and artemis-roles.properties
connectors.amqp / .stomp / .mqttfalseadd the protocol ports 5672, 61613, 1883 to the Service
persistence.*8Gi PVCjournal, paging, large messages and logs under /data
tls.enabledfalseevery acceptor (61616 and the protocol ports) speaks SSL, none stays plain; clients add sslEnabled=true&trustStoreType=PEM&trustStorePath=<ca.crt>
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
busybox.digest(pinned)init container that writes the PKCS#8 PEM keystore

The chart mounts only the users and roles files over the image's etc/; the broker configuration is the one artemis create wrote. It runs one broker; clustering and replication are not wired up.

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

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

Deploy activemq-artemis with OpenTenant

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