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

Remove localhost calls from external names #7092

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

rikatz
Copy link
Contributor

@rikatz rikatz commented Apr 30, 2021

Signed-off-by: Ricardo Pchevuzinske Katz [email protected]

What this PR does / why we need it:

Removes the possibility of using localhost in ExternalNames as endpoints

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 30, 2021
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 30, 2021
@codecov-commenter
Copy link

codecov-commenter commented Apr 30, 2021

Codecov Report

Merging #7092 (ca36ee4) into master (bacd735) will increase coverage by 0.20%.
The diff coverage is 64.28%.

❗ Current head ca36ee4 differs from pull request most recent head 50c9764. Consider uploading reports for the commit 50c9764 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7092      +/-   ##
==========================================
+ Coverage   55.82%   56.03%   +0.20%     
==========================================
  Files          94       94              
  Lines        6588     6589       +1     
==========================================
+ Hits         3678     3692      +14     
+ Misses       2449     2436      -13     
  Partials      461      461              
Impacted Files Coverage Δ
internal/ingress/controller/nginx.go 28.71% <ø> (ø)
internal/ingress/controller/store/store.go 58.94% <16.66%> (ø)
internal/ingress/controller/controller.go 46.80% <100.00%> (+0.12%) ⬆️
internal/ingress/controller/endpoints.go 93.47% <100.00%> (+0.62%) ⬆️
internal/ingress/types_equals.go 17.96% <100.00%> (+3.80%) ⬆️
...ternal/ingress/annotations/globalratelimit/main.go 64.70% <0.00%> (-0.30%) ⬇️
internal/ingress/controller/template/template.go 76.82% <0.00%> (-0.04%) ⬇️

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 22ae0d3...50c9764. Read the comment docs.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 30, 2021
@moonming
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Apr 30, 2021
@moonming
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 30, 2021
@tao12345666333
Copy link
Member

/hold

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 30, 2021
@rikatz rikatz force-pushed the issue-service-external branch 2 times, most recently from 7f2b400 to d405d0a Compare April 30, 2021 17:46
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 30, 2021
@rikatz rikatz force-pushed the issue-service-external branch 2 times, most recently from a2c98b4 to d18515c Compare April 30, 2021 18:23
@ElvinEfendi
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 30, 2021
@rikatz
Copy link
Contributor Author

rikatz commented Apr 30, 2021

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 30, 2021
@rikatz
Copy link
Contributor Author

rikatz commented Apr 30, 2021

/hold

Wait for the cI

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 30, 2021
Signed-off-by: Ricardo Pchevuzinske Katz <[email protected]>
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 30, 2021
@ElvinEfendi
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 30, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ElvinEfendi, moonming, rikatz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rikatz
Copy link
Contributor Author

rikatz commented Apr 30, 2021

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 30, 2021
@k8s-ci-robot k8s-ci-robot merged commit 422b22a into kubernetes:master Apr 30, 2021
@strongjz strongjz mentioned this pull request Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants