mirror of
https://github.com/optim-enterprises-bv/openstack-helm-infra.git
synced 2026-01-09 17:01:34 +00:00
This updates the network policy test that gets executed at the conclusion of the network-policy job. As long as nsenter is used, we need to account for situations where nsenter executing wget fails due to invalid credentials. Since this validates the policy successfully allows ingress traffic while still exiting with an error code (6 for invalid credentials vs 4 for connection timeouts), we should consider those scenarios successes. This also updates the flags used for wget. Instead of using spider mode, this enables flags for: recursive mode, not creating directories, and deleting results after execution. This allows for the testing of exporter endpoint paths explicitly. Change-Id: I2d51e8ed5a153c2a6796e0df9b3fe5f710a947f9