From 671348a674c7220c2aa56d9c1564989dedb17728 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Fri, 15 Sep 2023 13:23:23 +0300 Subject: [PATCH] asterisk: allow prometheus in network policy --- asterisk/network-policies.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/asterisk/network-policies.yml b/asterisk/network-policies.yml index b7c0d4d..3d772eb 100644 --- a/asterisk/network-policies.yml +++ b/asterisk/network-policies.yml @@ -11,6 +11,13 @@ spec: - Ingress - Egress ingress: + - from: + - namespaceSelector: + matchLabels: + kubernetes.io/metadata.name: monitoring + podSelector: + matchLabels: + app.kubernetes.io/name: prometheus - from: - ipBlock: cidr: 100.101.0.0/16