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

implement per-route override for rbac stat prefixes #35531

Merged
merged 5 commits into from
Aug 8, 2024

Conversation

antoniovleonti
Copy link
Contributor

Commit Message: implement per-route override for rbac stat prefixes
Additional Description: currently, if you only have stat prefixes configured in per-route config and not the base config, the stat prefix will be empty. this PR addresses that.
Risk Level: low
Testing: unit tested
Docs Changes: n/a
Release Notes: changelog updated

yanavlasov
yanavlasov previously approved these changes Aug 1, 2024
@yanavlasov
Copy link
Contributor

Will wait for @yangminzhu review before merging.

@yanavlasov
Copy link
Contributor

/wait-any

@rshriram
Copy link
Member

rshriram commented Aug 5, 2024

@yangminzhu gentle ping

@antoniovleonti
Copy link
Contributor Author

/retest

@antoniovleonti
Copy link
Contributor Author

/retest

1 similar comment
@antoniovleonti
Copy link
Contributor Author

/retest

@yanavlasov
Copy link
Contributor

@antoniovleonti it looks like main merge is needed to address coverage failure.

@yanavlasov yanavlasov enabled auto-merge (squash) August 7, 2024 23:55
Copy link
Contributor

@yangminzhu yangminzhu left a comment

Choose a reason for hiding this comment

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

thanks!

@yanavlasov yanavlasov merged commit 751217c into envoyproxy:main Aug 8, 2024
49 of 50 checks passed
martinduke pushed a commit to martinduke/envoy that referenced this pull request Aug 8, 2024
Currently, if you only have stat prefixes
configured in per-route config and not the base config, the stat prefix
will be empty. this PR addresses that.

---------

Signed-off-by: antoniovleonti <[email protected]>
Signed-off-by: Martin Duke <[email protected]>
RyanTheOptimist added a commit that referenced this pull request Aug 9, 2024
RyanTheOptimist added a commit to RyanTheOptimist/envoy that referenced this pull request Aug 9, 2024
RyanTheOptimist added a commit to RyanTheOptimist/envoy that referenced this pull request Aug 9, 2024
RyanTheOptimist added a commit that referenced this pull request Aug 9, 2024
…#35655)

Revert "implement per-route override for rbac stat prefixes (#35531)"
    
Causing //test/extensions/filters/network/rbac:integration_test to
flakily time out.

This reverts commit 751217c.
    
Signed-off-by: Ryan Hamilton <[email protected]>

Signed-off-by: Ryan Hamilton <[email protected]>
antoniovleonti added a commit to antoniovleonti/envoy that referenced this pull request Aug 13, 2024
yanavlasov pushed a commit that referenced this pull request Aug 15, 2024
#35693)

…" (#35655)

This reverts commit 7ae5ca5.

The flakiness in #35653 is not
caused by this PR. If you look at [the
failure](https://btx.cloud.google.com/invocations/08f19e64-5934-4ed9-9f4c-e0d14e113360/targets/%2F%2Ftest%2Fextensions%2Ffilters%2Fnetwork%2Frbac:integration_test;config=a48d3689347bfb6aaa2bb9b4c87edaab1bb2d2c4710bec9b6690537c48f15140/log)
(you can also find this by going to the issue and clicking the link),
the failing test is
`RoleBasedAccessControlNetworkFilterIntegrationTest.DelayDenied`. That
test was added in #33875 and is
still flaky at head.

Signed-off-by: antoniovleonti <[email protected]>
@antoniovleonti antoniovleonti deleted the rbaclogperroute branch August 16, 2024 14:21
asingh-g pushed a commit to asingh-g/envoy that referenced this pull request Aug 20, 2024
Currently, if you only have stat prefixes
configured in per-route config and not the base config, the stat prefix
will be empty. this PR addresses that.

---------

Signed-off-by: antoniovleonti <[email protected]>
Signed-off-by: asingh-g <[email protected]>
asingh-g pushed a commit to asingh-g/envoy that referenced this pull request Aug 20, 2024
…xy#35531)" (envoyproxy#35655)

Revert "implement per-route override for rbac stat prefixes (envoyproxy#35531)"

Causing //test/extensions/filters/network/rbac:integration_test to
flakily time out.

This reverts commit 751217c.

Signed-off-by: Ryan Hamilton <[email protected]>

Signed-off-by: Ryan Hamilton <[email protected]>
Signed-off-by: asingh-g <[email protected]>
duxin40 pushed a commit to duxin40/envoy that referenced this pull request Oct 15, 2024
…oxy#35531)… (envoyproxy#35693)

…" (envoyproxy#35655)

This reverts commit 7ae5ca5.

The flakiness in envoyproxy#35653 is not
caused by this PR. If you look at [the
failure](https://btx.cloud.google.com/invocations/08f19e64-5934-4ed9-9f4c-e0d14e113360/targets/%2F%2Ftest%2Fextensions%2Ffilters%2Fnetwork%2Frbac:integration_test;config=a48d3689347bfb6aaa2bb9b4c87edaab1bb2d2c4710bec9b6690537c48f15140/log)
(you can also find this by going to the issue and clicking the link),
the failing test is
`RoleBasedAccessControlNetworkFilterIntegrationTest.DelayDenied`. That
test was added in envoyproxy#33875 and is
still flaky at head.

Signed-off-by: antoniovleonti <[email protected]>
Signed-off-by: duxin40 <[email protected]>
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