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

Avoid duplicate HTTP headers for istio-proxy probe requests #28537

Merged

Conversation

Monkeyanator
Copy link
Contributor

Fixes #28466

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Pull Request Attributes

Please check any characteristics that apply to this pull request.

[ ] Does not have any changes that may affect Istio users.

@Monkeyanator Monkeyanator requested a review from a team as a code owner November 3, 2020 16:40
@istio-policy-bot
Copy link

🤔 🐛 You appear to be fixing a bug in Go code, yet your PR doesn't include updates to any test files. Did you forget to add a test?

Courtesy of your friendly test nag.

@google-cla google-cla bot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Nov 3, 2020
@istio-testing istio-testing added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 3, 2020
@Monkeyanator Monkeyanator added the release-notes-none Indicates a PR that does not require release notes. label Nov 3, 2020
@Monkeyanator
Copy link
Contributor Author

/test release-notes_istio
/test integ-operator-controller-tests_istio

@Monkeyanator
Copy link
Contributor Author

/test integ-multicluster-k8s-tests_istio

@istio-testing
Copy link
Collaborator

In response to a cherrypick label: new pull request created: #30954

@istio-testing
Copy link
Collaborator

In response to a cherrypick label: new pull request created: #30955

@istio-testing
Copy link
Collaborator

In response to a cherrypick label: new pull request could not be created: failed to create pull request against istio/istio#istio-testing:cherry-pick-28537-to-release-1.7 from release-1.7: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"A pull request already exists for istio-testing:cherry-pick-28537-to-release-1.7."}],"documentation_url":"https://docs.github.com/rest/reference/pulls#create-a-pull-request"}

wzshiming added a commit to wzshiming/istio that referenced this pull request Apr 7, 2021
@wzshiming wzshiming mentioned this pull request Apr 7, 2021
istio-testing pushed a commit that referenced this pull request Apr 8, 2021
* Revert "Fix allows repeated headers (#31866)"

This reverts commit f0d637f.

* Revert "Avoid duplicate HTTP headers for istio-proxy probe requests (#28537)"

This reverts commit 45b0d1d.

* Fix Probe Header logic

* Add test
istio-testing pushed a commit to istio-testing/istio that referenced this pull request Apr 12, 2021
istio-testing pushed a commit to istio-testing/istio that referenced this pull request Apr 12, 2021
wzshiming added a commit to wzshiming/istio that referenced this pull request Apr 12, 2021
istio-testing pushed a commit that referenced this pull request Apr 12, 2021
* Revert "Avoid duplicate HTTP headers for istio-proxy probe requests (#28537)"

This reverts commit 45b0d1d.

* Fix Probe Header logic
istio-testing added a commit that referenced this pull request Apr 12, 2021
* Revert "Fix allows repeated headers (#31866)"

This reverts commit f0d637f.

* Revert "Avoid duplicate HTTP headers for istio-proxy probe requests (#28537)"

This reverts commit 45b0d1d.

* Fix Probe Header logic

* Add test

Co-authored-by: Shiming Zhang <wzshiming@foxmail.com>
istio-testing pushed a commit that referenced this pull request Apr 14, 2021
* Revert "Avoid duplicate HTTP headers for istio-proxy probe requests (#28537)"

This reverts commit 45b0d1d.

* Fix Probe Header logic

* Add test

* Conflict resolution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. release-notes-none Indicates a PR that does not require release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

probe httpheaders are duplicated when using istio probe rewriting
4 participants