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

Added support of exported DestinationRules for SubsetPresenceChecker of VirtualSevices. Added tests. #4283

Merged
merged 1 commit into from Aug 19, 2021

Conversation

hhovsepy
Copy link
Contributor

Second PR for RFE #3061

Added Cross Namespace validations for SubsetPresenceChecker of Virtual Services.
Added support of exportTo field for validation "KIA1107 Subset not found".

@hhovsepy
Copy link
Contributor Author

For QE:
Create the above mentioned 3 DestinationRules from different namespaces, pay attention into exportTo field:
Screenshot from 2021-08-17 13-51-56
Screenshot from 2021-08-17 13-52-07
Screenshot from 2021-08-17 13-52-19

Create the VS in bookinfo:
Screenshot from 2021-08-17 13-52-19

You can see that v3 subset it marked as warning subset not found, because bookinfo3's DR is exported to bookinfo2.

Play a bit with exportTo fields, make sure that a subset will not be available for bookinfo namespace and the VS will display warning.

@hhovsepy hhovsepy requested a review from xeviknal August 17, 2021 11:54
Copy link
Member

@xeviknal xeviknal left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

@prachiyadav prachiyadav left a comment

Choose a reason for hiding this comment

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

Screenshot from 2021-08-19 15-01-43

@hhovsepy
Copy link
Contributor Author

thank you @prachiyadav and @xeviknal

@hhovsepy hhovsepy merged commit 2a717fd into kiali:master Aug 19, 2021
Sprint 61 (v1.39) automation moved this from In Review to Done Aug 19, 2021
@ghost ghost added this to the v1.39.0 milestone Aug 19, 2021
@prachiyadav
Copy link

Test Case >> SWSQE-1883

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants