openstack-helm/gnocchi/templates/bin
Marcus 57b3aece1f Fixes gnocchi with postgresql deployment if running on different hosts
a) The db-init method ignores the configured admin password.

This seems to work if db-init was scheduled to the same host as
postgresql is running on but fails on a remote connection. This change
sets the PGPASSWORD variable to the provided admin password.

b) Fixed liveness and readiness probe for postgresql

While this seems to work it continously outputs the message
"psql: FATAL: role "root" does not exist"

This change adds the admin username as argument to pg_isready
to stop this message.

Update: Making the linter happy ;-)

Change-Id: I59b47a8724065d08203c29172c15350aaa785203
Closes-Bug: #1749177
2018-02-19 11:18:52 -05:00
..
_ceph-admin-keyring.sh.tpl Telemetry: add gnocchi chart 2017-10-03 21:56:26 +00:00
_ceph-keyring.sh.tpl Telemetry: add gnocchi chart 2017-10-03 21:56:26 +00:00
_clean-secrets.sh.tpl Gnocchi: many chart fixes 2017-12-28 20:43:37 -05:00
_db-init.sh.tpl Fixes gnocchi with postgresql deployment if running on different hosts 2018-02-19 11:18:52 -05:00
_db-sync.sh.tpl Telemetry: add gnocchi chart 2017-10-03 21:56:26 +00:00
_gnocchi-api.sh.tpl Telemetry: add gnocchi chart 2017-10-03 21:56:26 +00:00
_gnocchi-metricd.sh.tpl Telemetry: add gnocchi chart 2017-10-03 21:56:26 +00:00
_gnocchi-statsd.sh.tpl Telemetry: add gnocchi chart 2017-10-03 21:56:26 +00:00
_gnocchi-test.sh.tpl Telemetry: add gnocchi chart 2017-10-03 21:56:26 +00:00
_storage-init.sh.tpl Change the check method for the ceph ods version 2018-02-13 14:52:20 +00:00