diff --git a/stable/rabbitmq-ha/Chart.yaml b/stable/rabbitmq-ha/Chart.yaml index f6af1d2a37..bb93a5b76d 100644 --- a/stable/rabbitmq-ha/Chart.yaml +++ b/stable/rabbitmq-ha/Chart.yaml @@ -1,7 +1,7 @@ name: rabbitmq-ha apiVersion: v1 appVersion: 3.7.8 -version: 1.16.1 +version: 1.17.0 description: Highly available RabbitMQ cluster, the open source message broker software that implements the Advanced Message Queuing Protocol (AMQP). keywords: diff --git a/stable/rabbitmq-ha/README.md b/stable/rabbitmq-ha/README.md index 392e09754f..8a2a768674 100644 --- a/stable/rabbitmq-ha/README.md +++ b/stable/rabbitmq-ha/README.md @@ -113,6 +113,7 @@ and their default values. | `rabbitmqCert.certfile` | base64 encoded server certificate (overwrites existing Secret) | `` | | `rabbitmqCert.existingSecret` | Name of an existing `Secret` to mount for amqps | `""` | | `rabbitmqCert.keyfile` | base64 encoded server private key (overwrites existing Secret) | `` | +| `rabbitmqClusterPartitionHandling` | [Automatic Partition Handling Strategy (split brain handling)](https://www.rabbitmq.com/partitions.html#automatic-handling) | `autoheal` | | `rabbitmqEpmdPort` | EPMD port used for cross cluster replication | `4369` | | `rabbitmqErlangCookie` | Erlang cookie | _random 32 character long alphanumeric string_ | | `rabbitmqHipeCompile` | Precompile parts of RabbitMQ using HiPE | `false` | diff --git a/stable/rabbitmq-ha/templates/configmap.yaml b/stable/rabbitmq-ha/templates/configmap.yaml index 3ca668fdf1..eed1db0077 100644 --- a/stable/rabbitmq-ha/templates/configmap.yaml +++ b/stable/rabbitmq-ha/templates/configmap.yaml @@ -65,7 +65,7 @@ data: # Set to false if automatic cleanup of absent nodes is desired. # This can be dangerous, see http://www.rabbitmq.com/cluster-formation.html#node-health-checks-and-cleanup. cluster_formation.node_cleanup.only_log_warning = true - cluster_partition_handling = autoheal + cluster_partition_handling = {{ .Values.rabbitmqClusterPartitionHandling }} ## The default "guest" user is only permitted to access the server ## via a loopback interface (e.g. localhost) diff --git a/stable/rabbitmq-ha/values.yaml b/stable/rabbitmq-ha/values.yaml index 0bdf1dc1c8..d90ff55457 100644 --- a/stable/rabbitmq-ha/values.yaml +++ b/stable/rabbitmq-ha/values.yaml @@ -158,6 +158,13 @@ rabbitmqAuth: # auth_mechanisms.2 = AMQPLAIN # auth_mechanisms.3 = EXTERNAL +## Automatic Partition Handling Strategy (split brain handling) +## Ref: https://www.rabbitmq.com/partitions.html#automatic-handling +## Note: pause-if-all-down is not supported without using a custom configmap since it requires extra +## configuration. + +rabbitmqClusterPartitionHandling: autoheal + ## Authentication backend ## Ref: https://github.com/rabbitmq/rabbitmq-auth-backend-http rabbitmqAuthHTTP: