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

implementation of add_request_headers and add_response_headers as obj… #1481

Merged
merged 15 commits into from
May 9, 2019

Conversation

ysaakpr
Copy link
Contributor

@ysaakpr ysaakpr commented Apr 30, 2019

Description

This change is to support the map based configuration for add_request_headers and add_response_headers, to support the advanced configuration of the 'append' flag in the virtual host config.

Related Issues

List related issues.

Testing

Haven't tested, only done linting

Todos

  • Tests
  • Documentation

Other

@ysaakpr
Copy link
Contributor Author

ysaakpr commented May 1, 2019

@kflynn Can you tell me why the checks are failed, doesn't seems to be because of my changes, And please review the changes and let me know what all to done to have a merge.

@kflynn
Copy link
Member

kflynn commented May 2, 2019

Code looks pretty reasonable, thanks!

We already have tests in t_optiontests.py for these options; if you can extend those, I'll see if I can't figure out a simple way for you to run them in minikube or the like...

@kflynn
Copy link
Member

kflynn commented May 2, 2019

(You should also merge master into your branch -- that'll trigger another CI run, and in the process clean up some stuff about CI...)

@ysaakpr
Copy link
Contributor Author

ysaakpr commented May 2, 2019

@kflynn merged from master to my fork, still having a similar error,
Checking 235 url requirements... 2 not ready (http://plain.plain-namespace/ambassador/v0/check_ready: Get http://plain.plain-namespace/ambassador/v0/check_ready: net/http: request canceled (Client.Timeout exceeded while awaiting headers)) sleeping 10s...

@ysaakpr
Copy link
Contributor Author

ysaakpr commented May 4, 2019

Docs PR is also raised against master datawire/ambassador-docs#42

@concaf concaf self-requested a review May 7, 2019 14:23
Copy link
Contributor

@concaf concaf left a comment

Choose a reason for hiding this comment

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

Hey, thanks for the great work 🎉

I have left some comments, one that asks to make the documentation a bit clearer, and another that asks for testing the behavior more than it currently does.

Also, I'm curious on how did you manually test this?

docs/reference/add_response_headers.md Outdated Show resolved Hide resolved
docs/reference/add_response_headers.md Outdated Show resolved Hide resolved
ambassador/tests/t_optiontests.py Show resolved Hide resolved
@kflynn kflynn merged commit fb9efbf into emissary-ingress:master May 9, 2019
kflynn pushed a commit that referenced this pull request May 16, 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.

3 participants