Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENV Substitution #1

Open
ProbablePrime opened this issue Feb 19, 2024 · 1 comment
Open

ENV Substitution #1

ProbablePrime opened this issue Feb 19, 2024 · 1 comment

Comments

@ProbablePrime
Copy link
Member

The following two items here don't support ENV var substitution:

  1. Prometheus' scrape config: https://github.com/Yellow-Dog-Man/monitoring-compose/blob/beep/prometheus/prometheus.yml
  2. Dmarc's inbox config: https://github.com/Yellow-Dog-Man/monitoring-compose/blob/beep/dmarc-reporting/resonite/dmarc-metrics-exporter.json

Therefore I keep getting git conflicts when working with this because the production source has those filled out.

Prometheus is very adamant in it's stance of not adding env substitution to its stack. so https://linuxhandbook.com/envsubst-command/ might be a good approach. for that.

As for DMarc, I'll probably see if I can PR the support.

@ProbablePrime
Copy link
Member Author

prometheus added a "password file" function that allows me to replace passwords with files that contain the passwords. This solved the prometheus one.

As for Dmarc still need to get that sorted.

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

No branches or pull requests

1 participant