Skip to content

Commit

Permalink
Merge pull request #156 from holaplex/mpw/gw-netpol
Browse files Browse the repository at this point in the history
add hub-uploads to gw netpolicy
  • Loading branch information
mpwsh authored Oct 6, 2023
2 parents f6bbbab + 893859f commit db4b48b
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 db4b48b

Please sign in to comment.