Action needed: breaking changes in configuration handling.
This release adds a config file support, which allows for configuration of advanced options that would be hard to work with if expressed only via cli flags and/or environment variables.
An effort was made to keep all old env variables still working, but they are considered legacy and will be removed in the next release. There is no compatibility with old cli flags.
With new config file it's now possible to use new features:
- unsee can proxy client requests to the Alertmanager server, those are requests send when user submits a new silence via the silence form in unsee or clicks on the "delete" button on a silence
- it's possible to configure TLS settings for requests send from unsee to Alertmanager, including root CA certificates used and client certificate
See docs/CONFIGURATION.md for details on all changes to configuration handling.
There is also an example config file, see docs/example.yaml.
All merged pull requests:
- #212 Use bakelite to cross-compile binaries on Travis
- #225 Use decoded URI path partial for file paths
- #224 Add --version flag
- #223 Drop the path from v0.4 query args
- #222 Allow passing query args to HTTP requests send to the Alertmanager API
- #220 Vendor updates
- #221 Too many 'T' in NewHTTTPTransport
- #207 Add support for passing path to custom TLS CA cert & client key/cert
- #216 Mapper package refactoring
- #218 Tell Travis CI to only build on pushes to the master branch
- #217 Make .travis.yml more DRY
- #215 Markdown linter
- #214 Add a 'simplified mode' for configuration
- #211 Add Alertmanager 0.13.0 mock resposes for testing
- #209 Update package-lock.json using latest LTS nodejs/npm
- #202 Add support for proxying user connection to Alertmanager
- #206 Show silence ID in the UI
- #205 Add mock files for Alertmanager 0.12.0
- #201 3 stage build
- #200 Hide sentry secrets in startup logs
- #199 Travis build stages
- #197 Rewrite flags & env handling, add a config file
- #196 Add REMOVE_RECEIVERS option (@loverend)
- #189 Update npm deps
- #195 Add missing mock files for alertmanager 0.11.0
- #194 Add alertmanager 0.11.0 test files
- #193 Correct the link to "mock/Makefile" (@giganteous)
- #191 Alertmanager 0.10.0 mock files
- #188 Migrate from babel-preset-es2015 to babel-preset-env
- #187 Use Go 1.9.1 for docker builds
- #186 Alertmanager 0.9.1
- #185 Add tests for Alertmanager 0.9.0