-
Notifications
You must be signed in to change notification settings - Fork 780
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
networkPolicy customization #2334
Conversation
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
cc: @realshuting |
Thanks @Namanl2001 , it looks good to me. @antoineozenne - can you please help review? |
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.
Thanks for this modification, but it does not seem to allow access to the metrics-port
(8000). The major problem in 2287 is this one. Maybe we could do something like https://github.com/bitnami/charts/blob/master/bitnami/redis-cluster/templates/networkpolicy.yaml#L33?
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
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.
I haven't tested but it looks OK to me.
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
Seems to me this was never tested? networkPolicy support in 2.1.3 is totally broken and there's no documentation on how to use this refactored version. |
@windowsrefund there was an issue which was fixed in this pr #2423 |
Fixes #2287
Changes
Allowed customization for NetworkPolicy with namespaceSelector and podSelector via helm.
Verification
Verified locally