From 8e72ff763061c3dcb23211fb1e362a280bbdebbc Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Thu, 23 Jan 2020 08:49:33 -0600 Subject: [PATCH] Fix compute-kit netpol job This patch set addresses a failure in the compute-kit network policy failing as some application:nova to application:nova pods communication is blocked. Change-Id: I29cc044e0d4f10198c23c7c3e132ab0093f91e21 Signed-off-by: Tin Lam --- nova/values_overrides/netpol.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/nova/values_overrides/netpol.yaml b/nova/values_overrides/netpol.yaml index f845215f22..9cf548ef36 100644 --- a/nova/values_overrides/netpol.yaml +++ b/nova/values_overrides/netpol.yaml @@ -3,6 +3,10 @@ manifests: network_policy: nova: egress: + - to: + - podSelector: + matchLabels: + application: nova - to: - ipBlock: cidr: %%%REPLACE_API_ADDR%%%/32 @@ -11,9 +15,4 @@ network_policy: port: %%%REPLACE_API_PORT%%% placement: egress: - - to: - - ipBlock: - cidr: %%%REPLACE_API_ADDR%%%/32 - ports: - - protocol: TCP - port: %%%REPLACE_API_PORT%%% + - {}