Skip to content

Commit

Permalink
add hub-uploads to gw netpolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Oct 6, 2023
1 parent f6bbbab commit 893859f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/hub-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.24.2
version: 0.24.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 10 additions & 0 deletions charts/hub-gateway/templates/netpol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ spec:
ports:
- port: 3000
protocol: TCP
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: {{ .Values.hubNamespace }}
podSelector:
matchLabels:
app.kubernetes.io/name: hub-uploads
ports:
- port: 3000
protocol: TCP
- to:
- podSelector:
matchLabels:
Expand Down

0 comments on commit 893859f

Please sign in to comment.