Skip to content

Commit db4b48b

Browse files
authored
Merge pull request #156 from holaplex/mpw/gw-netpol
add hub-uploads to gw netpolicy
2 parents f6bbbab + 893859f commit db4b48b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

charts/hub-gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 0.24.2
21+
version: 0.24.3
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to

charts/hub-gateway/templates/netpol.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ spec:
6363
ports:
6464
- port: 3000
6565
protocol: TCP
66+
- to:
67+
- namespaceSelector:
68+
matchLabels:
69+
kubernetes.io/metadata.name: {{ .Values.hubNamespace }}
70+
podSelector:
71+
matchLabels:
72+
app.kubernetes.io/name: hub-uploads
73+
ports:
74+
- port: 3000
75+
protocol: TCP
6676
- to:
6777
- podSelector:
6878
matchLabels:

0 commit comments

Comments
 (0)