From 0cfa4e0bddf802d629407c7dd035b4e3e4d0b618 Mon Sep 17 00:00:00 2001 From: "cryptophys.adm" Date: Sun, 1 Feb 2026 16:30:22 +0000 Subject: [PATCH] Add helm/templates/networkpolicy.yaml --- helm/templates/networkpolicy.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 helm/templates/networkpolicy.yaml diff --git a/helm/templates/networkpolicy.yaml b/helm/templates/networkpolicy.yaml new file mode 100644 index 0000000..7c015dc --- /dev/null +++ b/helm/templates/networkpolicy.yaml @@ -0,0 +1,16 @@ +apiVersion: cilium.io/v2 +kind: CiliumNetworkPolicy +metadata: + name: {{ .Release.Name }}-allow-ingress +spec: + endpointSelector: + matchLabels: + app: mcp-server + ingress: + - fromEntities: + - host + - remote-node + toPorts: + - ports: + - port: "{{ .Values.service.targetPort }}" + protocol: TCP