From 43ebd1bed331f4ac09e361c21d0d019381ad5bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20M=C3=BCller?= Date: Tue, 23 Apr 2019 22:32:48 +0200 Subject: [PATCH] add file case for integration test instructions & cleanup instructions (#17) --- integrationtest/readme.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/integrationtest/readme.md b/integrationtest/readme.md index f54e6da..ccbc459 100644 --- a/integrationtest/readme.md +++ b/integrationtest/readme.md @@ -19,6 +19,8 @@ go run integrationtest/loader.go ## Run certs dumper without watching ```bash +traefik-certs-dumper file + # http://localhost:8500/ui/ traefik-certs-dumper kv consul --endpoints localhost:8500 @@ -31,12 +33,22 @@ traefik-certs-dumper kv zookeeper --endpoints localhost:2181 ## Run certs dumper with watching -While watching is enabled, run `loader.go` again for KV backends or manipulate `./acme.json` for file backend that change events are triggered. +While watching is enabled, manipulate `./acme.json` for file backend or run `loader.go` again for KV backends so that change events are triggered. ```bash +traefik-certs-dumper file --watch + traefik-certs-dumper kv consul --watch --endpoints localhost:8500 traefik-certs-dumper kv etcd --watch --endpoints localhost:2379 traefik-certs-dumper kv zookeeper --watch --endpoints localhost:2181 ``` + +## Cleanup + +- Stop backends + +```bash +docker-compose -f integrationtest/docker-compose.yml down +```