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

internal/dag: set Listener condition for invalid namespace selector #4615

Merged
merged 3 commits into from
Jul 12, 2022

Conversation

skriss
Copy link
Member

@skriss skriss commented Jul 12, 2022

Moves the logic for parsing/validating a Listener
namespace label selector into computeListener, and
sets Listener conditions appropriately when the
selector is invalid.

Signed-off-by: Steve Kriss krisss@vmware.com

Moves the logic for parsing/validating a Listener
namespace label selector into computeListener, and
sets Listener conditions appropriately when the
selector is invalid.

Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss requested a review from a team as a code owner July 12, 2022 21:13
@skriss skriss requested review from stevesloka and youngnick and removed request for a team July 12, 2022 21:13
Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss added the release-note/small A small change that needs one line of explanation in the release notes. label Jul 12, 2022
@skriss skriss requested a review from sunjayBhatia July 12, 2022 21:19
Signed-off-by: Steve Kriss <krisss@vmware.com>
@codecov
Copy link

codecov bot commented Jul 12, 2022

Codecov Report

Merging #4615 (48bc8c6) into main (3ab6a48) will decrease coverage by 0.94%.
The diff coverage is 21.28%.

❗ Current head 48bc8c6 differs from pull request most recent head b053e8c. Consider uploading reports for the commit b053e8c to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4615      +/-   ##
==========================================
- Coverage   77.03%   76.08%   -0.95%     
==========================================
  Files         140      140              
  Lines       13036    13223     +187     
==========================================
+ Hits        10042    10061      +19     
- Misses       2734     2904     +170     
+ Partials      260      258       -2     
Impacted Files Coverage Δ
cmd/contour/cli.go 0.00% <0.00%> (ø)
cmd/contour/contour.go 0.00% <0.00%> (ø)
internal/dag/gatewayapi_processor.go 94.49% <98.14%> (+0.41%) ⬆️
internal/status/gatewaystatus.go 69.00% <0.00%> (-5.00%) ⬇️

Copy link
Member

@youngnick youngnick left a comment

Choose a reason for hiding this comment

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

LGTM, nice work.

@skriss skriss merged commit 2a52558 into projectcontour:main Jul 12, 2022
@skriss skriss deleted the pr-gw-listener-ns-selector branch July 12, 2022 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/small A small change that needs one line of explanation in the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants