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

Allow configurable egress for server network policy #389

Merged
merged 6 commits into from
Dec 16, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Allow configurable egress
  • Loading branch information
corest committed Sep 18, 2020
commit 54abf5981e77bd971aafcdd31ff8e5537d7407f3
4 changes: 4 additions & 0 deletions templates/server-network-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ spec:
protocol: TCP
- port: 8201
protocol: TCP
{{- if .Values.server.networkPolicy.egress }}
egress:
- {}
{{ end }}
{{ end }}
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ server:
# Enables network policy for server pods
networkPolicy:
enabled: false
egress: false

# Priority class for server pods
priorityClassName: ""
Expand Down