The configuration.py now additionally checks if the env var CENSUS_REPORTING_ENABLED is set and update the netbox settings accordingly.
Contrast to Current Behavior
Before, wanting to change this behaviour required mounting an additional configuration file into the container.
Discussion: Benefits and Drawbacks
This is a simple quality-of-deployment PR to make deployments easier that wish to opt out of the consensus data reporting.
This PR is backwards-compatible, as the configuration option is only set if the environment variable is present, which should not be the case for current deployments.
When looking over the changes and you have additional suggestions, please feel free to point them out, for example if you wanted this environment variable to be added to netbox.env
Changes to the Wiki
None
Proposed Release Note Entry
Allow configuration of CENSUS_REPORTING_ENABLED via env vars.
Double Check
[x] I have read the comments and followed the PR template.
[x] I have explained my PR according to the information in the comments.
Related Issue: #999
New Behavior
The configuration.py now additionally checks if the env var CENSUS_REPORTING_ENABLED is set and update the netbox settings accordingly.
Contrast to Current Behavior
Before, wanting to change this behaviour required mounting an additional configuration file into the container.
Discussion: Benefits and Drawbacks
This is a simple quality-of-deployment PR to make deployments easier that wish to opt out of the consensus data reporting. This PR is backwards-compatible, as the configuration option is only set if the environment variable is present, which should not be the case for current deployments.
When looking over the changes and you have additional suggestions, please feel free to point them out, for example if you wanted this environment variable to be added to netbox.env
Changes to the Wiki
None
Proposed Release Note Entry
Allow configuration of CENSUS_REPORTING_ENABLED via env vars.
Double Check
develop
branch.