Network Policy Ingress no default
jcpunk opened this issue · 0 comments
jcpunk commented
Issue submitter TODO list
- I've looked up my issue in FAQ
- I've searched for an already existing issues here (legacy) and here
- I've tried installing latest charts and the issue still persists there
- I'm running a supported version of the application & chart which is listed here
Describe the bug (actual behavior)
When the network policy is set to enable ingress filtering, unless I set detailed custom rules no policy is generated.
Expected behavior
If unset the "custom rules" should default to permit access only to the service port. Folks who want to control which hosts and whatnot will still need to write a more detailed policy.
Your installation details
Helm chart 0.7.2
Steps to reproduce
Install with heml setting .Values.networkPolicy.enabled
== true
Screenshots
No response
Logs
No response
Additional context
The Kubernetes Dashboard has very nice default filters:
https://github.com/kubernetes/dashboard/blob/master/charts/helm-chart/kubernetes-dashboard/templates/security/networkpolicy.yaml