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

Documentation is not consistent for the CLI arguments #5424

Closed
1 of 2 tasks
Lawouach opened this issue Sep 19, 2019 · 4 comments
Closed
1 of 2 tasks

Documentation is not consistent for the CLI arguments #5424

Lawouach opened this issue Sep 19, 2019 · 4 comments

Comments

@Lawouach
Copy link

Lawouach commented Sep 19, 2019

Do you want to request a feature or report a bug?

Bug

Did you try using a 1.7.x configuration for the version 2.0?

  • Yes
  • No

What did you do?

I read the documentation.

What did you expect to see?

Consistency.

What did you see instead?

Differences in CLI arguments.

In many places examples of uising the CLI use a different case for their arguments.
For example, https://docs.traefik.io/https/acme/#dnschallenge says:

--certificatesResolvers.sample.acme.httpChallenge.entryPoint=web

But then the main page for all the arguments (https://docs.traefik.io/reference/static-configuration/cli/) says:

--certificatesresolvers.<name>.acme.httpchallenge.entrypoint

All lower case. Is there a semantic difference or do they both work? The logs don't say anything.

I'm using 2.0 GA from Kubernetes via the CRD.

@ldez
Copy link
Member

ldez commented Sep 19, 2019

Hello,

The flags names are case insensitive, there is no semantic difference.

@Lawouach
Copy link
Author

It is confusing to me but if that's what it is, then cool. I must have missed the documentation clarifying it.

@traefiker
Copy link
Contributor

Closed by #5428.

@Lawouach
Copy link
Author

Cheers folks!

@traefik traefik locked and limited conversation to collaborators Oct 21, 2019
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

4 participants