Navigation Menu

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/scheme service #275

Merged
merged 4 commits into from Oct 10, 2019
Merged

Conversation

mmatur
Copy link
Member

@mmatur mmatur commented Oct 9, 2019

Description

Allow user to customize scheme.

@mmatur mmatur added this to the v0.6.0 milestone Oct 9, 2019
docs/content/configuration.md Show resolved Hide resolved
func (p *Provider) getScheme(annotations map[string]string) string {
scheme := annotations[k8s.AnnotationScheme]

if scheme == "" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should validate that the scheme is an acceptable scheme here.

@@ -180,6 +181,16 @@ func (p *Provider) getServiceMode(annotations map[string]string) string {
return mode
}

func (p *Provider) getScheme(annotations map[string]string) string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since this doesn't actually use the provider at all, did we want to have this method moved to the base package so that we can use it with the SMI provider?

@dtomcej
Copy link
Contributor

dtomcej commented Oct 9, 2019

Did we want to add this functionality to the SMI provider in this PR? or did we want to add it in another?

Copy link
Contributor

@SantoDE SantoDE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@traefiker traefiker merged commit 4cea343 into traefik:master Oct 10, 2019
@mmatur mmatur deleted the feature/scheme-service branch October 10, 2019 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration kind/enhancement a new or improved feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants