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

Kubernetes support for Auth.HeaderField #5235

Merged
merged 2 commits into from Aug 21, 2019
Merged

Kubernetes support for Auth.HeaderField #5235

merged 2 commits into from Aug 21, 2019

Conversation

ErikWegner
Copy link

Template modified to support ingress.kubernetes.io/auth-header-field

What does this PR do?

Change to the kubernetes template to take auth-header-field into account.

Motivation

A kubernetes ingress with authentication always sends a header X-WebAuth-User with the username to the backend. The documentation states, that the header name can be changed through the annoation ingress.kubernetes.io/auth-header-field. This annotation is currently read from the kubernetes api but ignored when building the frontend definition.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

The default behaviour of the code will change. The documentation does not exactly describe if that header field will be set without an annotation.

Template modified to support ingress.kubernetes.io/auth-header-field
Copy link
Member

@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

Copy link
Contributor

@dtomcej dtomcej left a comment

Choose a reason for hiding this comment

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

LGTM
:shipit:

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

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

LGTM

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.

None yet

5 participants