Honor the "spec-by-example" manifest we have.

No longer ignore custom PostgreSQL and Patroni parameters and initdb
options. Since all Patroni parameters that are not under initdb or
pg_hba are specified as a plain map, there is no way to distinguish
those that should go into the bootstrap section from those that should
stay in the local configuration. As the example used only bootstrap
parameters, currently all such options go into the bootstrap section.

Also the initdb options are repsented as a map, while Patroni initdb
options are a list of either maps or strings (i.e. "data-checksums"
doesn't need an argument). For now, there is a work-around, but in the
future we might consider changing the spec.
This commit is contained in:
Oleksii Kliukin
2017-05-12 11:41:36 +02:00
committed by Murat Kabilov
parent 34ae324fe9
commit ec3f24c3ee
4 changed files with 139 additions and 31 deletions
Generated
+1 -1
View File
@@ -85,7 +85,7 @@ imports:
- name: github.com/kr/text
version: 7cafcd837844e784b526369c9bce262804aebc60
- name: github.com/lib/pq
version: 2704adc878c21e1329f46f6e56a1c387d788ff94
version: 0477eb88c5ca4009cb281f13c90633375b6a9987
subpackages:
- oid
- name: github.com/mailru/easyjson