mirror of https://github.com/status-im/consul.git
connect: update envoy supported versions to latest patch release
(#10961) Relevant advisory: https://github.com/envoyproxy/envoy/security/advisories/GHSA-6g4j-5vrw-2m8h
This commit is contained in:
parent
1a45e96307
commit
8d83d27674
|
@ -0,0 +1,3 @@
|
|||
```release-note:improvement
|
||||
connect: update supported envoy versions to 1.18.4, 1.17.4, 1.16.5
|
||||
```
|
|
@ -826,26 +826,26 @@ jobs:
|
|||
ENVOY_VERSION: "1.15.5"
|
||||
TEST_V2_XDS: "1"
|
||||
|
||||
envoy-integration-test-1_16_4:
|
||||
envoy-integration-test-1_16_5:
|
||||
<<: *ENVOY_TESTS
|
||||
environment:
|
||||
ENVOY_VERSION: "1.16.4"
|
||||
ENVOY_VERSION: "1.16.5"
|
||||
|
||||
envoy-integration-test-1_16_4-v2compat:
|
||||
envoy-integration-test-1_16_5-v2compat:
|
||||
<<: *ENVOY_TESTS
|
||||
environment:
|
||||
ENVOY_VERSION: "1.16.4"
|
||||
ENVOY_VERSION: "1.16.5"
|
||||
TEST_V2_XDS: "1"
|
||||
|
||||
envoy-integration-test-1_17_3:
|
||||
envoy-integration-test-1_17_4:
|
||||
<<: *ENVOY_TESTS
|
||||
environment:
|
||||
ENVOY_VERSION: "1.17.3"
|
||||
ENVOY_VERSION: "1.17.4"
|
||||
|
||||
envoy-integration-test-1_18_3:
|
||||
envoy-integration-test-1_18_4:
|
||||
<<: *ENVOY_TESTS
|
||||
environment:
|
||||
ENVOY_VERSION: "1.18.3"
|
||||
ENVOY_VERSION: "1.18.4"
|
||||
|
||||
# run integration tests for the connect ca providers
|
||||
test-connect-ca-providers:
|
||||
|
@ -1093,16 +1093,16 @@ workflows:
|
|||
- envoy-integration-test-1_15_5-v2compat:
|
||||
requires:
|
||||
- dev-build
|
||||
- envoy-integration-test-1_16_4:
|
||||
- envoy-integration-test-1_16_5:
|
||||
requires:
|
||||
- dev-build
|
||||
- envoy-integration-test-1_16_4-v2compat:
|
||||
- envoy-integration-test-1_16_5-v2compat:
|
||||
requires:
|
||||
- dev-build
|
||||
- envoy-integration-test-1_17_3:
|
||||
- envoy-integration-test-1_17_4:
|
||||
requires:
|
||||
- dev-build
|
||||
- envoy-integration-test-1_18_3:
|
||||
- envoy-integration-test-1_18_4:
|
||||
requires:
|
||||
- dev-build
|
||||
|
||||
|
|
|
@ -118,9 +118,9 @@ func TestDetermineSupportedProxyFeaturesFromString(t *testing.T) {
|
|||
}}
|
||||
}
|
||||
for _, v := range []string{
|
||||
"1.16.0", "1.16.1", "1.16.2", "1.16.3", "1.16.4",
|
||||
"1.17.0", "1.17.1", "1.17.2", "1.17.3",
|
||||
"1.18.0", "1.18.1", "1.18.2", "1.18.3",
|
||||
"1.16.0", "1.16.1", "1.16.2", "1.16.3", "1.16.4", "1.16.5",
|
||||
"1.17.0", "1.17.1", "1.17.2", "1.17.3", "1.17.4",
|
||||
"1.18.0", "1.18.1", "1.18.2", "1.18.3", "1.18.4",
|
||||
} {
|
||||
cases[v] = testcase{expect: supportedProxyFeatures{}}
|
||||
}
|
||||
|
|
|
@ -7,13 +7,13 @@ package proxysupport
|
|||
//
|
||||
// see: https://www.consul.io/docs/connect/proxies/envoy#supported-versions
|
||||
var EnvoyVersions = []string{
|
||||
"1.18.3",
|
||||
"1.17.3",
|
||||
"1.16.4",
|
||||
"1.18.4",
|
||||
"1.17.4",
|
||||
"1.16.5",
|
||||
"1.15.5",
|
||||
}
|
||||
|
||||
var EnvoyVersionsV2 = []string{
|
||||
"1.16.4",
|
||||
"1.16.5",
|
||||
"1.15.5",
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "ingress-gateway",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "ingress-gateway",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "my-gateway-123",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "my-gateway",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "ingress-gateway-1",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"id": "test-proxy",
|
||||
"metadata": {
|
||||
"namespace": "default",
|
||||
"envoy_version": "1.18.3"
|
||||
"envoy_version": "1.18.4"
|
||||
}
|
||||
},
|
||||
"static_resources": {
|
||||
|
|
|
@ -9,7 +9,7 @@ readonly HASHICORP_DOCKER_PROXY="docker.mirror.hashicorp.services"
|
|||
# DEBUG=1 enables set -x for this script so echos every command run
|
||||
DEBUG=${DEBUG:-}
|
||||
|
||||
OLD_XDSV2_AWARE_CONSUL_VERSION="${OLD_XDSV2_AWARE_CONSUL_VERSION:-"${HASHICORP_DOCKER_PROXY}/library/consul:1.9.5"}"
|
||||
OLD_XDSV2_AWARE_CONSUL_VERSION="${OLD_XDSV2_AWARE_CONSUL_VERSION:-"${HASHICORP_DOCKER_PROXY}/library/consul:1.9.8"}"
|
||||
export OLD_XDSV2_AWARE_CONSUL_VERSION
|
||||
|
||||
# TEST_V2_XDS=1 causes it to do just the 'consul connect envoy' part using
|
||||
|
@ -18,7 +18,7 @@ TEST_V2_XDS=${TEST_V2_XDS:-}
|
|||
export TEST_V2_XDS
|
||||
|
||||
# ENVOY_VERSION to run each test against
|
||||
ENVOY_VERSION=${ENVOY_VERSION:-"1.18.3"}
|
||||
ENVOY_VERSION=${ENVOY_VERSION:-"1.18.4"}
|
||||
export ENVOY_VERSION
|
||||
|
||||
if [ ! -z "$DEBUG" ] ; then
|
||||
|
@ -27,7 +27,7 @@ fi
|
|||
|
||||
if [[ -n "$TEST_V2_XDS" ]] ; then
|
||||
if [[ ! "${ENVOY_VERSION}" =~ ^1\.1[456]\. ]]; then
|
||||
echo "Envoy version ${ENVOY_VERSION} is not compatible with Consul 1.9.1 so we cannot test the xDS v2 fallback code"
|
||||
echo "Envoy version ${ENVOY_VERSION} is not compatible with Consul 1.9.8 so we cannot test the xDS v2 fallback code"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -75,7 +75,7 @@ proxy configuration needed.
|
|||
allowed to access by [Connect intentions](/docs/connect/intentions).
|
||||
|
||||
- `-envoy-version` - The version of envoy that is being started. Default is
|
||||
`1.18.3`. This is required so that the correct configuration can be generated.
|
||||
`1.18.4`. This is required so that the correct configuration can be generated.
|
||||
|
||||
- `-no-central-config` - By default the proxy's bootstrap configuration can be
|
||||
customized centrally. This requires that the command run on the same agent
|
||||
|
|
|
@ -35,8 +35,8 @@ compatible Envoy versions.
|
|||
|
||||
| Consul Version | Compatible Envoy Versions |
|
||||
| ------------------- | ------------------------------------------------------ |
|
||||
| 1.10.x | 1.18.3, 1.17.3, 1.16.4, 1.15.5 |
|
||||
| 1.9.x | 1.16.4, 1.15.5, 1.14.7<sup>1</sup>, 1.13.7<sup>1</sup> |
|
||||
| 1.10.x | 1.18.4, 1.17.4, 1.16.5, 1.15.5 |
|
||||
| 1.9.x | 1.16.5, 1.15.5, 1.14.7<sup>1</sup>, 1.13.7<sup>1</sup> |
|
||||
| 1.8.x | 1.14.7, 1.13.7, 1.12.7, 1.11.2 |
|
||||
| 1.7.x | 1.13.7, 1.12.7, 1.11.2, 1.10.0<sup>2</sup> |
|
||||
| 1.6.x, 1.5.3, 1.5.2 | 1.11.1, 1.10.0, 1.9.1, 1.8.0<sup>3</sup> |
|
||||
|
|
Loading…
Reference in New Issue