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

[authpolicy-v2] AuthConfig superseding of strict host subsets #266

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

guicassolato
Copy link
Contributor

@guicassolato guicassolato commented Oct 10, 2023

Closes:


Note: Technically, these 2 changes could be targeting main instead of base branch authpolicy-v2, but because Authorino Operator v0.9.0 includes all the gears to support AuthConfig v1beta2 (i.e. enables installations of Authorino v0.15.0), there's no point in merging it outside of the context of AuthPolicy v2.

@guicassolato guicassolato requested a review from a team as a code owner October 10, 2023 11:03
@guicassolato guicassolato self-assigned this Oct 10, 2023
@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

Merging #266 (02459af) into authpolicy-v2 (8818edb) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@                Coverage Diff                @@
##           authpolicy-v2     #266      +/-   ##
=================================================
+ Coverage          63.12%   63.26%   +0.13%     
=================================================
  Files                 34       34              
  Lines               3241     3242       +1     
=================================================
+ Hits                2046     2051       +5     
+ Misses              1025     1023       -2     
+ Partials             170      168       -2     
Flag Coverage Δ
integration 70.69% <100.00%> (+0.27%) ⬆️
unit 56.34% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
api/v1beta1 (u) ∅ <ø> (∅)
pkg/common (u) 75.90% <ø> (ø)
pkg/istio (u) 30.24% <ø> (ø)
pkg/log (u) 31.81% <ø> (ø)
pkg/reconcilers (u) 33.68% <ø> (ø)
pkg/rlptools (u) 57.63% <ø> (ø)
controllers (i) 70.69% <100.00%> (+0.27%) ⬆️
Files Coverage Δ
controllers/kuadrant_controller.go 52.54% <100.00%> (+2.68%) ⬆️

... and 6 files with indirect coverage changes

Enables [superseding of strict host subsets](https://github.com/Kuadrant/authorino/blob/main/docs/architecture.md#avoiding-host-name-collision) in Authorino – i.e., set `SupersedingHostSubsets` to `true` in the Authorino CR.

Closes #264.
Copy link
Contributor

@KevFan KevFan left a comment

Choose a reason for hiding this comment

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

Looks good to me ! 💯

@Boomatang
Copy link
Contributor

+1
Image builds
SupersedingHostSubsets is set as expected

@guicassolato guicassolato merged commit 7101dd3 into authpolicy-v2 Oct 11, 2023
@guicassolato guicassolato deleted the supersede-authconfig-subsets branch October 11, 2023 14:47
guicassolato added a commit that referenced this pull request Oct 11, 2023
[authpolicy-v2] AuthConfig superseding of strict host subsets
guicassolato added a commit that referenced this pull request Oct 16, 2023
[authpolicy-v2] AuthConfig superseding of strict host subsets
guicassolato added a commit that referenced this pull request Oct 18, 2023
[authpolicy-v2] AuthConfig superseding of strict host subsets
guicassolato added a commit that referenced this pull request Oct 20, 2023
[authpolicy-v2] AuthConfig superseding of strict host subsets
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