diff --git a/internal/resource/configmap.go b/internal/resource/configmap.go index cc3c2c178..00aa2656b 100644 --- a/internal/resource/configmap.go +++ b/internal/resource/configmap.go @@ -33,7 +33,8 @@ cluster_formation.k8s.address_type = hostname cluster_formation.node_cleanup.interval = 30 cluster_formation.node_cleanup.only_log_warning = true cluster_partition_handling = pause_minority -queue_master_locator = min-masters` +queue_master_locator = min-masters +disk_free_limit.absolute = 2GB` defaultTLSConf = ` ssl_options.certfile = /etc/rabbitmq-tls/tls.crt diff --git a/internal/resource/configmap_test.go b/internal/resource/configmap_test.go index dfecf5e83..3c57e4e1b 100644 --- a/internal/resource/configmap_test.go +++ b/internal/resource/configmap_test.go @@ -96,6 +96,7 @@ cluster_formation.node_cleanup.interval = 30 cluster_formation.node_cleanup.only_log_warning = true cluster_partition_handling = pause_minority queue_master_locator = min-masters +disk_free_limit.absolute = 2GB cluster_name = ` + builder.Instance.Name + "\n" Expect(configMapBuilder.Update(configMap)).To(Succeed()) Expect(configMap.Data).To(HaveKeyWithValue("rabbitmq.conf", defaultRabbitmqConf)) @@ -117,6 +118,7 @@ cluster_formation.node_cleanup.interval = 30 cluster_formation.node_cleanup.only_log_warning = true cluster_partition_handling = pause_minority queue_master_locator = min-masters +disk_free_limit.absolute = 2GB cluster_name = ` + builder.Instance.Name + ` my-config-property-0 = great-value my-config-property-1 = better-value