bjw-s / helm-charts

A collection of Helm charts
https://bjw-s.github.io/helm-charts/
Apache License 2.0
591 stars 106 forks source link

Add support for networkpolicy #156

Closed dani-CO-CN closed 1 year ago

dani-CO-CN commented 1 year ago

Details

Describe the solution you'd like:

I could not find a way to add fully fledged networkpolicies (ingress/egress) to my workload.

Anything else you would like to add:

I found a way to deploy egress network policies by "hacking" them into the vpn addon, unfortunately it is only possible to add egress policies.

addons:
  vpn:
    enabled: true
    type: ""
    networkPolicy:
      enabled: true
      egress:
      - to:
        - ipBlock:
            cidr: 0.0.0.0/0

This config allowed me to get egress network policies, but unfortunately no ingress

Additional Information:

I would be interested in implementing this feature. Thank you for this great helm chart 🥳🙏

bjw-s commented 1 year ago

Thanks for the suggestion! I'll add this to the 2.0 rewrite backlog for sure!

bjw-s commented 1 year ago

I've added support in the 2.0 rewrite which should reach GA soon (it's currently out in beta).