trinodb / charts

Apache License 2.0
151 stars 173 forks source link

Add `networkpolicy` support #243

Closed sdaberdaku closed 1 month ago

sdaberdaku commented 1 month ago

This PR adds Network Policy support to the chart. Network policies are useful to protect Trino pods from unauthorized access from other Pods within the Kubernetes cluster.

sdaberdaku commented 1 month ago

Hello @nineinchnick,

PR should be ready now! I also added a label to make NetworkPolicy targets explicitly distinguishable since the selectorLabels were used also in test Pods (which would then be included as policy targets as well).