For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuring the Broker Cluster Secret

Configure a broker cluster secret for the connectware Helm chart to control how broker nodes authenticate when forming a cluster.

The broker cluster secret is a shared credential that broker nodes use to authenticate with each other when forming a cluster and when new nodes join an existing cluster. By default, the connectware Helm chart generates a random secret at install time and reuses it for the lifetime of the installation. You can override this default with a value of your choice or with a Kubernetes Secret you manage yourself.

You cannot change the cluster secret while the broker is running

Choosing a Configuration Method

You have the following options for configuring the broker cluster secret. Choose the method that best fits your security and operational requirements:

  • Method 1 — Auto-generated secret (recommended for most installations): Helm generates a cryptographically secure random value at install time. No configuration is required.

  • Method 2 — Custom value in values.yaml: You provide the secret as plain text in your Helm values. Suitable for development and test environments.

  • Method 3 — Existing Kubernetes Secret: You create a Kubernetes Secret yourself and reference it from your Helm values. Suitable for production environments that use external secret management or GitOps workflows.

If you set both broker.clusterSecret and broker.existingClusterSecret, broker.existingClusterSecret takes priority. The secret value must be at least 5 characters long.

Auto-Generated Secret

Leave both broker.clusterSecret and broker.existingClusterSecret unset in your values.yaml file. Helm generates a random secret during installation and stores it in a Kubernetes Secret that persists across upgrades.

Requires live cluster access

To retrieve the auto-generated secret later, run:

kubectl get secret \
  --namespace ${NAMESPACE} \
  --selector app.kubernetes.io/name=broker-cluster-secret \
  --output yaml

Replace ${NAMESPACE} with the namespace of your Connectware installation.

Last updated

Was this helpful?