Horizon: add tcp port to network policy for nodeport

This patch fixes the network policy issue when use nodeport mode.
If you enable node port witout this patch, it will block by network policy.
so should be allowed tcp port of horizon when use nodeport.

Change-Id: I5e2622c29c6a32ab6d1c5d99d84d4f13382dab65
Signed-off-by: Hyunkook Cho <hk0713.cho@samsung.com>
This commit is contained in:
Hyunkook Cho 2018-12-21 09:07:48 +09:00
parent ed0c92eca0
commit 642d26cf4d
1 changed files with 3 additions and 0 deletions

View File

@ -2087,6 +2087,9 @@ network_policy:
- namespaceSelector:
matchLabels:
name: kube-system
- ports:
- protocol: TCP
port: 80
manifests:
configmap_bin: true