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

Copy headers in both directions in proxy #7

Merged
merged 1 commit into from
Dec 31, 2019

Conversation

alexellis
Copy link
Member

  • Issue was detected whilst testing 0.4.0 from @Waterdrips which
    added basic auth, but the header was not being propagated.
  • This code is tested in OpenFaaS already, but unit tests will
    be added retrospectively.
  • Proxy now reads the gateway URL via a channel instead of from
    a file to make unit testing easier.

Could not test e2e on Linux due to error about the queue-worker
container existing. I checked and it didn't, the error code was
"unknown"

Signed-off-by: Alex Ellis (OpenFaaS Ltd) alexellis2@gmail.com

@alexellis alexellis force-pushed the bidirectional-proxy-headers branch from c4e74d1 to af55e0e Compare December 31, 2019 17:43
* Issue was detected whilst testing 0.4.0 from @Waterdrips which
added basic auth, but the header was not being propagated.
* This code is tested in OpenFaaS already, but unit tests will
be added retrospectively.
* Proxy now reads the gateway URL via a channel instead of from
a file to make unit testing easier.

Basic auth now works as expected with faas-cli login / list.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
@alexellis alexellis force-pushed the bidirectional-proxy-headers branch from af55e0e to a1c8a81 Compare December 31, 2019 18:19
@alexellis alexellis merged commit d785beb into master Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant