-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Extract providers to their own packages #1444
Conversation
83faf19
to
d71d64c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments left on the commit.
ef87d8f
to
37b443d
Compare
37b443d
to
1002c6d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This is just doing that and making it compile :) Signed-off-by: Vincent Demeester <[email protected]>
1002c6d
to
542c367
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM aswell 👼 Vincent on a run!
Prefix string `description:"Prefix used for KV store"` | ||
TLS *provider.ClientTLS `description:"Enable TLS support"` | ||
StoreType store.Backend | ||
Kvclient store.Store |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that's a good idea to have these fields exported. They will be added automatically to the flags traefik --help
(to be verified).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emilevauge I don't see them in --help
output. I guess it's only exported field that have the description:"…"
thinguy 👼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK thanks :) Is there any possibility to not export these fields in the future? Not really fond of this ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emilevauge yes, it is in my plan somehow 👼
Following #1440, this extracts the other provider to their own packages. Still refactoring to do (some stuff to un-export in k8s for ex, tests refactoring, etc..).
As it's based on #1440, only the last commit sholud be reviewed — and I'll rebase once it's merged 👼
Changes around : +840/-815