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
API controller: add API validation - allow one API per service #2621
Conversation
54d73d2
to
f3e554f
Compare
d8ceb0f
to
124dfd2
Compare
36d5697
to
dee1596
Compare
68f7348
to
2b69ce2
Compare
components/api-controller/pkg/apis/gateway.kyma-project.io/v1alpha2/types.go
Outdated
Show resolved
Hide resolved
If you create an API for a service that does not have API attached but you have selected wrong service and make an update to correct one, Virtual service and Policy(if set) should be deleted for the wrong service (the first selected) because you will leave garbage that may have big impact on how other services work. Not in scope of this task : we should have a blacklist of service like |
Please extend our api-controller-acceptnce-tests with assertions for validationStatus.
And while chaning that please consider making this line |
@piotrmsc Virtual Services and Polices are updated as well, no need to do delete anything. Follow-up will be created. |
* Add new testgrid config annotation to te docs
Description
Changes proposed in this pull request: