{"action":"reopened","issue":{"url":"https://api.github.com/repos/zalando/patroni/issues/878","repository_url":"https://api.github.com/repos/zalando/patroni","labels_url":"https://api.github.com/repos/zalando/patroni/issues/878/labels{/name}","comments_url":"https://api.github.com/repos/zalando/patroni/issues/878/comments","events_url":"https://api.github.com/repos/zalando/patroni/issues/878/events","html_url":"https://github.com/zalando/patroni/issues/878","id":384092470,"node_id":"MDU6SXNzdWUzODQwOTI0NzA=","number":878,"title":"Bootstrap pg_hba for system app, postgresql pg_hba for user app","user":{"login":"patsevanton","id":10828883,"node_id":"MDQ6VXNlcjEwODI4ODgz","avatar_url":"https://avatars2.githubusercontent.com/u/10828883?v=4","gravatar_id":"","url":"https://api.github.com/users/patsevanton","html_url":"https://github.com/patsevanton","followers_url":"https://api.github.com/users/patsevanton/followers","following_url":"https://api.github.com/users/patsevanton/following{/other_user}","gists_url":"https://api.github.com/users/patsevanton/gists{/gist_id}","starred_url":"https://api.github.com/users/patsevanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patsevanton/subscriptions","organizations_url":"https://api.github.com/users/patsevanton/orgs","repos_url":"https://api.github.com/users/patsevanton/repos","events_url":"https://api.github.com/users/patsevanton/events{/privacy}","received_events_url":"https://api.github.com/users/patsevanton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-25T16:03:43Z","updated_at":"2018-11-27T06:05:41Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\nI have idea. Please will think about it:\r\n\r\n```yaml\r\nbootstrap:\r\n  pg_hba:\r\n    - host replication replicator 192.168.88.91/32 md5\r\n    - host replication replicator 192.168.88.90/32 md5\r\n    - host replication replicator 192.168.88.89/32 md5\r\n\r\npostgresql:\r\n  pg_hba:\r\n    - host test1 test2 192.168.1.1/32 md5\r\n```\r\nI run cluster with bootstrap pg_hba.\r\nBut later (may when i restart patroni service) pg_hba changed.\r\n2 places where you can declare pg_hba confusing.\r\n\r\nCan create feature bootstrap pg_hba for system app, postgresql pg_hba for user app?\r\nFinal pg_hba merge bootstrap pg_hba and postgresql pg_hba.\r\n\r\n![](https://habrastorage.org/webt/sr/ny/_4/srny_4ytxzeyamido2heglxkwa0.png)\r\n\r\n![](https://habrastorage.org/webt/ul/gw/p8/ulgwp89g35yp2ci4mtdsz6-qc_g.png)"}}
{"actor":{"display_login":"patsevanton"}}