Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File provider doesn't detect changes in subfolders #8771

Closed
2 tasks done
raulgbcr opened this issue Feb 12, 2022 · 1 comment
Closed
2 tasks done

File provider doesn't detect changes in subfolders #8771

raulgbcr opened this issue Feb 12, 2022 · 1 comment

Comments

@raulgbcr
Copy link

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?

Using standalone Traefik binary, create a config file, define a file provider on a folder with multiple config files in the folder and multiple subfolders with more config files.

What did you see instead?

Any file located in a subfolder of the folder defined in the file provider don't get detected if modified, files in the defined folder get detected and the config changes accordingly. Traefik should detect changes in all the subfolders on the watching folder, or allow a way to define multiple watched folders.

What version of Traefik are you using?

Version: 2.6.0-rc1
Codename: rocamadour
Go version: go1.17.5
Built: 2021-12-20T16:10:10Z
OS/Arch: linux/amd64

What is your environment & configuration?

[providers]
[providers.file]
directory = "redacted"
watch = true

If applicable, please paste the log output in DEBUG level

No response

@rtribotte
Copy link
Member

Duplicate of #3986

@rtribotte rtribotte marked this as a duplicate of #3986 Feb 14, 2022
@traefik traefik locked and limited conversation to collaborators Mar 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants