mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
aca2c5de3f
Additionally: - wait for bootstrap config entries to be applied - run the verify container in the host's PID namespace so we can kill envoys without mounting the docker socket * assert that we actually send HEALTHY and UNHEALTHY endpoints down in EDS during failover
12 lines
225 B
Bash
12 lines
225 B
Bash
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Setup deny intention
|
|
docker_consul intention create -deny s1 s2
|
|
|
|
gen_envoy_bootstrap s1 19000
|
|
gen_envoy_bootstrap s2 19001
|
|
|
|
export REQUIRED_SERVICES="s1 s1-sidecar-proxy s2 s2-sidecar-proxy"
|