hs-test: fill configuration files at runtime 67/38367/3
authorMaros Ondrejicka <mondreji@cisco.com>
Tue, 28 Feb 2023 11:49:43 +0000 (12:49 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 28 Feb 2023 22:13:21 +0000 (22:13 +0000)
commit85396a5488264690c7da2684742e4a5f38d192a7
treed9afdf5bb8a7fd965adb2c3d4aa4111b7abb02d7
parent729b9c94f8222346a61c21d21a674bcb9b5974f8
hs-test: fill configuration files at runtime

Treat certain configuration files, which contain runtime-dependent
information, as templates. The information is filled at runtime and the
files are copied into containers.
This allows to avoid hard-coding IP addresses into configuration files.

Type: test
Signed-off-by: Maros Ondrejicka <mondreji@cisco.com>
Change-Id: I1dae8f15f4f76c0bf1779d7c68b7f3859bf5a861
extras/hs-test/container.go
extras/hs-test/proxy_test.go
extras/hs-test/resources/envoy/proxy.yaml
extras/hs-test/resources/nginx/nginx_proxy_mirroring.conf
extras/hs-test/suite_nginx_test.go
extras/hs-test/topo-containers/ns.yaml