mirror of https://github.com/status-im/consul.git
connect: Add support for Envoy 1.23, remove 1.19 (#13807)
This commit is contained in:
parent
77afe0e76e
commit
4116537b83
|
@ -0,0 +1,6 @@
|
|||
```release-note: improvement
|
||||
connect: Add Envoy 1.23.0 to support matrix
|
||||
```
|
||||
```release-note: breaking-change
|
||||
connect: Removes support for Envoy 1.19
|
||||
```
|
|
@ -24,9 +24,10 @@ references:
|
|||
VAULT_BINARY_VERSION: 1.9.4
|
||||
GO_VERSION: 1.18.1
|
||||
envoy-versions: &supported_envoy_versions
|
||||
- &default_envoy_version "1.19.5"
|
||||
- "1.20.4"
|
||||
- "1.21.3"
|
||||
- &default_envoy_version "1.20.6"
|
||||
- "1.21.4"
|
||||
- "1.22.2"
|
||||
- "1.23.0"
|
||||
images:
|
||||
# When updating the Go version, remember to also update the versions in the
|
||||
# workflows section for go-test-lib jobs.
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
var (
|
||||
// minSupportedVersion is the oldest mainline version we support. This should always be
|
||||
// the zero'th point release of the last element of proxysupport.EnvoyVersions.
|
||||
minSupportedVersion = version.Must(version.NewVersion("1.19.0"))
|
||||
minSupportedVersion = version.Must(version.NewVersion("1.20.0"))
|
||||
|
||||
specificUnsupportedVersions = []unsupportedVersion{}
|
||||
)
|
||||
|
|
|
@ -120,6 +120,7 @@ func TestDetermineSupportedProxyFeaturesFromString(t *testing.T) {
|
|||
"1.16.6": {expectErr: "Envoy 1.16.6 " + errTooOld},
|
||||
"1.17.4": {expectErr: "Envoy 1.17.4 " + errTooOld},
|
||||
"1.18.6": {expectErr: "Envoy 1.18.6 " + errTooOld},
|
||||
"1.19.5": {expectErr: "Envoy 1.19.5 " + errTooOld},
|
||||
}
|
||||
|
||||
// Insert a bunch of valid versions.
|
||||
|
@ -134,10 +135,10 @@ func TestDetermineSupportedProxyFeaturesFromString(t *testing.T) {
|
|||
}
|
||||
*/
|
||||
for _, v := range []string{
|
||||
"1.19.0", "1.19.1", "1.19.2", "1.19.3", "1.19.4", "1.19.5",
|
||||
"1.20.0", "1.20.1", "1.20.2", "1.20.3", "1.20.4",
|
||||
"1.21.0", "1.21.1", "1.21.2", "1.21.3",
|
||||
"1.20.0", "1.20.1", "1.20.2", "1.20.3", "1.20.4", "1.20.5", "1.20.6",
|
||||
"1.21.0", "1.21.1", "1.21.2", "1.21.3", "1.21.4",
|
||||
"1.22.0", "1.22.1", "1.22.2",
|
||||
"1.23.0",
|
||||
} {
|
||||
cases[v] = testcase{expect: supportedProxyFeatures{}}
|
||||
}
|
||||
|
|
|
@ -7,8 +7,8 @@ package proxysupport
|
|||
//
|
||||
// see: https://www.consul.io/docs/connect/proxies/envoy#supported-versions
|
||||
var EnvoyVersions = []string{
|
||||
"1.23.0",
|
||||
"1.22.2",
|
||||
"1.21.3",
|
||||
"1.20.4",
|
||||
"1.19.5",
|
||||
"1.21.4",
|
||||
"1.20.6",
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ DEBUG=${DEBUG:-}
|
|||
XDS_TARGET=${XDS_TARGET:-server}
|
||||
|
||||
# ENVOY_VERSION to run each test against
|
||||
ENVOY_VERSION=${ENVOY_VERSION:-"1.22.2"}
|
||||
ENVOY_VERSION=${ENVOY_VERSION:-"1.23.0"}
|
||||
export ENVOY_VERSION
|
||||
|
||||
export DOCKER_BUILDKIT=1
|
||||
|
|
Loading…
Reference in New Issue