-
Notifications
You must be signed in to change notification settings - Fork 20
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
The implementation of network policy controller #392
Merged
Merged
Conversation
This file contains 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
heypnus
force-pushed
the
np/controller
branch
from
November 16, 2023 10:09
221297a
to
fc65184
Compare
dantingl
reviewed
Nov 22, 2023
dantingl
reviewed
Dec 4, 2023
timdengyun
reviewed
Dec 30, 2023
heypnus
force-pushed
the
np/controller
branch
4 times, most recently
from
January 11, 2024 08:47
0991612
to
03d0714
Compare
heypnus
force-pushed
the
np/controller
branch
2 times, most recently
from
January 11, 2024 09:47
4f8a605
to
c2e6fab
Compare
heypnus
force-pushed
the
np/controller
branch
2 times, most recently
from
January 15, 2024 10:46
e9eb12b
to
1533826
Compare
/e2e |
heypnus
force-pushed
the
np/controller
branch
4 times, most recently
from
January 17, 2024 11:03
54b4c91
to
ab8739f
Compare
/e2e |
heypnus
force-pushed
the
np/controller
branch
from
January 19, 2024 12:16
ab8739f
to
d516313
Compare
timdengyun
reviewed
Jan 21, 2024
timdengyun
reviewed
Jan 21, 2024
heypnus
force-pushed
the
np/controller
branch
4 times, most recently
from
January 24, 2024 07:19
f062665
to
711c770
Compare
heypnus
changed the title
Basic implementation of network policy controller
The implementation of network policy controller
Jan 24, 2024
heypnus
force-pushed
the
np/controller
branch
from
January 25, 2024 10:40
711c770
to
8f6625c
Compare
timdengyun
reviewed
Jan 26, 2024
heypnus
force-pushed
the
np/controller
branch
3 times, most recently
from
January 26, 2024 05:24
242d6d1
to
90fbe77
Compare
This patch will add the network policy controller to handle the network policy event and CRUD the related security policy on the NSX side. It will convert the network policy defination to security policy CR internally, then reuse the logic to handle security policy CR to create the NSX security policy. So we add a new flag createdFor in the security policy module. Testing done: Create and update for the network policy: kubectl apply -f test/e2e/manifest/testNetworkPolicy/np_simple.yaml kubectl apply -f test/e2e/manifest/testNetworkPolicy/np_simple2.yaml
heypnus
force-pushed
the
np/controller
branch
from
January 26, 2024 06:03
90fbe77
to
cc1bb2c
Compare
timdengyun
approved these changes
Jan 26, 2024
This was referenced Jan 26, 2024
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.
This patch will add the network policy controller to handle the network
policy event and CRUD the related security policy on the NSX side.
It will convert the network policy defination to security policy CR internally,
then reuse the logic to handle security policy CR to create the NSX security
policy. So we add a new flag createdFor in the security policy module.
Testing done:
Create and update for the network policy:
kubectl apply -f test/e2e/manifest/testNetworkPolicy/np_simple.yaml
kubectl apply -f test/e2e/manifest/testNetworkPolicy/np_simple2.yaml