Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump Envoy from 1.22.2 to 1.22.7 (backport #5982) #5989

Merged
merged 2 commits into from
Feb 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions mk/build.mk
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
BUILD_INFO_GIT_TAG ?= $(shell git describe --tags 2>/dev/null || echo unknown)
BUILD_INFO_GIT_COMMIT ?= $(shell git rev-parse HEAD 2>/dev/null || echo unknown)
BUILD_INFO_BUILD_DATE ?= $(shell date -u +"%Y-%m-%dT%H:%M:%SZ" || echo unknown)
BUILD_INFO_VERSION ?= $(shell $(TOOLS_DIR)/releases/version.sh)
build_info := $(shell $(TOOLS_DIR)/releases/version.sh)
BUILD_INFO_VERSION ?= $(word 1, $(build_info))

build_info_fields := \
version=$(BUILD_INFO_VERSION) \
gitTag=$(BUILD_INFO_GIT_TAG) \
gitCommit=$(BUILD_INFO_GIT_COMMIT) \
buildDate=$(BUILD_INFO_BUILD_DATE)
gitTag=$(word 2, $(build_info)) \
gitCommit=$(word 3, $(build_info)) \
buildDate=$(word 4, $(build_info)) \
Envoy=$(word 5, $(build_info))
build_info_ld_flags := $(foreach entry,$(build_info_fields), -X github.com/kumahq/kuma/pkg/version.$(entry))

LD_FLAGS := -ldflags="-s -w $(build_info_ld_flags) $(EXTRA_LD_FLAGS)"
Expand Down
5 changes: 4 additions & 1 deletion mk/envoy.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
KUMA_DIR ?= .

BUILD_ENVOY_FROM_SOURCES ?= false
ENVOY_TAG ?= v1.22.7
ENVOY_ARTIFACT_EXT ?=

ENVOY_TAG ?= v1.21.3 # commit hash or git tag
# Remember to update pkg/version/compatibility.go
Expand Down Expand Up @@ -45,8 +47,9 @@ ifeq ($(BUILD_ENVOY_FROM_SOURCES),true)
BAZEL_BUILD_EXTRA_OPTIONS=${BAZEL_BUILD_EXTRA_OPTIONS} \
BINARY_PATH=$@ ${KUMA_DIR}/tools/envoy/build_${ENVOY_DISTRO}.sh
else
ENVOY_VERSION=${ENVOY_VERSION} \
ENVOY_TAG=$(ENVOY_TAG) \
ENVOY_DISTRO=${ENVOY_DISTRO} \
ENVOY_ARTIFACT_EXT=${ENVOY_ARTIFACT_EXT} \
BINARY_PATH=$@ ${KUMA_DIR}/tools/envoy/fetch.sh
endif

Expand Down
2 changes: 2 additions & 0 deletions pkg/plugins/runtime/gateway/testdata/01-gateway-listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Resources:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
4 changes: 4 additions & 0 deletions pkg/plugins/runtime/gateway/testdata/02-gateway-listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Resources:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down Expand Up @@ -85,6 +87,8 @@ Resources:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
2 changes: 2 additions & 0 deletions pkg/plugins/runtime/gateway/testdata/03-gateway-listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Resources:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
2 changes: 2 additions & 0 deletions pkg/plugins/runtime/gateway/testdata/04-gateway-listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ Resources:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
8 changes: 8 additions & 0 deletions pkg/plugins/runtime/gateway/testdata/05-gateway-listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Resources:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down Expand Up @@ -101,6 +103,8 @@ Resources:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down Expand Up @@ -163,6 +167,8 @@ Resources:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down Expand Up @@ -223,6 +229,8 @@ Resources:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Listeners:
responseDirectionConfig:
disableOnEtagHeader: true
- name: envoy.filters.http.router
typedConfig:
'@type': type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
mergeSlashes: true
normalizePath: true
rds:
Expand Down
Loading