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

fix(): Reconciles port numbers in the ovpn client deployment #333

Closed
wants to merge 30 commits into from

Conversation

kon3m
Copy link
Contributor

@kon3m kon3m commented Feb 15, 2024

Description

Fixes #309

How Has This Been Tested?

Tested it manually using two single node kind clusters, will write test cases soon using envtest and update the PR

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have ran go fmt
  • I have updated the helm chart as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit test cases.
  • I have verified the E2E test cases with new code changes.
  • I have added all the required E2E test cases.

Does this PR introduce a breaking change?


@narmidm
Copy link
Member

narmidm commented Feb 22, 2024

image

one issue I notices the commits are unverified (No user is associated with the committer email). We require every contributor to certify that they are legally permitted to contribute to our project. A contributor expresses this by consciously signing their commits.

please follow this link. Let us know if you need any help.
https://github.com/kubeslice/worker-operator/blob/master/CONTRIBUTING.md#contributor-compliance-with-developer-certificate-of-origin-dco

@kon3m kon3m force-pushed the fix-ovpn-client-port branch 3 times, most recently from 4e8de96 to 8998f6e Compare February 26, 2024 09:08
@kon3m
Copy link
Contributor Author

kon3m commented Feb 26, 2024

@narmidm the commits are verified now.

Copy link
Contributor

@Rahul-D78 Rahul-D78 left a comment

Choose a reason for hiding this comment

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

Apart from some small nits It's Looks great! Thanks for adding this and also for fixing the flaky test 👍

controllers/slicegateway/slicegateway.go Outdated Show resolved Hide resolved
controllers/slicegateway/slicegateway.go Outdated Show resolved Hide resolved
Copy link
Contributor

@Rahul-D78 Rahul-D78 left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @kon3m

@kon3m
Copy link
Contributor Author

kon3m commented Feb 27, 2024

Thanks for reviewing @Rahul-D78

@kon3m kon3m marked this pull request as draft February 27, 2024 10:35
@narmidm
Copy link
Member

narmidm commented Feb 27, 2024

@kon3m Please mark the PR as ready for review when you are done. I will review it as soon as possible.

@narmidm narmidm marked this pull request as ready for review February 28, 2024 09:59
@kon3m
Copy link
Contributor Author

kon3m commented Feb 28, 2024

@narmidm i have found an issue with this fix where in some cases distinct ports do not get assigned to the client deployments or to put in another way both the clients are connected to the same nodePort which should not happen. Thats the reason i have converted the PR to draft. Now i have updated the PR adding the fix for that as well, could you please review it?

@narmidm
Copy link
Member

narmidm commented Mar 7, 2024

@kon3m , can you rebase with the latest master. it has some fixes of E2E pipeline. After That I will trigger the E2E again.

@kon3m
Copy link
Contributor Author

kon3m commented Mar 7, 2024

@narmidm done, i have just rebased with master and pushed.

@kon3m kon3m force-pushed the fix-ovpn-client-port branch 2 times, most recently from 237dc66 to d72db75 Compare March 12, 2024 10:34
@NishantSingh10
Copy link
Contributor

@narmidm
Copy link
Member

narmidm commented Apr 1, 2024

Urgent CRD changes are slated for release, and we will wait a couple of days for this PR to merge. @kon3m, you will likely need to sync your branch as well.

KRANTHI0918 and others added 17 commits April 2, 2024 11:36
* feat(): api changes for no-net slice

Signed-off-by: Mridul Gain <mridulgain@gmail.com>

* feat(): block reconcilation of networking part

Signed-off-by: Mridul Gain <mridulgain@gmail.com>

* cluster reconciler changes for no net

Signed-off-by: Mridul Gain <mridulgain@gmail.com>

* skip workerslice health for no-net deployment

Signed-off-by: Mridul Gain <mridulgain@gmail.com>

* update slice reconciler for no-net

Signed-off-by: Mridul Gain <mridulgain@gmail.com>

* fix(): update cluster status to show network present or not

Signed-off-by: Mridul Gain <mridulgain@gmail.com>

* fix(): ITs & go version update

Signed-off-by: Mridul Gain <mridulgain@gmail.com>

* fix(): update apis tag

Signed-off-by: Mridul Gain <mridulgain@gmail.com>

---------

Signed-off-by: Mridul Gain <mridulgain@gmail.com>
Signed-off-by: kon3m <konemshad@gmail.com>
Signed-off-by: kon3m <konemshad@gmail.com>
Signed-off-by: kon3m <konemshad@gmail.com>
Signed-off-by: kon3m <konemshad@gmail.com>
Signed-off-by: kon3m <konemshad@gmail.com>
Signed-off-by: kon3m <konemshad@gmail.com>
Signed-off-by: kon3m <konemshad@com.gmail.com>
@kon3m
Copy link
Contributor Author

kon3m commented Apr 2, 2024

@narmidm @Rahul-D78 @bharath-avesha Closing this PR and will open a new/clean one as multiple authors and files got added which are not related to this PR. Will comment the new PR once i open it.

This is the newly opened PR : 368

@kon3m kon3m closed this Apr 2, 2024
@kon3m
Copy link
Contributor Author

kon3m commented Apr 2, 2024

Opened a new clean PR

@kon3m kon3m mentioned this pull request Apr 3, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reconcile port numbers in ovpn client deployments
7 participants