Commit Graph

41 Commits

Author SHA1 Message Date
Jacob Delgado a531ef9319 Use with latest tools image 2024-05-30 16:25:13 -06:00
Istio Automation e4a1b46d09
Automator: update common-files@master in istio/api@master (#3212) 2024-05-22 10:12:02 -04:00
Whitney Griffith db01f1058c
update docs to show latest API version examples (#3192)
Signed-off-by: Whitney Griffith <whitney.griffith16@gmail.com>
2024-05-20 13:50:35 -04:00
John Howard b9c26acf91
Generate alias for types instead of copies (#3188) 2024-05-20 11:48:31 -04:00
Daneyon Hansen 2b5bf4c8a0
Adds Service Type to PolicyTargetReference API Docs (#3199)
Previously, only a Gateway resource was defined as a supported
attachment type. This PR updates the API docs to include a Service
as a supported type and also fixes an incorrect link to Gateway API
documentation.

Signed-off-by: Daneyon Hansen <daneyon.hansen@solo.io>
2024-05-15 22:29:11 -04:00
John Howard 9ed092e1a0
Allow defining CRDs from a single version (#3186)
* Allow defining CRDs from a single version

Part of https://github.com/istio/api/issues/3127. Goes with a
corresponding tools change; this will fail until that merges.

This just shows DR. The tool will support both the new and old way (we
can remove the old way if we want), so we don't have to move everything
at once. We will, though. I kept it to one so its easy to review first.

* Move all APIs over
2024-05-14 15:09:49 -07:00
John Howard fe48267f86
policy attachment: allow `targetRefs` (#3159)
* policy attachment: allow `targetRefs`

Based on https://github.com/kubernetes-sigs/gateway-api/pull/2966. Note
that we do not HAVE to follow the GatewayAPI here; we can make our own
decision. There is, however, a general desire to allow multiple for
ergonomics.

In this proposal, I hide `targetRef`, but the API will remain + be
implemented forever. Implementation cost here is near zero, as we can
easily translate it to a single `targetRefs`; we just hide from docs to
push users toward the new ones.

* codegen

* Align documentation

* consistency
2024-04-12 13:44:31 -07:00
Whitney Griffith d7ab31abb3
Promote Telemetry API to v1 (#3133)
* create v1 Telemetry API

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

* add tracing.match example

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

* update metrics.match example

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

---------

Signed-off-by: whitneygriffith <whitney.griffith16@gmail.com>
2024-04-04 10:59:08 -07:00
jacob-delgado 3d9a233170
Run make gen (#3120) 2024-03-11 17:59:56 -07:00
Peter Jausovec 3f25d08b9c
docs: fix formatting issues, typo, add links (#3065)
Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
2024-01-24 16:17:02 -08:00
jacob-delgado 06018d723c
Run make gen with new protoc (#3051)
* Run make gen with new protoc

* Update dependencies
2024-01-17 09:03:58 -08:00
Jeremy L. Morris 68d86fae7d
Unhide the targetRef docs (#2983)
* Unhide the targetRef docs

* run make gen
2023-11-30 12:21:26 -08:00
Whitney Griffith 648947ed7c
Update CEL documentation to capture type checking errors. (#2984)
* Update CEL documentation to capture type checking errors.

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>

* address comments

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>

* accept rewording

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>

Co-authored-by: Craig Box <craig.box@gmail.com>

* make gen

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>

---------

Signed-off-by: Whitney Griffith <whgriffi@microsoft.com>
Co-authored-by: Craig Box <craig.box@gmail.com>
2023-11-15 07:32:03 -08:00
John Howard 7616d8fa4f
telemetry: add native CRD validation (#2971) 2023-10-23 18:03:02 -07:00
Jackie Elliott 283cc40b07
Define targetRef proto (#2888)
* Define protobuf for PolicyTargetReference

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Add targetRef to AuthorizationPolicy, Telemetry, WasmPlugin,
ProxyConfig, and RequestAuthentication.

Need more examples.

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Add examples

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Moved targetRef def to selector.proto. Removed kubebuilder
comments. Added release note for targetRef.

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Add oneof to CRD protos. Add clarifying comments about intended
use of taretRef.

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Remove targetRef from ProxyConfig

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Removed root namespace references and ingress gateway targetRef
examples.

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Hide API changes from docs and remove examples until impl is
complete

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Remove telemtry example until impl complete

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* add clarification resource must be in same ns as policy and add
oneof to wasm plugin.

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Remove oneof in to avoid go changes.

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* update release note to clarify scope is limited to waypoints

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Update authorizationPolicy selector comment

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* clarify in targetRef description only waypoint is supported as a
targeted resource

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* add k8s gateway references

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Respond to PR feedback and add selector example.

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

* Address nits

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>

---------

Signed-off-by: Jackie Elliott <jaellio@microsoft.com>
2023-09-05 15:45:52 -07:00
Matt Kramer 064529d3bb
chore: Fix typo in VirtualService docs (#2847)
* Fix typo in VirtualService docs

* Run make gen
2023-07-06 13:44:32 -07:00
zirain 49a8f67e97
update `proxy_inbound_listen_port` doc (#2735)
* update doc

* fix make gen

* fix gencheck
2023-03-21 19:43:21 -07:00
Sathish d80de99025
Format corrections of JWTRule document (#2720)
* Fix indentation of jwt doc

* Update comment line of jwtrule

* Fix indentation of jwt doc

* Update comment line of jwtrule

* Rebase with latest master

---------

Co-authored-by: Sathish Swaminathan <sathish.swaminathan@ibm.com>
2023-03-13 12:07:22 -07:00
zirain 8461c8ae2e
telemetry: add support for reporting_interval (#2556)
* telemetry: add support for tcp_reporting_duration

* update with kuat's suggestion

* update comments
2022-11-14 11:47:33 -08:00
Istio Automation f26e759dd3
Automator: update common-files@master in istio/api@master (#2523) 2022-10-21 08:24:46 -07:00
Eric Van Norman a51f8f8389
Run `make gen` with the new build-tools to generate new html (#2509) 2022-10-17 06:58:09 -07:00
zirain 036963ee03
telemetry: fix required field (#2504) 2022-10-12 07:51:41 -07:00
zirain 93870da8d3
telemetry: update doc link (#2488) 2022-09-29 06:50:06 -07:00
Faseela K d1ffe5e901
Running make gen (#2446)
Running make gen for some other change resulted in many additional
changes showing up in my local repo. So pushing a separate review for the same.

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-08-04 07:28:26 -07:00
Istio Automation fbb909b586
Automator: update common-files@master in istio/api@master (#2443) 2022-08-03 06:08:58 -07:00
John Howard 72aa7f8e98
Validate and fix all samples (#2413)
* Fix broken samples

* run make gen
2022-07-12 19:08:17 -07:00
Eric Van Norman 5294aace93
Run `make gen` with current tooling (#2409) 2022-07-06 07:17:29 -07:00
John Howard 9d336787a4
Migrate from gogo/protobuf to golang/protobuf (#2293)
* Migrate gogo/protobuf to golang/protobuf

* generated changes

* Fixes to deepcopy
2022-03-23 08:11:37 -07:00
Douglas Reid c471f4dab0
Telemetry API: Add WorkloadMode selection to Tracing/Logging (#2266)
* Telemetry API: Add TrafficDirection selection to Tracing/Logging

* use workloadmode instead of a new enum

* add release note

* move match clauses to top
2022-03-18 10:40:05 -07:00
linhuatan 880ae5a3b9
use default Telemetry accessLogging provider "envoy" instead of "envoyFileAccessLogger" (#2204) 2022-01-10 08:50:18 -08:00
zirain e1d5fcda80
fix telemetry doc (#2195)
* fix telemetry doc

* add release notes

* Update releasenotes/notes/fix-telemetry-doc.yaml

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>

* Update releasenotes/notes/fix-telemetry-doc.yaml

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>

* Update releasenotes/notes/fix-telemetry-doc.yaml

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2021-12-29 09:29:19 -08:00
John Howard e0ac4ca57e
Fix docs for WASM and Telemtry (#2163)
* Fix docs for WASM and Telemtry

Apparently the spacing is very strict.

Also hide an internal comment

* gen?
2021-11-19 14:19:20 -08:00
Douglas Reid d334c433d5
telemetry: add provider-specific format options (#2110)
* telemetry: add provider-specific format options

* update and add filter

* clean up comments

* add release note

* address review comments

* expose stackdriver logging options

* refactor provider config

* rename fields

* fix default log names
2021-11-19 13:01:59 -08:00
Rei Shimizu 291096a6ad
add option to skip sidecar generated requestID based sampling decision (#2104)
* add option to skip sidecar generated requestID based sampling decision

* release note

* fix

* fix

* move to telemetry api

* missing file

Signed-off-by: Shikugawa <Shikugawa@gmail.com>

* hide from docs
2021-11-02 16:38:13 -07:00
Frank Budinsky fc9828a049
Fix telemetry docs not visible in ref docs index (#2123) 2021-10-13 09:31:11 -07:00
Rama Chavali 9f163290e6
fix telemetry docs (#2120)
Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
2021-10-13 09:07:08 -07:00
John Howard 776f030381
Fix docs for telemetry (#2064) 2021-08-03 09:31:01 -07:00
Douglas Reid 527b9df380
Add support to Telemetry API for metrics and access logging (#1766)
* Add alpha Telemetry API to allow metrics customization

* rebase + update

* remove telemetryrulematch and add access logging

* refactor tag overrides and address comments

* more refactoring

* updates to match comments

* remove all_metrics from API

* add metric selector with client/server terminology

* add comment for TagOverride

* Add release note

* clean up some comments

* fix oneof name

* fix release note

* address review comments

* clarify logging enablement example
2021-07-02 10:07:16 -07:00
Douglas Reid ad94225e0b
Use wrapper types for Tracing fields (#1934) 2021-04-02 19:16:47 -07:00
Douglas Reid 8cb7ec8d3d
Fix telemetry API docs on inheritance (#1932)
* Fix telemetry API docs on inheritance

* Remove confusion note

* absent -> missing
2021-03-30 09:35:03 -07:00
Douglas Reid 68cba41b5a
Add initial Telemetry API with Tracing support for sampling and custom tags (#1740)
* Add initial Telemetry API definition

* fix names and comments

* Rename TracingConfig to Tracing

* Remove TelemetryProviders and consolidate to just Tracing providers

* add new extension providers to oneof

* Remove providers from telemetry API

* Add release note

* Address comments

* Add back providers, remove match, simplify Trace API

* Collapse TracingRule into Tracing and remove deprecations in ProxyConfig

* Move from address to service + port in providers

* Remove exclude_mesh_tags

* Revert to boolean control of span reporting

* Cleanup documentation

* Replace subdomain with telemetry type
2021-03-25 21:01:24 -07:00