Skip to content
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

Add networkpolicy support #243

Merged

Conversation

sdaberdaku
Copy link
Member

@sdaberdaku sdaberdaku commented Oct 4, 2024

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.

@cla-bot cla-bot bot added the cla-signed label Oct 4, 2024
@sdaberdaku sdaberdaku marked this pull request as ready for review October 4, 2024 19:18
Copy link
Member

@nineinchnick nineinchnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so cool!

test-network-policy-values.yaml Outdated Show resolved Hide resolved
charts/trino/values.yaml Outdated Show resolved Hide resolved
charts/trino/values.yaml Outdated Show resolved Hide resolved
charts/trino/templates/networkpolicy.yaml Outdated Show resolved Hide resolved
charts/trino/values.yaml Outdated Show resolved Hide resolved
@sdaberdaku sdaberdaku force-pushed the feature/add-networkpolicy-support branch 4 times, most recently from 4294f51 to 7e57736 Compare October 5, 2024 22:33
@sdaberdaku sdaberdaku force-pushed the feature/add-networkpolicy-support branch 5 times, most recently from dc05770 to 88a64f0 Compare October 6, 2024 09:06
@sdaberdaku sdaberdaku marked this pull request as draft October 6, 2024 09:19
@sdaberdaku sdaberdaku force-pushed the feature/add-networkpolicy-support branch 2 times, most recently from fab7474 to c52cec5 Compare October 6, 2024 10:06
@sdaberdaku sdaberdaku force-pushed the feature/add-networkpolicy-support branch from c52cec5 to acdc512 Compare October 6, 2024 10:07
@sdaberdaku sdaberdaku marked this pull request as ready for review October 6, 2024 10:18
@sdaberdaku
Copy link
Member Author

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).

Copy link
Member

@nineinchnick nineinchnick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work, thank you!

@nineinchnick nineinchnick merged commit ec36344 into trinodb:main Oct 6, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants