Updated service args for postgres exporter to support configurable user/group args
This commit is contained in:
parent
ebc4daa188
commit
f3f7f504b0
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ postgres_exporter_service_unit:
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- defaults:
|
- defaults:
|
||||||
svc: postgres_exporter
|
svc: postgres_exporter
|
||||||
user: {{ prometheus.user }}
|
user: {{ prometheus.exporter.postgres.args.get('user', prometheus.user) }}
|
||||||
group: {{ prometheus.group }}
|
group: {{ prometheus.exporter.postgres.args.get('group', prometheus.group) }}
|
||||||
bin_path: {{ prometheus.exporter.postgres.version_path }}
|
bin_path: {{ prometheus.exporter.postgres.version_path }}
|
||||||
args: {{ prometheus.exporter.postgres.args.service_args }}
|
args: {{ prometheus.exporter.postgres.args.service_args }}
|
||||||
url: {{ prometheus.exporter.postgres.args.url }}
|
url: {{ prometheus.exporter.postgres.args.url }}
|
||||||
|
|
Loading…
Reference in a new issue