PAS-X RabbitMQ Cluster Values Schema
Schema for PAS-X RabbitMQ Cluster values
This configuration defines values for setting up RabbitMQ in the PAS-X MES system environment.
The chart mainly creates and configures a RabbitmqCluster custom resource (CR) to manage the RabbitMQ cluster.
Additionally, it creates other resources such as an Ingress to expose the RabbitMQ Management UI.
Examples
General Configuration
# Number of RabbitMQ replicas
replicas: 3
# Service configuration for RabbitMQ
service:
# Service type for RabbitMQ services (ClusterIP, NodePort, LoadBalancer)
type: NodePort
# NodePorts for RabbitMQ AMQP(S) services
ports:
amqpNodePort: 30672 # AMQP / 5672
amqpsNodePort: 30671 # AMQPS / 5671
# Resource requests and limits for RabbitMQ pods
resources:
cpu: "1"
memory: "2Gi"
# Storage configuration for RabbitMQ data
persistence:
className: "<custom-class-name>"
# RabbitMQ user authentication settings
auth:
credentials:
# Name of a pre-existing Kubernetes Secret containing the RabbitMQ credentials
secretName: "rabbitmq-default-user"
tls:
# TLS configuration for RabbitMQ communication
enabled: true
# Kubernetes Secret containing the TLS certificates
secretName: "rabbitmq-tls-secret"
# Ingress configuration (without TLS)
ingress:
enabled: true
host: "<ingress-host>"
path: "/rabbitmq/"
className: "custom-class-name"
customAnnotations: {}
Ingress Configuration
TLS Configuration
Kubernetes Ingress
For Kubernetes Ingress only, choose either automatic issuance using certManager.issuerRef or a separately managed TLS Secret.
Do not combine these chart configuration methods; a separately managed Secret can itself be issued by cert-manager.
|
If the same TLS configuration (same secret references or cert-manager settings) applies to all Ingresses in the installation, consider moving this configuration to the global values file to avoid redundancy. |
ingress:
tls:
enabled: true
certManager:
enabled: true
issuerRef:
name: "<cert-manager-cluster-issuer-name>"
kind: "ClusterIssuer"
ingress:
tls:
enabled: true
certManager:
enabled: true
issuerRef:
name: "<cert-manager-issuer-name>"
kind: "Issuer"
ingress:
tls:
enabled: true
secretName: "<tls-secret-name>"
certManager:
enabled: false
OpenShift Routes
On OpenShift, provide an explicit ingress.tls.secretName and disable chart-managed automatic issuance.
The customer can manage explicit cert-manager Certificate resources to issue and renew the Secret, or provision and renew it manually.
Certificate issuance is separate from Route configuration; do not use cert-manager issuer annotations on Routes.
Route references the Secret through spec.tls.externalCertificate; the Secret must be in the same namespace as the Route and readable by the OpenShift router ServiceAccount.
Use ingress.tls.openshift.routerServiceAccountName and routerNamespace if the router identity differs from the defaults.
This configuration is separate from RabbitMQ communication TLS under auth.tls.
ingress:
enabled: true
tls:
enabled: true
secretName: "<tls-secret-name>"
certManager:
enabled: false
RabbitMQ Communication TLS
service:
type: NodePort
ports:
amqpNodePort: 30672
amqpsNodePort: 30671
auth:
tls:
enabled: true
secretName: "<tls-secret-name>"
service:
type: NodePort
ports:
amqpNodePort: 30672
amqpsNodePort: 30671
auth:
tls:
enabled: true
autoGenerated: true
Logging and Additional RabbitMQ Configuration
# RabbitMQ logging settings
log:
# Console log level (debug, info, warning, error, critical, none)
level: "info"
# Additional RabbitMQ configuration as key-value pairs
# These are passed directly to RabbitMQ's additionalConfig
additionalConfig:
# Default max_message_size (128MB) supports large MBR imports
max_message_size: "134217728"
# Example: Set file log level separately from console
log.file.level: "error"
# Example: Configure consumer timeout (in milliseconds)
consumer_timeout: "1800000"
|
The |
Additional RabbitMQ Configuration
Additional RabbitMQ configuration parameters as key-value pairs. These are passed directly to RabbitMQ additionalConfig to support large MBR imports. Can also be used for additional log settings like log.file.level.
Key |
|
Type |
object |
Required |
No |
Default |
|
Authentication Settings
RabbitMQ user authentication settings.
Key |
|
Type |
object |
Required |
Yes |
Properties |
User Credentials
Reference to Kubernetes Secret holding RabbitMQ admin credentials.
Key |
|
Type |
object |
Required |
No |
Properties |
|
Broker TLS Settings
TLS configuration for the messaging broker listeners (e.g. AMQPS).
Key |
|
Type |
object |
Required |
No |
Properties |
Auto-generated self-signed TLS certificates
Generate automatically self-signed TLS certificates. Both the CA and the certificate will have 1 year of validity after installation.
Key |
|
Type |
boolean |
Required |
No |
Default |
|
Cluster name
The name for the cluster and its resources.
Key |
|
Type |
string |
Required |
No |
Default |
|
Image configuration
Configuration for the images used in the deployment.
|
If all images are hosted in the same registry take this configuration to the global values file to avoid redundant configuration. |
Key |
|
Type |
object |
Required |
Yes |
Properties |
|
List of Image Pull Secret Names
List of secret names used to authenticate when pulling images from a container registry
Key |
|
Type |
Array of string |
Required |
No |
Image Registry
The image registry to pull the images from.
Key |
|
Type |
string |
Required |
Yes |
Ingress Settings
RabbitMQ ingress settings.
Key |
|
Type |
object |
Required |
No |
Properties |
Ingress ClassName
The name of the Ingress controller class that should be used to handle the Ingress. This typically corresponds to the controller you are using (e.g. kong).
Key |
|
Type |
string |
Required |
No |
Default |
|
Custom Ingress annotations
Additional annotations to apply to the generated Ingress resource. Must be a map of string keys to string values.
Please consult your Ingress Controller documentation for the correct key/value syntax.
Key |
|
Type |
object |
Required |
No |
Enable Ingress
Enable Ingress for RabbitMQ management UI.
Key |
|
Type |
boolean |
Required |
No |
Default |
|
Ingress Host
Host for the Ingress. If empty, no hostname is used.
Key |
|
Type |
string |
Required |
No |
Default |
"" |
Ingress Path
Path prefix used for routing requests to the RabbitMQ management UI via the Ingress. If a custom path is defined, it must include a trailing /, for example /custompath/. The trailing slash is required because the value is also used as the RabbitMQ management.path_prefix setting, which expects the prefix to end with /.
Key |
|
Type |
string |
Required |
No |
Default |
|
TLS Settings
TLS configuration for the generated Kubernetes Ingress or OpenShift Route. Kubernetes Ingresses support an existing TLS Secret or automatic certificate provisioning via cert-manager. For OpenShift Routes, customers must provide and maintain the configured TLS Secret, either through explicit cert-manager Certificate resources or their own certificate management process.
|
If the same TLS configuration applies to multiple applications, consider moving it to the global values file to avoid redundancy. |
Key |
|
Type |
object |
Required |
No |
Properties |
cert-manager Settings
Optional cert-manager integration for automatic certificate issuance and renewal through Kubernetes Ingress resources. These settings do not configure certificate issuance for OpenShift Routes or create Certificate resources for them. On OpenShift, set enabled=false and manage the configured TLS Secret separately.
Key |
|
Type |
object |
Required |
No |
Properties |
Enable cert-manager
Enable cert-manager integration for the generated Kubernetes Ingress. When enabled on Kubernetes, the TLS Secret name is <helm-chart-fullname>-tls. Set to false for OpenShift Routes, including when managing an explicit cert-manager Certificate resource. Enabling this setting on OpenShift does not request a certificate.
Key |
|
Type |
boolean |
Required |
No |
Default |
|
cert-manager Issuer Reference
Issuer reference used for certificate issuance through annotations on the generated Kubernetes Ingress. Not used for OpenShift Route certificate issuance. Must be set when TLS and cert-manager integration are enabled.
Key |
|
Type |
object |
Required |
No |
Properties |
Issuer Reference Kind
Kind of the cert-manager issuer resource for the Kubernetes Ingress certificate. Supported values are Issuer and ClusterIssuer. The chart adds the corresponding issuer annotation to Kubernetes Ingress resources, not OpenShift Routes.
Key |
|
Type |
string |
Required |
No |
Default |
|
Enum |
|
Issuer Reference Name
Name of the cert-manager issuer resource for the Kubernetes Ingress certificate. Must not be empty when TLS and cert-manager integration are enabled. This setting does not configure certificate issuance for OpenShift Routes.
Key |
|
Type |
string |
Required |
No |
Enable TLS
Enable TLS for the generated Kubernetes Ingress or OpenShift Route.
Key |
|
Type |
boolean |
Required |
No |
Default |
|
OpenShift Settings
Configuration for the OpenShift ingress router ServiceAccount that must read TLS Secrets referenced by Route.spec.tls.externalCertificate.
Key |
|
Type |
object |
Required |
No |
Properties |
TLS Secret Name
Name of the Kubernetes TLS Secret used for the endpoint. On Kubernetes, required when certManager.enabled=false and ignored when certManager.enabled=true.
On OpenShift, always required when TLS is enabled. Customers must provide and maintain this Secret in the application’s namespace.
Key |
|
Type |
string |
Required |
No |
Persistence Storage Settings
RabbitMQ cluster storage settings.
Key |
|
Type |
object |
Required |
No |
Properties |
Pod Scheduling Configuration
Configuration for how pods are scheduled on nodes.
|
Take this configuration to the global values file to avoid redundant configuration and ensure consistency across all charts. |
Key |
|
Type |
object |
Required |
No |
Properties |
Number of rabbitmq cluster replicas
The number of replicas for the rabbitmq cluster.
Key |
|
Type |
integer |
Required |
No |
Default |
|
Resource Requests and Limits
Network service configuration
Configuration for the RabbitMQ network service.
Key |
|
Type |
object |
Required |
No |
Properties |
Service Ports
Per-port configuration for the RabbitMQ Kubernetes Service. Used to pin NodePort numbers for the AMQP and AMQPS listeners.
Key |
|
Type |
object |
Required |
No |
Properties |