Merge "Add horizon ingress override"
This commit is contained in:
commit
6e7b7bcdac
@ -1,2 +1,22 @@
|
||||
manifests:
|
||||
network_policy: true
|
||||
network_policy:
|
||||
horizon:
|
||||
ingress:
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: horizon
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: prometheus-openstack-exporter
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
application: ingress
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
- port: 443
|
||||
protocol: TCP
|
||||
|
@ -47,15 +47,21 @@ test_netpol openstack mariadb server keystone-api.openstack.svc.cluster.local:50
|
||||
test_netpol openstack mariadb ingress keystone-api.openstack.svc.cluster.local:5000 fail
|
||||
test_netpol openstack memcached server keystone-api.openstack.svc.cluster.local:5000 fail
|
||||
test_netpol openstack rabbitmq server keystone-api.openstack.svc.cluster.local:5000 fail
|
||||
|
||||
# Doing positive tests
|
||||
test_netpol openstack keystone api mariadb.openstack.svc.cluster.local:3306 success
|
||||
test_netpol openstack keystone api rabbitmq.openstack.svc.cluster.local:5672 success
|
||||
test_netpol openstack ingress server keystone-api.openstack.svc.cluster.local:5000 success
|
||||
test_netpol openstack prometheus-openstack-exporter exporter keystone-api.openstack.svc.cluster.local:5000 success
|
||||
|
||||
if kubectl -n openstack get pod -l application=horizon | grep Running ; then
|
||||
test_netpol openstack keystone api horizon.openstack.svc.cluster.local:80 fail
|
||||
fi
|
||||
|
||||
if kubectl -n openstack get pod -l application=cinder | grep Running ; then
|
||||
# Negative Cinder Tests
|
||||
#test_netpol openstack keystone api cinder-api.openstack.svc.cluster.local fail
|
||||
test_netpol openstack cinder api horizon.openstack.svc.cluster.local:80 fail
|
||||
# Positive Cinder Tests
|
||||
test_netpol openstack cinder api rabbitmq.openstack.svc.cluster.local:5672 success
|
||||
test_netpol openstack cinder api keystone-api.openstack.svc.cluster.local:5000 success
|
||||
|
@ -289,12 +289,12 @@
|
||||
- ./tools/deployment/component/nfs-provisioner/nfs-provisioner.sh
|
||||
- ./tools/deployment/component/keystone/keystone.sh
|
||||
- ./tools/deployment/component/heat/heat.sh
|
||||
- ./tools/deployment/component/horizon/horizon.sh
|
||||
- ./tools/deployment/component/glance/glance.sh
|
||||
- ./tools/deployment/component/compute-kit/openvswitch.sh
|
||||
- ./tools/deployment/component/compute-kit/libvirt.sh
|
||||
- ./tools/deployment/component/compute-kit/compute-kit.sh
|
||||
- ./tools/deployment/developer/common/170-setup-gateway.sh
|
||||
- ./tools/deployment/component/horizon/horizon.sh
|
||||
- ./tools/deployment/common/openstack-exporter.sh
|
||||
- ./tools/deployment/developer/common/900-use-it.sh
|
||||
- ./tools/deployment/common/test-networkpolicy.sh
|
||||
@ -323,6 +323,7 @@
|
||||
- ./tools/deployment/component/common/rabbitmq.sh
|
||||
- ./tools/deployment/component/keystone/keystone.sh
|
||||
- ./tools/deployment/component/cinder/cinder.sh
|
||||
- ./tools/deployment/component/horizon/horizon.sh
|
||||
- ./tools/deployment/common/openstack-exporter.sh
|
||||
- ./tools/deployment/common/test-networkpolicy.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user