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

Add the AuthResponseHeaders to the labels #3973

Merged
merged 4 commits into from
Oct 15, 2018
Merged

Conversation

Crypto89
Copy link
Contributor

@Crypto89 Crypto89 commented Oct 3, 2018

What does this PR do?

I've added logic to the labels.GetAuth to fill the types.Forward with the AuthResponseHeaders and updated the consul_catalog.tmpl to add the fields to the configuration.

Motivation

Currently isn't impossible to use the consul_catalog provider with auth.forward and send the authresponse headers to backends.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

I've only updated the consul_catalog backend, except kubernetes it doesn't look like any other backend will work at the moment.

@geraldcroes

This comment has been minimized.

@dduportal

This comment has been minimized.

@geraldcroes
Copy link
Contributor

Hi @Crypto89,

good news, we've given additional thoughts to your contribution and think that it should be included in the next minor version.

Good news again: we'll handle the tedious work involved in merging your contribution back into master.

See you around, and keep having fun with Traefik!

@geraldcroes geraldcroes reopened this Oct 15, 2018
@ldez ldez added this to the 1.7 milestone Oct 15, 2018
@ldez ldez changed the base branch from master to v1.7 October 15, 2018 08:08
@ldez ldez requested a review from a team as a code owner October 15, 2018 08:08
@ldez ldez requested review from a team as code owners October 15, 2018 08:08
@Crypto89 Crypto89 requested review from a team as code owners October 15, 2018 08:08
@ldez ldez removed the request for review from a team October 15, 2018 08:08
Crypto89 and others added 4 commits October 15, 2018 10:10
  * Add the labels to the GetAuth method
  * Add AuthResponseHeaders to consul_catalog.tmpl
  * Add test for Auth.Forward to consulcatalog tests
  * Add documentation
Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

@traefiker traefiker merged commit 78a9d20 into traefik:v1.7 Oct 15, 2018
@ldez ldez added kind/bug/fix a bug fix and removed kind/enhancement a new or improved feature. labels Oct 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants