Skip to content
This repository was archived by the owner on Jul 22, 2020. It is now read-only.

Comments

Rewrite flags & env handling, add a config file#197

Merged
prymitive merged 14 commits intomasterfrom
viper
Dec 4, 2017
Merged

Rewrite flags & env handling, add a config file#197
prymitive merged 14 commits intomasterfrom
viper

Conversation

@prymitive
Copy link
Contributor

@prymitive prymitive commented Nov 27, 2017

This will allow fixing #182, once there's a config file I can add more config keys for each Alertmanager server definition.

@prymitive prymitive added this to the v0.9 milestone Nov 27, 2017
@prymitive prymitive force-pushed the viper branch 2 times, most recently from 2a6ca03 to 3b4f498 Compare November 27, 2017 03:24
@prymitive prymitive self-assigned this Nov 27, 2017
This adds support for reading configuration from file, env support is still there and legacy env variables will still work, but flags are now following config schema, so they don't match old flags.
Having a config file allows to express more complex configuration options, which is needed for some feature requests.
@prymitive prymitive force-pushed the viper branch 2 times, most recently from f578685 to f1f0ccc Compare December 3, 2017 05:02
there's --labels.keep so same should apply to receivers, add new option, tests and fixes as it wasn't working properly
@prymitive
Copy link
Contributor Author

Now complete and ready for review

@prymitive
Copy link
Contributor Author

Added more docs & tests, and corrected few bugs found while doing that

@prymitive prymitive merged commit 527dbd4 into master Dec 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants