mirror of https://github.com/status-im/consul.git
connect: update supported envoy point releases to 1.16.2, 1.15.3, 1.14.6, 1.13.7 (#9737)
This commit is contained in:
parent
9aa8081e42
commit
6eeccc93ce
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:improvement
|
||||||
|
connect: update supported envoy point releases to 1.16.2, 1.15.3, 1.14.6, 1.13.7
|
||||||
|
```
|
|
@ -779,14 +779,14 @@ jobs:
|
||||||
command: bash <(curl -s https://codecov.io/bash) -v -c -C $CIRCLE_SHA1 -F ui
|
command: bash <(curl -s https://codecov.io/bash) -v -c -C $CIRCLE_SHA1 -F ui
|
||||||
- run: *notify-slack-failure
|
- run: *notify-slack-failure
|
||||||
|
|
||||||
envoy-integration-test-1_13_6: &ENVOY_TESTS
|
envoy-integration-test-1_13_7: &ENVOY_TESTS
|
||||||
docker:
|
docker:
|
||||||
# We only really need bash and docker-compose which is installed on all
|
# We only really need bash and docker-compose which is installed on all
|
||||||
# Circle images but pick Go since we have to pick one of them.
|
# Circle images but pick Go since we have to pick one of them.
|
||||||
- image: *GOLANG_IMAGE
|
- image: *GOLANG_IMAGE
|
||||||
parallelism: 2
|
parallelism: 2
|
||||||
environment:
|
environment:
|
||||||
ENVOY_VERSION: "1.13.6"
|
ENVOY_VERSION: "1.13.7"
|
||||||
steps: &ENVOY_INTEGRATION_TEST_STEPS
|
steps: &ENVOY_INTEGRATION_TEST_STEPS
|
||||||
- checkout
|
- checkout
|
||||||
# Get go binary from workspace
|
# Get go binary from workspace
|
||||||
|
@ -819,20 +819,20 @@ jobs:
|
||||||
path: *TEST_RESULTS_DIR
|
path: *TEST_RESULTS_DIR
|
||||||
- run: *notify-slack-failure
|
- run: *notify-slack-failure
|
||||||
|
|
||||||
envoy-integration-test-1_14_5:
|
envoy-integration-test-1_14_6:
|
||||||
<<: *ENVOY_TESTS
|
<<: *ENVOY_TESTS
|
||||||
environment:
|
environment:
|
||||||
ENVOY_VERSION: "1.14.5"
|
ENVOY_VERSION: "1.14.6"
|
||||||
|
|
||||||
envoy-integration-test-1_15_2:
|
envoy-integration-test-1_15_3:
|
||||||
<<: *ENVOY_TESTS
|
<<: *ENVOY_TESTS
|
||||||
environment:
|
environment:
|
||||||
ENVOY_VERSION: "1.15.2"
|
ENVOY_VERSION: "1.15.3"
|
||||||
|
|
||||||
envoy-integration-test-1_16_0:
|
envoy-integration-test-1_16_2:
|
||||||
<<: *ENVOY_TESTS
|
<<: *ENVOY_TESTS
|
||||||
environment:
|
environment:
|
||||||
ENVOY_VERSION: "1.16.0"
|
ENVOY_VERSION: "1.16.2"
|
||||||
|
|
||||||
# run integration tests for the connect ca providers
|
# run integration tests for the connect ca providers
|
||||||
test-connect-ca-providers:
|
test-connect-ca-providers:
|
||||||
|
@ -1042,16 +1042,16 @@ workflows:
|
||||||
- nomad-integration-0_8:
|
- nomad-integration-0_8:
|
||||||
requires:
|
requires:
|
||||||
- dev-build
|
- dev-build
|
||||||
- envoy-integration-test-1_13_6:
|
- envoy-integration-test-1_13_7:
|
||||||
requires:
|
requires:
|
||||||
- dev-build
|
- dev-build
|
||||||
- envoy-integration-test-1_14_5:
|
- envoy-integration-test-1_14_6:
|
||||||
requires:
|
requires:
|
||||||
- dev-build
|
- dev-build
|
||||||
- envoy-integration-test-1_15_2:
|
- envoy-integration-test-1_15_3:
|
||||||
requires:
|
requires:
|
||||||
- dev-build
|
- dev-build
|
||||||
- envoy-integration-test-1_16_0:
|
- envoy-integration-test-1_16_2:
|
||||||
requires:
|
requires:
|
||||||
- dev-build
|
- dev-build
|
||||||
website:
|
website:
|
||||||
|
|
|
@ -99,9 +99,10 @@ func TestDetermineSupportedProxyFeaturesFromString(t *testing.T) {
|
||||||
|
|
||||||
// Insert a bunch of valid versions.
|
// Insert a bunch of valid versions.
|
||||||
for _, v := range []string{
|
for _, v := range []string{
|
||||||
"1.13.1", "1.13.2", "1.13.3", "1.13.4", "1.13.6", "1.14.1",
|
"1.13.1", "1.13.2", "1.13.3", "1.13.4", "1.13.6", "1.13.7",
|
||||||
"1.14.2", "1.14.3", "1.14.4", "1.14.5",
|
"1.14.1", "1.14.2", "1.14.3", "1.14.4", "1.14.5", "1.14.6",
|
||||||
"1.15.0", "1.15.1", "1.15.2", "1.16.0",
|
"1.15.0", "1.15.1", "1.15.2", "1.15.3",
|
||||||
|
"1.16.0", "1.16.1", "1.16.2",
|
||||||
} {
|
} {
|
||||||
cases[v] = testcase{expect: supportedProxyFeatures{}}
|
cases[v] = testcase{expect: supportedProxyFeatures{}}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,8 +7,8 @@ package proxysupport
|
||||||
//
|
//
|
||||||
// see: https://www.consul.io/docs/connect/proxies/envoy#supported-versions
|
// see: https://www.consul.io/docs/connect/proxies/envoy#supported-versions
|
||||||
var EnvoyVersions = []string{
|
var EnvoyVersions = []string{
|
||||||
"1.16.0",
|
"1.16.2",
|
||||||
"1.15.2",
|
"1.15.3",
|
||||||
"1.14.5",
|
"1.14.6",
|
||||||
"1.13.6",
|
"1.13.7",
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,4 +133,4 @@
|
||||||
],
|
],
|
||||||
"typeUrl": "type.googleapis.com/envoy.api.v2.Listener",
|
"typeUrl": "type.googleapis.com/envoy.api.v2.Listener",
|
||||||
"nonce": "00000001"
|
"nonce": "00000001"
|
||||||
}
|
}
|
|
@ -133,4 +133,4 @@
|
||||||
],
|
],
|
||||||
"typeUrl": "type.googleapis.com/envoy.api.v2.Listener",
|
"typeUrl": "type.googleapis.com/envoy.api.v2.Listener",
|
||||||
"nonce": "00000001"
|
"nonce": "00000001"
|
||||||
}
|
}
|
|
@ -133,4 +133,4 @@
|
||||||
],
|
],
|
||||||
"typeUrl": "type.googleapis.com/envoy.api.v2.Listener",
|
"typeUrl": "type.googleapis.com/envoy.api.v2.Listener",
|
||||||
"nonce": "00000001"
|
"nonce": "00000001"
|
||||||
}
|
}
|
|
@ -133,4 +133,4 @@
|
||||||
],
|
],
|
||||||
"typeUrl": "type.googleapis.com/envoy.api.v2.Listener",
|
"typeUrl": "type.googleapis.com/envoy.api.v2.Listener",
|
||||||
"nonce": "00000001"
|
"nonce": "00000001"
|
||||||
}
|
}
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "ingress-gateway",
|
"id": "ingress-gateway",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "ingress-gateway",
|
"id": "ingress-gateway",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "my-gateway-123",
|
"id": "my-gateway-123",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "my-gateway",
|
"id": "my-gateway",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "ingress-gateway-1",
|
"id": "ingress-gateway-1",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"id": "test-proxy",
|
"id": "test-proxy",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"namespace": "default",
|
"namespace": "default",
|
||||||
"envoy_version": "1.16.0"
|
"envoy_version": "1.16.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"static_resources": {
|
"static_resources": {
|
||||||
|
|
|
@ -10,7 +10,7 @@ readonly HASHICORP_DOCKER_PROXY="docker.mirror.hashicorp.services"
|
||||||
DEBUG=${DEBUG:-}
|
DEBUG=${DEBUG:-}
|
||||||
|
|
||||||
# ENVOY_VERSION to run each test against
|
# ENVOY_VERSION to run each test against
|
||||||
ENVOY_VERSION=${ENVOY_VERSION:-"1.16.0"}
|
ENVOY_VERSION=${ENVOY_VERSION:-"1.16.2"}
|
||||||
export ENVOY_VERSION
|
export ENVOY_VERSION
|
||||||
|
|
||||||
if [ ! -z "$DEBUG" ] ; then
|
if [ ! -z "$DEBUG" ] ; then
|
||||||
|
|
|
@ -18,15 +18,20 @@ versions=(
|
||||||
1.13.3
|
1.13.3
|
||||||
1.13.4
|
1.13.4
|
||||||
1.13.6
|
1.13.6
|
||||||
|
1.13.7
|
||||||
1.14.1
|
1.14.1
|
||||||
1.14.2
|
1.14.2
|
||||||
1.14.3
|
1.14.3
|
||||||
1.14.4
|
1.14.4
|
||||||
1.14.5
|
1.14.5
|
||||||
|
1.14.6
|
||||||
1.15.0
|
1.15.0
|
||||||
1.15.1
|
1.15.1
|
||||||
1.15.2
|
1.15.2
|
||||||
|
1.15.3
|
||||||
1.16.0
|
1.16.0
|
||||||
|
1.16.1
|
||||||
|
1.16.2
|
||||||
)
|
)
|
||||||
|
|
||||||
for v in "${versions[@]}"; do
|
for v in "${versions[@]}"; do
|
||||||
|
|
|
@ -74,7 +74,7 @@ proxy configuration needed.
|
||||||
allowed to access by [Connect intentions](/docs/connect/intentions).
|
allowed to access by [Connect intentions](/docs/connect/intentions).
|
||||||
|
|
||||||
- `-envoy-version` - The version of envoy that is being started. Default is
|
- `-envoy-version` - The version of envoy that is being started. Default is
|
||||||
`1.16.0`. This is required so that the correct configuration can be generated.
|
`1.16.2`. This is required so that the correct configuration can be generated.
|
||||||
|
|
||||||
- `-no-central-config` - By default the proxy's bootstrap configuration can be
|
- `-no-central-config` - By default the proxy's bootstrap configuration can be
|
||||||
customized centrally. This requires that the command run on the same agent
|
customized centrally. This requires that the command run on the same agent
|
||||||
|
|
|
@ -35,9 +35,9 @@ compatible Envoy versions.
|
||||||
|
|
||||||
| Consul Version | Compatible Envoy Versions |
|
| Consul Version | Compatible Envoy Versions |
|
||||||
| ------------------- | -------------------------------- |
|
| ------------------- | -------------------------------- |
|
||||||
| 1.9.x | 1.16.0, 1.15.2, 1.14.5‡, 1.13.6‡ |
|
| 1.9.x | 1.16.2, 1.15.3, 1.14.6‡, 1.13.7‡ |
|
||||||
| 1.8.x | 1.14.5, 1.13.6, 1.12.7, 1.11.2 |
|
| 1.8.x | 1.14.6, 1.13.7, 1.12.7, 1.11.2 |
|
||||||
| 1.7.x | 1.13.6, 1.12.7, 1.11.2, 1.10.0\* |
|
| 1.7.x | 1.13.7, 1.12.7, 1.11.2, 1.10.0\* |
|
||||||
| 1.6.x, 1.5.3, 1.5.2 | 1.11.1, 1.10.0, 1.9.1, 1.8.0† |
|
| 1.6.x, 1.5.3, 1.5.2 | 1.11.1, 1.10.0, 1.9.1, 1.8.0† |
|
||||||
| 1.5.1, 1.5.0 | 1.9.1, 1.8.0† |
|
| 1.5.1, 1.5.0 | 1.9.1, 1.8.0† |
|
||||||
| 1.4.x, 1.3.x | 1.9.1, 1.8.0†, 1.7.0† |
|
| 1.4.x, 1.3.x | 1.9.1, 1.8.0†, 1.7.0† |
|
||||||
|
|
Loading…
Reference in New Issue