Skip to content

Conversation

@skriss
Copy link
Member

@skriss skriss commented Oct 25, 2021

Implements ReferencePolicy, which enables certain
cross-namespace references to be allowed. This
currently applies only to Route->Service refs.

Closes #4118.

Signed-off-by: Steve Kriss [email protected]

@skriss skriss requested a review from a team as a code owner October 25, 2021 22:32
@skriss skriss requested review from stevesloka and sunjayBhatia and removed request for a team October 25, 2021 22:32
@codecov
Copy link

codecov bot commented Oct 25, 2021

Codecov Report

Merging #4138 (b5b358b) into main (c4c42a1) will increase coverage by 0.06%.
The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4138      +/-   ##
==========================================
+ Coverage   72.91%   72.98%   +0.06%     
==========================================
  Files         115      115              
  Lines       10053    10097      +44     
==========================================
+ Hits         7330     7369      +39     
- Misses       2567     2572       +5     
  Partials      156      156              
Impacted Files Coverage Δ
cmd/contour/serve.go 12.60% <0.00%> (-0.06%) ⬇️
internal/k8s/informers.go 0.00% <0.00%> (ø)
internal/dag/cache.go 94.08% <100.00%> (+0.17%) ⬆️
internal/dag/gatewayapi_processor.go 94.50% <100.00%> (+0.30%) ⬆️
internal/gatewayapi/helpers.go 100.00% <100.00%> (ø)
internal/sorter/sorter.go 98.78% <0.00%> (+1.21%) ⬆️

@skriss skriss added the release-note/minor A minor change that needs about a paragraph of explanation in the release notes. label Oct 25, 2021
@skriss skriss force-pushed the gateway-reference-policy branch from f1d5629 to 5da31d1 Compare October 25, 2021 22:53
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.

This LGTM, it also looks like we should be able to expand it out easily to cover cross-namespace Secrets at some point (which is planned, but not in the spec yet).

@skriss skriss force-pushed the gateway-reference-policy branch 2 times, most recently from 1e387db to ea9bac5 Compare November 1, 2021 16:45
Implements ReferencePolicy, which enables certain
cross-namespace references to be allowed. This
currently applies only to Route->Service refs.

Closes projectcontour#4118.

Signed-off-by: Steve Kriss <[email protected]>
Signed-off-by: Steve Kriss <[email protected]>
@skriss skriss force-pushed the gateway-reference-policy branch from ea9bac5 to b5b358b Compare November 1, 2021 17:36
@skriss skriss merged commit 94b34b5 into projectcontour:main Nov 1, 2021
skriss added a commit to skriss/contour-operator that referenced this pull request Nov 1, 2021
stevesloka pushed a commit to projectcontour/contour-operator that referenced this pull request Nov 2, 2021
@skriss skriss deleted the gateway-reference-policy branch November 2, 2021 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/minor A minor change that needs about a paragraph of explanation in the release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gateway API: implement ReferencePolicy

3 participants