-
Notifications
You must be signed in to change notification settings - Fork 79
[secrets-injector]: adds network-policy #9729
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
base: master
Are you sure you want to change the base?
Conversation
a1425f7 to
dc0e245
Compare
|
Did you had a chance to test this? It might be the vault connection also needs to be allowed. Also, egress traffic should likely be constrained as well. |
Yes this was tested in one of the gh clusters ✅ Will bring this to @uwe-mayer and open another PR for egress rules 👍 |
Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com> (chore): adds network-policy default values Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com> (chore): bump chart version Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com> (chore): set ingress rules to empty Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com> (chore): render policy rules with toYaml Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com> (chore): bump chart version to 1.1.20 Signed-off-by: abhijith-darshan <abhijith.darshan@hotmail.com>
dc0e245 to
2b4c953
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.
👍
@Nuckal777 We will try this out on our GH QA cluster again. Only then we will update the secrets-injector pluginDefinition.
Egress rules will come in a separate PR, agree?
|
From reading the manifest the communication path to the vault instance should be blocked, because only the connection to the apiserver is enabled. In case the communication works, it would good to understand why. |
Only Ingress is denied by default not egress. |
Add optional network policies for secrets-injector webhook