Skip to content

Commit

Permalink
allow ingress traffic from gw on hub-uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Oct 4, 2023
1 parent 6484c80 commit a0fc207
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/hub-uploads/templates/netpol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ spec:
{{ toYaml .Values.networkPolicies.extraEgress | indent 4 }}
{{- end }}
ingress:
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: ingress-apisix
podSelector:
matchLabels:
app.kubernetes.io/name: apisix
ports:
- port: {{ .Values.environment.port }}
protocol: TCP
- from:
- podSelector:
matchLabels:
Expand Down

0 comments on commit a0fc207

Please sign in to comment.