Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Support referencing env vars in the postgresql configuration #41

Merged
merged 2 commits into from
Jul 30, 2019

Conversation

helgi
Copy link

@helgi helgi commented Jul 30, 2019

Adds support for referencing $DATABASE_HOSTNAME and similar env vars as the value of the configuration; the $ will be the trigger in this case and checks the environment if the key exists before using it, otherwise falling back on the value given. This then allows for hosts/users/pw and so on that would start with $

helgi added 2 commits July 29, 2019 17:01
Adds support for referencing `$DATABASE_HOSTNAME` and similar env vars as the value of the configuration; the `$` will be the trigger in this case and checks the environment if the key exists before using it, otherwise falling back on the value given. This then allows for hosts/users/pw and so on that would start with `$`
@Rockstar04 Rockstar04 merged commit 7a70149 into NewRelic-Python-Plugins:master Jul 30, 2019
@Rockstar04
Copy link
Member

This looks like a great quality of live improvement for users who need to deploy many agents!

Thanks for the contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants