From 269c66fa80ac2f9f6a6bbb69eccf7aeebe18532f Mon Sep 17 00:00:00 2001 From: Alvaro Neira Ayuso Date: Thu, 29 Feb 2024 11:34:30 +0100 Subject: [PATCH] Add metrics port to allow ingress traffic in the netpols (#1473) **Description of the change** Include metrics port to allow ingress traffics when the network policies are enabled. **Benefits** Allow metrics traffic - fixes #1469 Signed-off-by: Alvaro Neira Ayuso --- helm/sealed-secrets/templates/networkpolicy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/sealed-secrets/templates/networkpolicy.yaml b/helm/sealed-secrets/templates/networkpolicy.yaml index 58f44b048..8816f22e7 100644 --- a/helm/sealed-secrets/templates/networkpolicy.yaml +++ b/helm/sealed-secrets/templates/networkpolicy.yaml @@ -14,6 +14,7 @@ spec: ingress: - ports: - port: {{ .Values.service.port }} + - port: {{ .Values.metrics.service.port }} {{- if .Values.networkPolicy.egress.enabled }} egress: - to: