When running traefik-certs-dumper with --watch, --post-hook and file, an initial dump happens when the program gets launched but the hook does not get executed.
I see 2 solutions:
- Do not run an initial dump in watch mode (this is how
kv behaves)
- Always run an initial dump and always execute the post-hook if it is provided
Please note that at the moment, file and kv do not behave the same way (see above). Whichever solution is chosen above should be reflected in both file and kv for consistency.
When running traefik-certs-dumper with
--watch,--post-hookandfile, an initial dump happens when the program gets launched but the hook does not get executed.I see 2 solutions:
kvbehaves)Please note that at the moment,
fileandkvdo not behave the same way (see above). Whichever solution is chosen above should be reflected in bothfileandkvfor consistency.