What did you do?
$ command-that-outputs-generated-alertmanager-config | docker run --rm \
--entrypoint amtool --name alertmanager -i \
-v $PWD:/work -w /work \
quay.io/prometheus/alertmanager \
config routes test alertname="foo", severity="critical"
What did you expect to see?
Validation of my routes passed via stdin.
Similar to what was added support for in #1431
What did you see instead? Under which circumstances?
amtool: error: You have to specify one of --config.file or --alertmanager.url flags.
I also tried passing - (common identifier for stdin) as --config.file=-
What did you do?
What did you expect to see?
Validation of my routes passed via stdin.
Similar to what was added support for in #1431
What did you see instead? Under which circumstances?
amtool: error: You have to specify one of --config.file or --alertmanager.url flags.I also tried passing
-(common identifier forstdin) as--config.file=-