Commit Graph

109 Commits

Author SHA1 Message Date
Kuat ce6565612a
stats: utilize expiration (#6529)
Change-Id: I97c10eac08443566eca6f53dc73b86c2e51fa095

Signed-off-by: Kuat Yessenov <kuat@google.com>
2025-09-03 22:20:00 -07:00
zirain cd04cded0d
sync with upstream (#6518)
* Automator: update envoy@ in istio/proxy@master

* fix

* fix lint

* revert

---------

Co-authored-by: istio-testing <istio-testing-bot@google.com>
2025-08-29 13:31:07 -04:00
zirain 2d54d2dbb8
Replace ProtobufWkt with Protobuf namespace (#6487)
* Replace ProtobufWkt with Protobuf namespace

* update
2025-08-15 22:49:46 -04:00
zirain 4ede5a2cb8
Update envoy (#6458)
* Automator: update envoy@ in istio/proxy@master

* update envoy

---------

Co-authored-by: istio-testing <istio-testing-bot@google.com>
2025-08-02 10:07:17 -04:00
zirain 9445f5937f
Sync with upstream (#6306)
* Automator: update envoy@ in istio/proxy@master

* fix build

Signed-off-by: zirain <zirain2009@gmail.com>

---------

Signed-off-by: zirain <zirain2009@gmail.com>
Co-authored-by: istio-testing <istio-testing-bot@google.com>
2025-05-17 22:06:09 -04:00
Kuat 216b9ef9fb
build: fix breakage in core proto rules (#6262)
Change-Id: I755ea813ecf6e0e76ac0e236fec501f0448ff9e3

Signed-off-by: Kuat Yessenov <kuat@google.com>
2025-04-24 18:42:02 -04:00
zirain 72a567fb4c
update envoy (#6166)
* Automator: update envoy@ in istio/proxy@master

* fix

---------

Co-authored-by: istio-testing <istio-testing-bot@google.com>
2025-03-07 22:39:03 -05:00
Keith Mattix II 9ca2524d6c
Add null check to log message (#6117)
Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>
2025-02-10 19:45:43 -05:00
John Howard 068793d292
mx: allow disabling unconditionally (#6101)
For https://github.com/istio/istio/issues/54913, see PR for context
2025-01-30 16:59:52 -05:00
Keith Mattix II 6b837d5dd8
Add metadata fallback for client sidecar reporters (#6028)
* Add metadata fallback for client sidecar reporters

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Move logic

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Add test

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Fix compiler error

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Fixup

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Fix ownership bug

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Don't use string_view because of scope

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

---------

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>
2025-01-15 12:57:53 -05:00
John Howard 0cc7022f53
Drop protoc docs generation (#6070)
This is not used anywhere. The make target also doesn't work (due to
stackdriver removal) and no one complained which suggests no one has ran
it for a long time
2025-01-15 10:55:53 -05:00
John Howard cd9f9e69b7
Fixes for waypoint stat generation (#6068)
* Fixes for waypoint stat generation

* test fixes
2025-01-14 14:34:51 -05:00
zirain 2821208112
MX support additional labels (#6030)
* support additional labels

Signed-off-by: zirain <zirain2009@gmail.com>

* add test

* update

* TCP MX

* update

* fix

---------

Signed-off-by: zirain <zirain2009@gmail.com>
2025-01-03 14:33:57 -05:00
Keith Mattix II 1450780f36
format (#5968) 2024-12-29 22:07:52 -05:00
Keith Mattix II 5d72fdac48
Make lint and update docs (#6027)
Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>
2024-12-26 19:56:49 -05:00
Kuat 24a4847dcf
Refactor metadata exchange in preparation for upstreaming (#5825)
* refactoring

Change-Id: I1abef439650eebf6b9a8f26d078ac5ba05f0ba23
Signed-off-by: Kuat Yessenov <kuat@google.com>

* remove stale file

Change-Id: I12a177ad558528471c602313798f2f24a83c84df
Signed-off-by: Kuat Yessenov <kuat@google.com>

* merge

Change-Id: Ib0254ff7257981efb40113e158a8e4836d3e646e
Signed-off-by: Kuat Yessenov <kuat@google.com>

* fix test

Change-Id: Icb79eceed2fd00b29bf9ae327fdbfbf11c411ff4
Signed-off-by: Kuat Yessenov <kuat@google.com>

* revert testdata

Change-Id: I671022496c255a0ddae472db287871c21a2cde47
Signed-off-by: Kuat Yessenov <kuat@google.com>

* add test

Change-Id: I177615e42cd9e5e97e3aba5ac0df5a386230f828
Signed-off-by: Kuat Yessenov <kuat@google.com>

* fix test

Change-Id: Ibd73649bac9da6d6c714bba197444f13100cd3f1
Signed-off-by: Kuat Yessenov <kuat@google.com>

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2024-09-24 18:28:26 -04:00
zirain ff08598396
istio_build metric should not expiry (#5744)
* add test for istio_build metric

* use factory scope

* move into constructor
2024-08-26 13:55:44 -04:00
John Howard da29cb909f
Add new fields to workload.proto (#5704)
* Add new fields to workload.proto

* Add networkmode
2024-07-29 15:15:36 -04:00
John Howard 8a13495063
waypoints: fix IPv6 address lookup (#5653)
Tested manually. Not really sure how to test this in this repo.
https://github.com/istio/istio/pull/51881 will provide coverage in
istio/istio
2024-07-03 17:36:07 -04:00
Keith Mattix II 3d2512a4cc
Use cluster metadata for destination_service_name (#5617)
* Use cluster metadata for destination_service_name

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Fallback to peer namespace

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Fix format

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Add cluster metadata precedence test

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Remove duplicate test case

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

---------

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>
2024-06-19 11:04:34 -04:00
John Howard 1392ce3da4
Allow versionless cluster name match in stats (#5604)
For https://github.com/istio/istio/pull/51503, but also required even if
we don't change; for inbound HBONE we need to add initial support for
passthrough (https://github.com/istio/istio/issues/51336). I don't want
to start with legacy hacks on new code, so that will for sure use InboundPassthroughCluster
2024-06-11 10:12:54 -04:00
zirain 773ff5d30f
sync with upstream (#5595) 2024-06-07 12:22:36 -04:00
zirain 757b63df34
correct peer_unkown key (#5592) 2024-06-06 12:44:29 -04:00
Kuat 368a5a93ca
cleanup BUILD files (#5560)
* cleanup BUILD files

Change-Id: If71f58c74262695b494d5e66d6179e6d05b518e4
Signed-off-by: Kuat Yessenov <kuat@google.com>

* fix more

Change-Id: I58df5700a55da9ece2e67a66cccb40c84e1e819b
Signed-off-by: Kuat Yessenov <kuat@google.com>

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2024-05-17 19:45:29 -04:00
Kuat d4c251c606
separate Stackdriver code (#5546)
* cip

Change-Id: I3e94bb01016b5d72ad18d425f14cfce1646d9a28
Signed-off-by: Kuat Yessenov <kuat@google.com>

* fix

Change-Id: I30d10a4f15b97308b9f30add447138353f0feda8
Signed-off-by: Kuat Yessenov <kuat@google.com>

* move flatbuffers

Change-Id: Ic0390cdcf4f6696dbedf644f25bf1d4c3b2bf8c6
Signed-off-by: Kuat Yessenov <kuat@google.com>

* stash failed attempt

Change-Id: I714aa078f2fc8f04a0131778e41816aefe09506b
Signed-off-by: Kuat Yessenov <kuat@google.com>

* Revert "stash failed attempt"

This reverts commit 34440e615f.

* Revert "move flatbuffers"

This reverts commit 789b8a7e95.

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2024-05-15 08:59:42 -07:00
Keith Mattix II 7bd1251c59
Use WDS to get destination_principal (#5514)
Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>
2024-05-06 15:59:49 -07:00
Whitney Griffith f914b3bc80
Ambient Telemetry: implement "waypoint single" approach (#5472)
* add comments

Signed-off-by: whitneygriffith <whitney.griffith16@gmail.com>

* fix stats reporting for destination workload

* fix stats reporting for destination workload

Signed-off-by: whitneygriffith <whitney.griffith16@gmail.com>

* update expected test data

Signed-off-by: whitneygriffith <whitney.griffith16@gmail.com>

* format files

Signed-off-by: Whitney Griffith <whitney.griffith16@gmail.com>

* Update testdate

Signed-off-by: Whitney Griffith <whitney.griffith16@gmail.com>

* revert testdata

Signed-off-by: Whitney Griffith <whitney.griffith16@gmail.com>

* update testdata

Signed-off-by: Whitney Griffith <whitney.griffith16@gmail.com>

* update testdata

Signed-off-by: Whitney Griffith <whitney.griffith16@gmail.com>

---------

Signed-off-by: whitneygriffith <whitney.griffith16@gmail.com>
Signed-off-by: Whitney Griffith <whitney.griffith16@gmail.com>
Co-authored-by: Daniel Hawton <daniel@hawton.org>
2024-04-30 15:56:39 -07:00
John Howard 858533a710
ambient: sync workload proto (#5448)
reserving fields doesn't work; the proto engine will still spam logs
about usage of unknown fields

Fixes https://github.com/istio/istio/issues/46143
2024-04-05 17:40:52 -07:00
zirain c1732c57fb
sync with upstream (#5428)
* fix

* lint

* fix istio.stats

* update to 0331
2024-04-01 09:48:06 -07:00
zirain e78d4aa642
gen-extensions-doc (#5376) 2024-03-04 19:56:19 -08:00
Kuat a72a287bc7
update envoy (#5262)
Change-Id: I636df03d98d2e4dde1b849b047c799dc93caa6e2

Signed-off-by: Kuat Yessenov <kuat@google.com>
2024-01-11 17:29:34 -08:00
Kuat dd1e1cc774
fix (#5260)
Change-Id: I984cba8e69f5e8e97fd0ae0f8dde3b11b18d4d9b

Signed-off-by: Kuat Yessenov <kuat@google.com>
2024-01-10 15:20:28 -08:00
zirain 9a497e672b
Fix daily update (#5224)
* Automator: update envoy@ in istio/proxy@master

* fix Singleton MOCK_METHOD

---------

Co-authored-by: istio-testing <istio-testing-bot@google.com>
2023-12-19 20:17:38 -08:00
Kuat 4b5eb2f0cf
stats: fix memory leak in periodic reporting (#5219)
Change-Id: Ibd473bb14c51786c34f2d459ce5e1eea675e3d13

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-12-19 15:11:43 -08:00
zirain a165ba30dc
Update envoy with upstream (#5199)
* update with upstream

* update LastFlag

* fix test
2023-12-11 09:58:53 -08:00
Eric Van Norman a60824c196
Update envoy with fixes (#5194)
* Update envoy with fixes

* Later proxy to fix cache issue

* update all getServerFactoryContext to serverFactoryContext

* listener: add listener info to the contexts
2023-12-06 08:31:03 -08:00
Kuat 6e285deaca
build: use proto setters to handle cords (#5184)
Change-Id: I412f4c68458ea9cabd879206521519c3d3293824

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-11-30 17:49:23 -08:00
Kuat 70a28d4f3d
build: fix proto use since they are duplicated in istio/api (#5181)
Change-Id: I4d3bfb95e512c17820231a54d0a1764552b9a6c7

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-11-30 12:54:25 -08:00
Kuat 3f23703e47
use DELTA_GRPC (#5164)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-11-21 15:31:50 -08:00
Kuat d76800fab4
remove istio_authn http filter (#5133)
* remove istio_authn http filter

Signed-off-by: Kuat Yessenov <kuat@google.com>

* dead code

Signed-off-by: Kuat Yessenov <kuat@google.com>

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-11-20 15:31:12 -08:00
zirain afbcd5a553
use absl::StatusOr (#5150)
* Automator: update envoy@ in istio/proxy@master

* use absl::StatusOr

* lint

* alpn filter

* update

* revert

* revert

* skip tsan/asan

---------

Co-authored-by: istio-testing <istio-testing-bot@google.com>
2023-11-17 08:22:06 -08:00
Kuat 3358a5cdde
build: apply buildifer recommendations (#5148)
* build: apply buildifer recommendations

Signed-off-by: Kuat Yessenov <kuat@google.com>

* fix build files

Signed-off-by: Kuat Yessenov <kuat@google.com>

* fix

Signed-off-by: Kuat Yessenov <kuat@google.com>

* fix

Signed-off-by: Kuat Yessenov <kuat@google.com>

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-11-16 10:59:05 -08:00
zirain ca1d60a915
Update envoy (#5141)
* update to latest

* remove patch

* fix
2023-11-13 10:37:24 -08:00
Kuat 88a7c93381
code cleanup: remove vestiges of baggage header, and fix delta xDS for WDS (#5115)
* fix

Signed-off-by: Kuat Yessenov <kuat@google.com>

* fix

Signed-off-by: Kuat Yessenov <kuat@google.com>

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-11-07 16:02:17 -08:00
Kuat 39477bb7b6
build: fix minor compilation and compliance issues (#5129)
* build: fix a minor compilation issue

Signed-off-by: Kuat Yessenov <kuat@google.com>

* fixes

Signed-off-by: Kuat Yessenov <kuat@google.com>

* fixes

Signed-off-by: Kuat Yessenov <kuat@google.com>

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-11-07 15:36:16 -08:00
Kuat c0655e1508
replace connect authn filter with set_filter_state (#5047)
* fix merge

Signed-off-by: Kuat Yessenov <kuat@google.com>

* fix

Signed-off-by: Kuat Yessenov <kuat@google.com>

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-10-16 16:43:37 -07:00
Kuat f08e584312
replace connect authority with set_filter_state (#5032)
* wip

Signed-off-by: Kuat Yessenov <kuat@google.com>

* replace with set_filter_state

Signed-off-by: Kuat Yessenov <kuat@google.com>

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-10-12 13:37:42 -07:00
Kuat daaf77a639
tcp mx: implement WDS fallback (#4994)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-10-05 15:15:24 -07:00
Kuat 989a272038
http mx: fix regression (#4990)
* http mx: fix regression

Signed-off-by: Kuat Yessenov <kuat@google.com>

* update test

Signed-off-by: Kuat Yessenov <kuat@google.com>

---------

Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-10-04 15:43:36 -07:00
Kuat 41a71deae2
fix (#4967)
Signed-off-by: Kuat Yessenov <kuat@google.com>
2023-09-21 17:42:49 -07:00