diff --git a/charts/hub-gateway/Chart.yaml b/charts/hub-gateway/Chart.yaml index ddfc721..e61e5e2 100644 --- a/charts/hub-gateway/Chart.yaml +++ b/charts/hub-gateway/Chart.yaml @@ -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 diff --git a/charts/hub-gateway/templates/netpol.yaml b/charts/hub-gateway/templates/netpol.yaml index fc49e3a..d4cc695 100644 --- a/charts/hub-gateway/templates/netpol.yaml +++ b/charts/hub-gateway/templates/netpol.yaml @@ -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: