Merge "Fix compute-kit netpol job"

This commit is contained in:
Zuul 2020-01-29 22:46:07 +00:00 committed by Gerrit Code Review
commit 406ee0065b

View File

@ -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%%%