-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix(ServiceExport): Reject Conflicting Alias Names for ServiceExport object (#315) #337
fix(ServiceExport): Reject Conflicting Alias Names for ServiceExport object (#315) #337
Conversation
4ef0220
to
0d43b6a
Compare
6243c88
to
e7a4b44
Compare
The issue #338 impacts this PR. Hence holding this until it is resolved. |
the issue is closed, and fix is merged to master please proceed @soharab-ic |
@soharab-ic, can you rebase with the latest master. it has some fixes of E2E pipeline. It will help run E2E when PR will be ready. |
Sure @narmidm |
db725f9
to
813d609
Compare
@bharath-avesha @narmidm Please review this PR. |
813d609
to
f9b96a3
Compare
@narmidm Fixed the build failure issue.
|
@soharab-ic ,A release has recently occurred; could you please resolve the conflict on the branch? |
Sure @narmidm |
f9b96a3
to
cd03978
Compare
@narmidm Resolved conflicts, Please trigger E2E pipeline. |
@narmidm @bharath-avesha Any update on the E2E pipeline? |
Fixed & started the pipeline. |
@soharab-ic a fix has been added for the e2e pipeline workflow. Please sync your branch. |
cd03978
to
3fb42dd
Compare
Synced my branch. |
@narmidm @mridulgain I see three end-to-end tests are failing. Is the e2e pipeline have some issues? |
@soharab-ic let me look into it. and I will rerun it again. |
@narmidm Thanks for re-running the pipeline. Just FYI, I have added a manifest file for validating webhook but did not update the helm chart yet. I was planning to update the helm chart after this PR is merged. I am expecting that this will not cause any issue for e2e tests. |
…object Added a validating webhook to verify alias names in serviceexport object and reject and if there are conflicting aliases Fixes kubeslice#315 Signed-off-by: Md Soharab Ansari <[email protected]>
3fb42dd
to
5664b02
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
In the latest test report #337 (comment), a sufficient number of tests from the Worker and SliceHealth suites have passed to ensure that existing functionalities are unaffected. Notably, the iperf tests, which include ServiceExport creation to make the service available across clusters connected under the Slice, have also passed successfully.
Thanks everyone. |
Description
The validating webhook will validate the ServiceExport object and admission of ServiceExport objects with conflicting alias names will be rejected.Fixes #315
How Has This Been Tested?
Checklist:
go fmt
Does this PR introduce a breaking change?