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

squid fixes for webhook-http-proxy-test #216

Merged
merged 2 commits into from
Jul 24, 2020
Merged

Conversation

bwagner5
Copy link
Contributor

Issue #, if available:
#214

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-commenter
Copy link

codecov-commenter commented Jul 24, 2020

Codecov Report

Merging #216 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #216   +/-   ##
=======================================
  Coverage   81.43%   81.43%           
=======================================
  Files          10       10           
  Lines         792      792           
=======================================
  Hits          645      645           
  Misses        131      131           
  Partials       16       16           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8bf43a9...d149af7. Read the comment docs.

@bwagner5 bwagner5 requested a review from cjerad July 24, 2020 20:31
Copy link
Contributor

@brycahta brycahta 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

@cjerad cjerad left a comment

Choose a reason for hiding this comment

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

Nice work. Made a couple of suggestions for readability.

squid_worker_pods=""
for i in `seq 1 10`; do
echo "Checking if squid http-proxy has started..."
squid_worker_pods=$(kubectl get pods -o json | jq '.items[] | select( .metadata.name | contains("squid") ) | .metadata.name as $name | select( .spec.nodeName | contains("worker") ) | .spec.nodeName as $nodename | $name' -r || :)
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: could that command be put in a function?

test/e2e/webhook-http-proxy-test Outdated Show resolved Hide resolved
Copy link
Contributor

@cjerad cjerad left a comment

Choose a reason for hiding this comment

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

👍

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.

4 participants