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 <tin@irrational.io>
This commit is contained in:
parent
402a72d74d
commit
8e72ff7630
@ -3,6 +3,10 @@ manifests:
|
|||||||
network_policy:
|
network_policy:
|
||||||
nova:
|
nova:
|
||||||
egress:
|
egress:
|
||||||
|
- to:
|
||||||
|
- podSelector:
|
||||||
|
matchLabels:
|
||||||
|
application: nova
|
||||||
- to:
|
- to:
|
||||||
- ipBlock:
|
- ipBlock:
|
||||||
cidr: %%%REPLACE_API_ADDR%%%/32
|
cidr: %%%REPLACE_API_ADDR%%%/32
|
||||||
@ -11,9 +15,4 @@ network_policy:
|
|||||||
port: %%%REPLACE_API_PORT%%%
|
port: %%%REPLACE_API_PORT%%%
|
||||||
placement:
|
placement:
|
||||||
egress:
|
egress:
|
||||||
- to:
|
- {}
|
||||||
- ipBlock:
|
|
||||||
cidr: %%%REPLACE_API_ADDR%%%/32
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
port: %%%REPLACE_API_PORT%%%
|
|
||||||
|
Loading…
Reference in New Issue
Block a user