From adb617ab604a8a901dbf60140f30570905ea5281 Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Mon, 25 Nov 2019 15:55:06 -0600 Subject: [PATCH] Add barbican egress This patch set specifies the barbican egress in the override to be inline with other services. Change-Id: Ie4997a5bb476a21253e98e4c69a77e58b8498f4f Signed-off-by: Tin Lam Signed-off-by: Tin Lam --- barbican/values_overrides/netpol.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/barbican/values_overrides/netpol.yaml b/barbican/values_overrides/netpol.yaml index 6f887552a6..47cadd5e60 100644 --- a/barbican/values_overrides/netpol.yaml +++ b/barbican/values_overrides/netpol.yaml @@ -26,4 +26,9 @@ network_policy: - protocol: TCP port: 9311 egress: - - {} + - to: + - ipBlock: + cidr: %%%REPLACE_API_ADDR%%%/32 + ports: + - protocol: TCP + port: %%%REPLACE_API_PORT%%%