Saltstack Official Galera Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2KB

  1. parameters:
  2. _param:
  3. galera_server_cluster_name: galeracluster
  4. galera_server_bind_port: 3306
  5. galera_server_admin_user: root
  6. kubernetes:
  7. control:
  8. configmap:
  9. galera-master:
  10. grains:
  11. os_family: Debian
  12. pillar:
  13. galera:
  14. master:
  15. enabled: true
  16. name: ${_param:galera_server_cluster_name}
  17. bind:
  18. address: 0.0.0.0
  19. port: ${_param:galera_server_bind_port}
  20. maintenance_password: ${_param:galera_server_maintenance_password}
  21. admin:
  22. user: ${_param:galera_server_admin_user}
  23. password: ${_param:galera_server_admin_password}
  24. members:
  25. - host: ${_param:mysql_service_host01}
  26. port: 4567
  27. - host: ${_param:mysql_service_host02}
  28. port: 4567
  29. - host: ${_param:mysql_service_host03}
  30. port: 4567
  31. mysql:
  32. server:
  33. users:
  34. - name: haproxy
  35. host: localhost
  36. - name: haproxy
  37. host: '%'