Add tests for mTLS configuration and functional behavior#675
Merged
emmaaroche merged 1 commit intoKuadrant:mainfrom Jun 12, 2025
Merged
Add tests for mTLS configuration and functional behavior#675emmaaroche merged 1 commit intoKuadrant:mainfrom
emmaaroche merged 1 commit intoKuadrant:mainfrom
Conversation
azgabur
reviewed
May 6, 2025
20a477f to
c3dbc9d
Compare
azgabur
reviewed
May 22, 2025
Member
azgabur
left a comment
There was a problem hiding this comment.
test_mtls_configuration_with_* could be put in one file with some parametrization
same with test_mtls_functional_behavior_*
https://docs.pytest.org/en/7.1.x/example/parametrize.html
Or look how its done for example here:
testsuite/tests/kuadrantctl/cli/test_simple_route.py
or
testsuite/tests/singlecluster/authorino/operator/clusterwide/test_clusterwide.py
c3dbc9d to
fc1902c
Compare
azgabur
reviewed
May 30, 2025
Member
azgabur
left a comment
There was a problem hiding this comment.
Good job with the parametrization!
fc1902c to
98c716e
Compare
azgabur
reviewed
Jun 12, 2025
Signed-off-by: emmaaroche <eroche@redhat.com>
98c716e to
4d81b02
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This PR introduces tests that validate Kuadrant's mTLS functionality.
The tests are grouped into configuration and functional behavior checks, and are applied across three scenarios:
Each scenario includes the following tests:
mTLS Functional Behavior Tests:
mTLS Configuration Tests:
PeerAuthenticationwithSTRICTmode is created when mTLS is enabledReadystatus after enabling mTLSRelated Issues / PR's:
#1230
#1329
#1170