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

sync from master. #108

Merged
merged 98 commits into from
Jul 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
2f220c9
bazel: Fix pch timestamp issues (#17030)
keith Jun 18, 2021
6246f6b
docs: Consolidate docs tooling requirements (#16956)
phlax Jun 18, 2021
c7c53b6
support Apache SkyWalking tracer v8.6.0 (#17006)
Shikugawa Jun 18, 2021
4533ea1
postgres: validate message syntax before parsing (#16575)
cpakulski Jun 18, 2021
e949791
regex: remove parseStdRegexAsCompiledMatcher (#17061)
daixiang0 Jun 21, 2021
3efe871
Remove support for verify_subject_alt_name in `CertificateValidationC…
tyxia Jun 21, 2021
faa4c9a
ci: support custom TEST_TMPDIR and clang-format (#17020)
daixiang0 Jun 21, 2021
b99ff7d
ci: Move check_repos out of proto_format (#17035)
phlax Jun 21, 2021
7b492bd
dns cache: add ability to prefetch hostnames to resolve during cache …
junr03 Jun 21, 2021
ed81f0c
remove unused variables (#16933)
Jun 21, 2021
62ca8bd
http: forwarding transport failure details for CONNECT and ALPN conne…
alyssawilk Jun 21, 2021
1aa65ac
API: Add Overload Manager ResetReason and ResponseFlag. (#17044)
KBaichoo Jun 21, 2021
888fc9a
stats: Add tests for StatsHandler::handlerStats() (#16915)
RyanTheOptimist Jun 21, 2021
189b7d4
Use partial error match to accommodate upcoming changes to absl::Stat…
yanavlasov Jun 21, 2021
420d2b9
ci: Move spellchecks to format_pre (#17028)
phlax Jun 21, 2021
713b2a6
docs: Cleanup version history file (#17064)
phlax Jun 21, 2021
f8d8023
docs: Shift build to bazel and python (#15229)
phlax Jun 22, 2021
5e248dc
Removes most references to getenvoy (#16868)
codefromthecrypt Jun 22, 2021
c7cfbf1
ci: Speedup format job (#17075)
phlax Jun 22, 2021
59c2c1a
quiche: change crypto stream factory interfaces (#17046)
danzh2010 Jun 22, 2021
4cfda99
quic: add quic version counters in http3 codec stats. (#16943)
RenjieTang Jun 22, 2021
f09ba0b
[Windows] Adding note section in Original Source HTTP Filter (#17058)
ankatare Jun 22, 2021
b6e50af
ci: Add timing for docker pull (#17074)
phlax Jun 22, 2021
5a0d165
bazel: Use color by default for build and run commands (#17077)
phlax Jun 22, 2021
305ea53
rds: add config reload time stat for rds (#17033)
ramaraochavali Jun 22, 2021
0af6284
docs: link additional filters that emit dynamic metadata (#17059)
jpeach Jun 22, 2021
0929a71
Listener: reset the file event when destroying listener filters (#16952)
soulxu Jun 22, 2021
d2afeeb
Set `validate` flag when the SAN(SubjectAltName) matching is performe…
tyxia Jun 22, 2021
3f2b4b6
test: silencing flaky test (#17084)
alyssawilk Jun 22, 2021
9aca65c
[fuzz]: fix oss fuzz bug 34515, limit maglev table size (#16671)
chaoqin-li1123 Jun 22, 2021
e4955ae
ci: Fix wasm verify example (#17086)
phlax Jun 22, 2021
8b4ed22
tools: adding reminders for API shephards (#17081)
alyssawilk Jun 22, 2021
b58b5f2
exception: make Ipv6Instance and Ipv4Instance not throw and remove so…
chaoqin-li1123 Jun 23, 2021
ae49453
docs: Update include paths in repo (#17098)
ankatare Jun 23, 2021
72d0d9d
docs: Added v3 API reference. (#17095)
Jun 23, 2021
1300bb3
doc: fix wrong link on wasm network filter. (#17079)
mathetake Jun 23, 2021
1d715d6
ci: Speedup deps precheck (#17102)
phlax Jun 23, 2021
97d8d8f
doc: fix misplaced #[extension-category] for Wasm runtimes (#17078)
mathetake Jun 23, 2021
5e134e4
tools: adding dio,better comments (#17104)
alyssawilk Jun 23, 2021
fd39c79
admin: fix crashes on invalid FieldMasks (#16979)
paul-r-gall Jun 23, 2021
3f7b459
thrift proxy: support outlier detection (#17019)
LawlietLi Jun 23, 2021
e01312e
dependabot: Updates (#16966)
phlax Jun 23, 2021
c1bc5e7
Update prometheus/client_model version (#17088)
ZymoticB Jun 23, 2021
b68fa25
repokitteh: adding warning about draft PRS (#17063)
alyssawilk Jun 23, 2021
b7833f0
repokitteh rollback (#17112)
alyssawilk Jun 23, 2021
d526e38
ext_authz, docs: Authorization is automatically included in allowed_h…
dio Jun 23, 2021
a20c7fc
configs: Remove unnecessary/empty typed_configs (#17065)
justincely Jun 24, 2021
70c436d
flaky_test: Catch SlackApiErrors when attempting to post to the test-…
antoniovicente Jun 24, 2021
818f8ed
cluster: adding host rewrite (#17083)
alyssawilk Jun 24, 2021
e795b65
s/COLLECTOR_ZIPKIN_HTTP_PORT/COLLECTOR_ZIPKIN_HOST_PORT/ in examples …
dgoffredo Jun 24, 2021
c64497b
Renamed TransportSocketOptionsSharedPtr to TransportSocketOptionsCons…
Jun 24, 2021
15529b8
format: Update clang-format default in check_format_test (#17129)
phlax Jun 24, 2021
4da0b35
buffer: Rename WatermarkFactory::create to WatermarkFactory::createBu…
KBaichoo Jun 24, 2021
f91f79b
ci: Only run flaky test when there is flaky data (#17131)
phlax Jun 24, 2021
e7a5737
examples: remove examples/gzip/envoy binary. (#17135)
PiotrSikora Jun 25, 2021
cda3763
ci: Separate docs version history check (#17062)
phlax Jun 25, 2021
6cd6a0c
IP Matcher on a list of CIDR ranges (#16592)
aguinet Jun 25, 2021
5c8d4d2
vscode: preserve arguments field of launch.json (#16935)
qinggniq Jun 25, 2021
6e7b49f
bazel: Add rules_pkg (#17162)
phlax Jun 27, 2021
340fd7b
rocketmq_proxy: fix wrong value set (#17142)
daixiang0 Jun 27, 2021
e330009
ci: Dont remove packages in ci jobs (#17146)
phlax Jun 27, 2021
c35d3d9
quic: remove preprocessor guard on QuicStatNames. (#17154)
RenjieTang Jun 28, 2021
171a06f
wasm: add missing nullptr guard for decoder/encoder callbacks. (#16609)
mathetake Jun 28, 2021
5a8f89a
wasm: pass PluginHandle to stream contexts. (#16795)
mathetake Jun 28, 2021
9bdb13e
tcp: populate SSL info before invoking pool ready callback (#16993)
kyessenov Jun 28, 2021
dfef049
test: Fix admission control integration test flakiness (#17114)
tonya11en Jun 28, 2021
72514cd
Expected transport_socket_name for TLS: envoy.transport_sockets.tls (…
yashykt Jun 28, 2021
96dd735
HTTP2 Proactive GOAWAY on Drain - Preamble (#17026)
murray-stripe Jun 28, 2021
765c970
wasm: fix double sent local reply on VM failure. (#16593)
mathetake Jun 28, 2021
ad628c5
general tracing context interface (#16793)
wbpcode Jun 29, 2021
3d6ec26
owners: add Piotr as senior extension maintainer (#17175)
mattklein123 Jun 29, 2021
9321ae2
wasm: update Proxy-Wasm C++ Host and SDK to latest (2021-06-24). (#17…
PiotrSikora Jun 29, 2021
92b6364
wasm: update V8 to v9.2.230.13. (#17183)
PiotrSikora Jun 29, 2021
6dc4092
api: add cluster_specifier_plugin to RouteAction (#16944)
dfawley Jun 29, 2021
343b19f
coverage: fixing flake (#17190)
alyssawilk Jun 29, 2021
87b2e1a
ci: Only publish the required docker image (#17080)
phlax Jun 29, 2021
3d9c533
xds: Clarify comment for RouteMatch.case_sensitive field. (#17176)
markdroth Jun 29, 2021
be1cd7b
alpha matching: support generic action factory context (#17025)
snowp Jun 29, 2021
4ab53f3
ci: Dont clone filter example where not required (#17182)
phlax Jun 29, 2021
27b4f08
Revert "alpha matching: support generic action factory context (#1702…
mattklein123 Jun 29, 2021
d80be1f
network: Use std::make_unique and std::make_shared in source/common/n…
RyanTheOptimist Jun 30, 2021
8e3441c
tls: moving the server name into SocketAddressProvider (#16574)
soulxu Jun 30, 2021
0bdaf72
bug fix: fix bug that check_format.py will check files which are igno…
qinggniq Jun 30, 2021
ea063c0
fix filter linking urls (#17185)
justincely Jun 30, 2021
f4b713b
Fix issue with Windows container image (#17113)
Jun 30, 2021
be1714b
ci: Move tooling tests to tooling job (#17071)
phlax Jun 30, 2021
8d0c224
codeql: improve Ubuntu dependency installation (#16556)
jpeach Jun 30, 2021
5a2d484
crash_dump: Added local_end_stream_ to crash dump for H2. (#17199)
KBaichoo Jun 30, 2021
7da9989
Increase common/common coverage (#17193)
Jul 1, 2021
97eb8e5
listener: add filter chain match support for direct source address (#…
ggreenway Jul 1, 2021
329b249
upstream: update host's socket factory when metadata is updated. (#16…
cpakulski Jul 1, 2021
4d6f446
examples: fix Wasm example. (#17218)
PiotrSikora Jul 2, 2021
38c7b1f
Add ability to filter ConfigDump. (#16774)
paul-r-gall Jul 2, 2021
4071923
deps: update cel-cpp to 0.6.1 (#16293)
kyessenov Jul 2, 2021
e5509bf
metrics service: fix wrong argument arrange on MetricsServiceSink (#1…
Shikugawa Jul 2, 2021
5ce4a15
remove support for v2 UNSUPPORTED_REST_LEGACY (#16968)
ankatare Jul 2, 2021
5694726
JwtAuthn: support completing padding on forward jwt payload header (#…
TAOXUY Jul 2, 2021
f2906f5
upstream: allow clusters to skip waiting on warmup for initialization…
junr03 Jul 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .azure-pipelines/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ steps:
path: $(Build.StagingDirectory)/repository_cache
continueOnError: true

- bash: .azure-pipelines/cleanup.sh
displayName: "Removing tools from agent"
condition: ${{ parameters.managedAgent }}

- bash: |
echo "disk space at beginning of build:"
df -h
Expand Down
10 changes: 0 additions & 10 deletions .azure-pipelines/cleanup.sh

This file was deleted.

2 changes: 0 additions & 2 deletions .azure-pipelines/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,6 @@ stages:
pool:
vmImage: "ubuntu-18.04"
steps:
- bash: .azure-pipelines/cleanup.sh
displayName: "Removing tools from agent"
- bash: |
echo "disk space at beginning of build:"
df -h
Expand Down
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
# Startup options cannot be selected via config.
startup --host_jvm_args=-Xmx2g

run --color=yes

build --color=yes
build --workspace_status_command="bash bazel/get_workspace_status"
build --experimental_strict_action_env=true
build --host_force_python=PY3
Expand Down
99 changes: 72 additions & 27 deletions .github/actions/pr_notifier/pr_notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

MAINTAINERS = {
'alyssawilk': 'U78RP48V9',
'dio': 'U79S2DFV1',
'mattklein123': 'U5CALEVSL',
'lizan': 'U79E51EQ6',
'snowp': 'U93KTPQP6',
Expand All @@ -28,6 +29,13 @@
'asraa': 'UKZKCFRTP',
}

# Only notify API reviewers who aren't maintainers.
# Maintainers are already notified of pending PRs.
API_REVIEWERS = {
'markdroth': 'UMN8K55A6',
'adisuissa': 'UT17EMMTP',
}


def get_slo_hours():
# on Monday, allow for 24h + 48h
Expand All @@ -44,6 +52,14 @@ def is_waiting(labels):
return False


# Return true if the PR has an API tag, false otherwise.
def is_api(labels):
for label in labels:
if label.name == 'api':
return True
return False


# Generate a pr message, bolding the time if it's out-SLO
def pr_message(pr_age, pr_url, pr_title, delta_days, delta_hours):
if pr_age < datetime.timedelta(hours=get_slo_hours()):
Expand All @@ -54,19 +70,38 @@ def pr_message(pr_age, pr_url, pr_title, delta_days, delta_hours):
pr_url, pr_title, delta_days, delta_hours)


# Adds reminder lines to the appropriate maintainer to review the assigned PRs
def add_reminders(assignees, maintainers_and_prs, message):
has_maintainer_assignee = False
# Adds reminder lines to the appropriate assignee to review the assigned PRs
# Returns true if one of the assignees is in the known_assignee_map, false otherwise.
def add_reminders(assignees, assignees_and_prs, message, known_assignee_map):
has_known_assignee = False
for assignee_info in assignees:
assignee = assignee_info.login
if assignee not in MAINTAINERS:
if assignee not in known_assignee_map:
continue
has_maintainer_assignee = True
if assignee not in maintainers_and_prs.keys():
maintainers_and_prs[
has_known_assignee = True
if assignee not in assignees_and_prs.keys():
assignees_and_prs[
assignee] = "Hello, %s, here are your PR reminders for the day \n" % assignee
maintainers_and_prs[assignee] = maintainers_and_prs[assignee] + message
return has_maintainer_assignee
assignees_and_prs[assignee] = assignees_and_prs[assignee] + message
return has_known_assignee


# Returns true if the PR needs an LGTM from an API shephard.
def needs_api_review(labels, repo, pr_info):
# API reviews should always have the label, so don't bother doing an RPC if
# it's not tagged (this helps avoid github rate limiting)
if not (is_api(labels)):
return False
# repokitten tags each commit as pending unless there has been an API LGTM
# since the latest API changes. If this PR is tagged pendding it needs an
# API review, otherwise it's set.
headers, data = repo._requester.requestJsonAndCheck(
"GET",
("https://api.github.com/repos/envoyproxy/envoy/statuses/" + pr_info.head.sha),
)
if (data and data[0]["state"] == 'pending'):
return True
return False


def track_prs():
Expand All @@ -79,13 +114,19 @@ def track_prs():
maintainers_and_prs = {}
# A placeholder for unassigned PRs, to be sent to #maintainers eventually
maintainers_and_prs['unassigned'] = ""
# A dict of shephard : outstanding_pr_string to be sent to slack
api_review_and_prs = {}
# Out-SLO PRs to be sent to #envoy-maintainer-oncall
stalled_prs = ""

# Snag all PRs, including drafts
for pr_info in repo.get_pulls("open", "updated", "desc"):
labels = pr_info.labels
assignees = pr_info.assignees
# If the PR is waiting, continue.
if is_waiting(pr_info.labels):
if is_waiting(labels):
continue
if pr_info.draft:
continue

# Update the time based on the time zone delta from github's
Expand All @@ -98,37 +139,40 @@ def track_prs():
# SLO, nudge in bold if not.
message = pr_message(delta, pr_info.html_url, pr_info.title, delta_days, delta_hours)

if (needs_api_review(labels, repo, pr_info)):
add_reminders(pr_info.assignees, api_review_and_prs, message, API_REVIEWERS)

# If the PR has been out-SLO for over a day, inform on-call
if delta > datetime.timedelta(hours=get_slo_hours() + 36):
stalled_prs = stalled_prs + message

# Add a reminder to each maintainer-assigner on the PR.
has_maintainer_assignee = add_reminders(pr_info.assignees, maintainers_and_prs, message)
has_maintainer_assignee = add_reminders(
pr_info.assignees, maintainers_and_prs, message, MAINTAINERS)

# If there was no maintainer, track it as unassigned.
if not has_maintainer_assignee:
# don't bother assigning maintainer WIPs.
if pr_info.draft and pr_info.user.login in maintainers_and_prs.keys():
continue
maintainers_and_prs['unassigned'] = maintainers_and_prs['unassigned'] + message

# Return the dict of {maintainers : PR notifications}, and stalled PRs
return maintainers_and_prs, stalled_prs
# Return the dict of {maintainers : PR notifications},
# the dict of {api-shephards-who-are-not-maintainers: PR notifications},
# and stalled PRs
return maintainers_and_prs, api_review_and_prs, stalled_prs


def post_to_maintainers(client, maintainers_and_messages):
# Post updates to individual maintainers
for key in maintainers_and_messages:
message = maintainers_and_messages[key]
def post_to_assignee(client, assignees_and_messages, assignees_map):
# Post updates to individual assignees
for key in assignees_and_messages:
message = assignees_and_messages[key]

# Only send messages if we have the maintainer UID
if key not in MAINTAINERS:
# Only send messages if we have the slack UID
if key not in assignees_map:
continue
uid = MAINTAINERS[key]
uid = assignees_map[key]

# Ship messages off to slack.
try:
print(maintainers_and_messages[key])
print(assignees_and_messages[key])
response = client.conversations_open(users=uid, text="hello")
channel_id = response["channel"]["id"]
response = client.chat_postMessage(channel=channel_id, text=message)
Expand All @@ -151,15 +195,16 @@ def post_to_oncall(client, unassigned_prs, out_slo_prs):


if __name__ == '__main__':
maintainers_and_messages, shephards_and_messages, stalled_prs = track_prs()

SLACK_BOT_TOKEN = os.getenv('SLACK_BOT_TOKEN')
if not SLACK_BOT_TOKEN:
print(
'Missing SLACK_BOT_TOKEN: please export token from https://api.slack.com/apps/A023NPQQ33K/oauth?'
)
sys.exit(1)

maintainers_and_messages, stalled_prs = track_prs()

client = WebClient(token=SLACK_BOT_TOKEN)
post_to_maintainers(client, maintainers_and_messages)
post_to_oncall(client, maintainers_and_messages['unassigned'], stalled_prs)
post_to_assignee(client, shephards_and_messages, API_REVIEWERS)
post_to_assignee(client, maintainers_and_messages, MAINTAINERS)
6 changes: 3 additions & 3 deletions .github/actions/pr_notifier/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ six==1.16.0 \
--hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \
--hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254
# via pynacl
slack-sdk==3.6.0 \
--hash=sha256:195f044e02a2844579a7a26818ce323e85dde8de224730c859644918d793399e \
--hash=sha256:e1b257923a1ef88b8620dd3abff94dc5b3eee16ef37975d101ba9e60123ac3af
slack-sdk==3.7.0 \
--hash=sha256:50b9fd6d8f83af7e8ad6d8e76882d04931842241f85ccfd30da09b4a7b9b1516 \
--hash=sha256:f0bf3e38ac393eba7fe1a99191b0e72f710860c6d2edc1271606fcfc08bea2e1
# via -r .github/actions/pr_notifier/requirements.txt
urllib3==1.26.5 \
--hash=sha256:753a0374df26658f99d826cfe40394a686d05985786d946fbe4165b5148f5a7c \
Expand Down
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ updates:
schedule:
interval: "daily"

- package-ecosystem: "pip"
directory: "/docs"
schedule:
interval: "daily"

- package-ecosystem: "pip"
directory: "/tools/docs"
schedule:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ jobs:
- name: Install deps
shell: bash
run: |
sudo apt-get update && sudo apt-get install libtool cmake automake autoconf make ninja-build curl unzip virtualenv openjdk-11-jdk build-essential libc++1
sudo apt-get update --error-on=any
sudo apt-get install --yes libtool cmake automake autoconf make ninja-build curl unzip virtualenv openjdk-11-jdk build-essential libc++1
mkdir -p bin/clang11
cd bin/clang11
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.1/clang+llvm-11.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ jobs:
- name: Install deps
shell: bash
run: |
sudo apt-get update && sudo apt-get install libtool cmake automake autoconf make ninja-build curl unzip virtualenv openjdk-11-jdk build-essential libc++1
sudo apt-get update --error-on=any
sudo apt-get install --yes libtool cmake automake autoconf make ninja-build curl unzip virtualenv openjdk-11-jdk build-essential libc++1
mkdir -p bin/clang11
cd bin/clang11
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.1/clang+llvm-11.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz
Expand Down
2 changes: 2 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,5 @@ extensions/filters/http/oauth2 @rgs1 @derekargueta @snowp
/*/extensions/filters/http/set_metadata @aguinet @snowp
# Formatters
/*/extensions/formatter/req_without_query @dio @tsaarni
# IP address input matcher
/*/extensions/matching/input_matchers/ip @aguinet @snowp
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ versioning guidelines:

Please see [support/README.md](support/README.md) for more information on these hooks.

* Create your PR. If your PR adds new code, it should include tests [covering](source/docs/coverage.md) the new code.
* Create your PR. If your PR adds new code, it should include tests [covering](source/docs/coverage.md) the new code. Please note that draft PRs may not be reviewed and will likely not be triaged, so do not create your PR as a draft if you want prompt reviews!
* Tests will automatically run for you.
* We will **not** merge any PR that is not passing tests.
* PRs are expected to have 100% test coverage for added code. This can be verified with a coverage
Expand Down
9 changes: 9 additions & 0 deletions OWNERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ routing PRs, questions, etc. to the right place.
* Antonio Vicente ([antoniovicente](https://github.com/antoniovicente)) ([email protected])
* Event management, security, performance, data plane.

# Senior extension maintainers

The following extension maintainers have final say over the extensions mentioned below. Once they
approve an extension PR, it will be merged by the maintainer on-call (or any other maintainer)
without further review.

* Piotr Sikora ([PiotrSikora](https://github.com/PiotrSikora)) ([email protected])
* Wasm

# Envoy security team

* All maintainers
Expand Down
1 change: 1 addition & 0 deletions api/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ proto_library(
"//envoy/extensions/internal_redirect/safe_cross_scheme/v3:pkg",
"//envoy/extensions/matching/common_inputs/environment_variable/v3:pkg",
"//envoy/extensions/matching/input_matchers/consistent_hashing/v3:pkg",
"//envoy/extensions/matching/input_matchers/ip/v3:pkg",
"//envoy/extensions/network/socket_interface/v3:pkg",
"//envoy/extensions/quic/crypto_stream/v3:pkg",
"//envoy/extensions/quic/proof_source/v3:pkg",
Expand Down
2 changes: 1 addition & 1 deletion api/bazel/external_proto_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
EXTERNAL_PROTO_IMPORT_BAZEL_DEP_MAP = {
"google/api/expr/v1alpha1/checked.proto": "@com_google_googleapis//google/api/expr/v1alpha1:checked_proto",
"google/api/expr/v1alpha1/syntax.proto": "@com_google_googleapis//google/api/expr/v1alpha1:syntax_proto",
"metrics.proto": "@prometheus_metrics_model//:client_model",
"io/prometheus/client/metrics.proto": "@prometheus_metrics_model//:client_model",
"opencensus/proto/trace/v1/trace.proto": "@opencensus_proto//opencensus/proto/trace/v1:trace_proto",
"opencensus/proto/trace/v1/trace_config.proto": "@opencensus_proto//opencensus/proto/trace/v1:trace_config_proto",
"opentelemetry/proto/common/v1/common.proto": "@opentelemetry_proto//:common",
Expand Down
2 changes: 1 addition & 1 deletion api/bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
api_cc_py_proto_library(
name = "client_model",
srcs = [
"metrics.proto",
"io/prometheus/client/metrics.proto",
],
visibility = ["//visibility:public"],
)
Expand Down
6 changes: 3 additions & 3 deletions api/bazel/repository_locations.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ REPOSITORY_LOCATIONS_SPEC = dict(
project_name = "Prometheus client model",
project_desc = "Data model artifacts for Prometheus",
project_url = "https://github.com/prometheus/client_model",
version = "0255a22d35ad5661ef7aa89c95fdf5dfd685283f",
sha256 = "a83fd26a80c5f9b82d1231448141a148c1d7a0c8f581ddf49fdbd8c1545e5661",
release_date = "2021-01-16",
version = "147c58e9608a4f9628b53b6cc863325ca746f63a",
sha256 = "f7da30879dcdfae367fa65af1969945c3148cfbfc462b30b7d36f17134675047",
release_date = "2021-06-07",
strip_prefix = "client_model-{version}",
urls = ["https://github.com/prometheus/client_model/archive/{version}.tar.gz"],
use_category = ["api"],
Expand Down
1 change: 1 addition & 0 deletions api/envoy/config/accesslog/v3/accesslog.proto
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ message ResponseFlagFilter {
in: "DT"
in: "UPE"
in: "NC"
in: "OM"
}
}
}];
Expand Down
1 change: 1 addition & 0 deletions api/envoy/config/accesslog/v4alpha/accesslog.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions api/envoy/config/cluster/v3/cluster.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ message ClusterCollection {
}

// Configuration for a single upstream cluster.
// [#next-free-field: 54]
// [#next-free-field: 55]
message Cluster {
option (udpa.annotations.versioning).previous_message_type = "envoy.api.v2.Cluster";

Expand Down Expand Up @@ -413,8 +413,8 @@ message Cluster {
// The table size for Maglev hashing. The Maglev aims for ‘minimal disruption’ rather than an absolute guarantee.
// Minimal disruption means that when the set of upstreams changes, a connection will likely be sent to the same
// upstream as it was before. Increasing the table size reduces the amount of disruption.
// The table size must be prime number. If it is not specified, the default is 65537.
google.protobuf.UInt64Value table_size = 1;
// The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
google.protobuf.UInt64Value table_size = 1 [(validate.rules).uint64 = {lte: 5000011}];
}

// Specific configuration for the
Expand Down Expand Up @@ -876,6 +876,13 @@ message Cluster {
// DNS resolution configuration which includes the underlying dns resolver addresses and options.
core.v3.DnsResolutionConfig dns_resolution_config = 53;

// Optional configuration for having cluster readiness block on warm-up. Currently, only applicable for
// :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,
// or :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`.
// If true, cluster readiness blocks on warm-up. If false, the cluster will complete
// initialization whether or not warm-up has completed. Defaults to true.
google.protobuf.BoolValue wait_for_warm_on_init = 54;

// If specified, outlier detection will be enabled for this upstream cluster.
// Each of the configuration values can be overridden via
// :ref:`runtime values <config_cluster_manager_cluster_runtime_outlier_detection>`.
Expand Down Expand Up @@ -930,7 +937,7 @@ message Cluster {
CommonLbConfig common_lb_config = 27;

// Optional custom transport socket implementation to use for upstream connections.
// To setup TLS, set a transport socket with name `tls` and
// To setup TLS, set a transport socket with name `envoy.transport_sockets.tls` and
// :ref:`UpstreamTlsContexts <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.UpstreamTlsContext>` in the `typed_config`.
// If no transport socket configuration is specified, new connections
// will be set up with plaintext.
Expand Down
Loading