diff --git a/charts/hub-uploads/templates/netpol.yaml b/charts/hub-uploads/templates/netpol.yaml index 6bbc9b3..f3ba865 100644 --- a/charts/hub-uploads/templates/netpol.yaml +++ b/charts/hub-uploads/templates/netpol.yaml @@ -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: