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

[FEATURE] Validation of dynamic config using Go templates #28

Open
1 task done
NReilingh opened this issue Apr 28, 2022 · 1 comment
Open
1 task done

[FEATURE] Validation of dynamic config using Go templates #28

NReilingh opened this issue Apr 28, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@NReilingh
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

Traefik dynamic configuration using the File provider supports Go Templating. My sense is that this tool does not currently support validating dynamic configuration that uses template syntax.

Assuming this is correct, perhaps this should be called out in the docs?

Not sure what kind of lift this would take, but just wanted to call it out for discussion. I use go templating in my traefik config, and would definitely like to be able to validate these files before I commit or deploy them. However, I could also see this be more appropriately built into traefik itself, similar to how the apachectl configtest command works with Apache.

Anything else?

No response

@NReilingh NReilingh added the enhancement New feature or request label Apr 28, 2022
@NReilingh NReilingh changed the title [FEATURE] Go Template processing [FEATURE] Validation of dynamic config using Go templates Apr 28, 2022
@thomasklinger1234
Copy link
Contributor

Hey @NReilingh, thanks for pointing that out.

Indeed, we do not support dynamic templated configuration. For starters, we will include a hint in the next release that Go templating is not (yet) supported. Afterwards, we will discuss internally if we are planning to support templated configurations as well - at OTTO we are not yet using them so this may not be implemented in the near future.

If you have any ideas or points you would like to discuss on this feature we would love to hear from you!

@thomasklinger1234 thomasklinger1234 mentioned this issue May 5, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants