Configurable max connections
diff --git a/galera/files/my.cnf b/galera/files/my.cnf
index a24e920..eb17afe 100644
--- a/galera/files/my.cnf
+++ b/galera/files/my.cnf
@@ -70,7 +70,7 @@
 skip_name_resolve
 memlock=0
 sysdate_is_now=1
-max_connections=2000
+max_connections={{ service.get('max_connections', 20000) }}
 thread_cache_size=512
 query_cache_type = 0
 query_cache_size = 0
diff --git a/galera/files/my.cnf.bootstrap b/galera/files/my.cnf.bootstrap
index 18f3a8c..150b4bf 100644
--- a/galera/files/my.cnf.bootstrap
+++ b/galera/files/my.cnf.bootstrap
@@ -70,7 +70,7 @@
 skip_name_resolve
 memlock=0
 sysdate_is_now=1
-max_connections=2000
+max_connections={{ service.get('max_connections', 20000) }}
 thread_cache_size=512
 query_cache_type = 0
 query_cache_size = 0
diff --git a/galera/files/my.cnf.init b/galera/files/my.cnf.init
index 91e2eda..f782ac9 100644
--- a/galera/files/my.cnf.init
+++ b/galera/files/my.cnf.init
@@ -70,7 +70,7 @@
 skip_name_resolve
 memlock=0
 sysdate_is_now=1
-max_connections=2000
+max_connections={{ service.get('max_connections', 20000) }}
 thread_cache_size=512
 query_cache_type = 0
 query_cache_size = 0