Commit Graph

52 Commits

Author SHA1 Message Date
jacob-delgado 3471b2b70b
run make gen (#3559) 2025-08-28 16:54:06 -04:00
jacob-delgado 28d2c81cb5
Run with latest build container (#3552) 2025-08-19 03:35:16 -04:00
zirain 65babd3c01
format protobuf files (#3522) 2025-06-16 11:17:16 -04:00
jacob-delgado 80b6f10e34
update protos (#3478)
* update protos

* update dependencies

* make tidy
2025-03-31 19:10:45 -04:00
jacob-delgado 41ef999fc6
Run make gen (#3440) 2025-02-13 19:11:45 -05:00
jacob-delgado 8a62f1e437
Run make gen (#3415) 2025-01-16 16:29:54 -05:00
Istio Automation 6516922f64
Automator: update common-files@master in istio/api@master (#3405) 2025-01-03 18:49:58 -05:00
John Howard 13b0de17e7
Add JSON marshaling for non-CRD types (#3345)
We have this for CRD types, where it is strictly required to work with
k8s, but not for our other types. This makes it problematic to marshal
json for these types.

Note you can directly use protobuf json library, but this doesn't work
for nested types, hence the desire to have these. Low cost, some value.
2024-12-27 12:50:49 -05:00
jacob-delgado 918717d1a2
Run make gen with latest image (#3368) 2024-11-23 04:07:16 -05:00
Faseela K 14aff11e9f
Run make-gen for protoc-gen-go v1.35.1 (#3330)
Signed-off-by: Faseela K <faseela.k@est.tech>
2024-10-10 14:46:46 -04:00
jacob-delgado 74890bf7da
run make gen (#3248) 2024-06-27 20:22:26 -04:00
jacob-delgado fd44b55c2a
Make gen with latest tools image (#3220)
* Use with latest tools image

* update grpc-go dependency
2024-05-30 20:33:10 -04:00
John Howard f347a4a2a4
Remove obsolete MCP APIs (#3211) 2024-05-30 11:08:05 -04:00
jacob-delgado 3d9a233170
Run make gen (#3120) 2024-03-11 17:59:56 -07:00
Yossi Mesika 6a2e7cbc2a
Fix broken doc link to XDS description (#3073) 2024-01-31 06:10:36 -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
John Howard 38de472a5f
Drop json schema generation (#2875)
We only generate this for some resources and not others, and no one has
complained -- so there doesn't seem to be much value in maintaining
this, but it provides a lot of boilerplate.

Rather than "fixing" it to be used for all types, seems better to just
drop this. We already have the schema as proto and OpenAPI (via CRD).
2023-08-02 19:44:43 -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
jacob-delgado 209ab38ea6
Run make gen with latest tools image (#2764) 2023-04-26 07:50:28 -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
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
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
Istio Automation aadf1ba23c
Automator: update common-files@master in istio/api@master (#2007) 2021-05-25 17:10:56 -07:00
John Howard 2bcca53775
Move protobuf generation/configuration to buf (#1833)
https://docs.buf.build/

Buf is the successor to https://github.com/uber/prototool which we
already use for linting.

This dramatically simplifies our Makefiles, which are both extremely
complicated and have led to numerous bugs historically, such as
https://github.com/istio/api/issues/1678.

This will make changes to the generation much simpler as well. For
example, to migrate to gogo protobuf, we will just need to change `gogo`
-> `go` in one location, rather than trying to wrangle 500 lines of
Makefiles. Additionally, its quite a bit faster - the whole proto stuff
is done in <1s now.
2021-01-28 17:47:43 -08:00
jacob-delgado 328c3a3713
Generate protos (#1822)
* Run make clean gen

* Run make proto-commit
2021-01-13 16:39:59 -08:00
Jason Wang 3fcb499e2a Regen based on new container (#1152) 2019-11-01 15:10:11 -07:00
Phillip Quy Le 33a483a29b Add trust_domain_aliases (#1109)
* Add trust_domain_aliases

* Address comment

* Address comment
2019-09-30 15:07:24 -07:00
Martin Taillefer d5a84f4eac
Enable all linters on this repo. (#1077)
* Enable all linters on this repo.

- Fix a few linting errors.
2019-09-09 10:31:28 -07:00
Martin Taillefer cd150f8ca1
Update common files. (#1075) 2019-09-08 08:12:11 -07:00
leo 92e6362083 Correct some minor syntax errors (#1064) 2019-09-02 04:48:38 -07:00
Yanghui Weng 16f53cfd08 Modify to a half-width quotation mark to fix the garbled document (#1053) 2019-08-27 11:30:48 -07:00
Martin Taillefer 1c58b135ae
Update common files. (#1055)
- Fix some broken dependency tracking.

- Remove a superfluous proto import to get rid of a warning.

- Explicitly select an older build-tools container version, since
the current one has some problems building the protos.
2019-08-26 09:57:37 -07:00
Yanghui Weng 2200d073d1 Fix outdated XDS url link (#1052) 2019-08-26 06:55:43 -07:00
Jason Wang 232a0e04c0 Use the merged build tool image (#1044)
* Use the newly merged build tool image
2019-08-16 15:22:39 -07:00
Martin Taillefer c1f2935580
Point to the right version of generated RPC protos. (#1014) 2019-07-31 16:25:04 -07:00
Martin Taillefer a66c9b061e
Switch to latest tool container and upstream gogo/protobuf. (#1011) 2019-07-31 13:14:08 -07:00
Steven Dake 0988834cd4 DNM - a test of gogo forked tooling 2019-07-30 08:22:31 -07:00
Jason Wang 1361ec19ee
Add openapi schema to Istio protos (#989)
* Add openapi schema to Istio protos

* Update generated schema

* update output with the updated generator image

* Remove cue docker files as it is moved to tools repo

* Update json to current

* Update generated json with the latest change

* Update generation with latest changes

* remove some extra newlines in makefile
2019-07-29 16:33:55 -07:00
Martin Taillefer 59524407e6
More makefile improvements (#1000)
- Fix some broken dependencies

- Stop generating doc files for non-resource proto packages,
since we don't use those on istio.io anyway.
2019-07-29 09:41:28 -07:00
Martin Taillefer ae67f60b2e Generate a doc page for our annotations. (#993) 2019-07-25 21:09:24 +00:00
Kaushik 5e89209e2c #939: Changing the documentation to the format 'namespace/name' (without leading slash) (#944)
* #939: Changing the documentation to the format 'namespace/name' (without leading slash)

* Running make clean generate as per PR comments
2019-06-15 12:05:24 -07:00
Martin Taillefer c9118cd127
Update to latest doc gen tool. (#889) 2019-03-29 14:57:17 -07:00
Ozben Evren 5a79ba0ecb Merge release-1.1 to master (#840)
* Doc fixes.

* Add high-level overview and diagrams for MCP (#805)

* document MCP

* add additional note on NACK behavior

* add a note about ignoring stale nonces

* Add envoy metrics service configuration to ProxyConfig (#803)

* Add envoy metrics service configuration to ProxyConfig

Similar to the statsd sink config, this change is in preparation for adding support for the envoy metrics service API.

* Update proto.lock

* Reorder metrics_service_address just after statsd_udp_address

* Update comment in the authN API to match with 1.1 behavior (#808)

* Rename metrics_service_address to clarify that it is for Envoy's API (#809)

Since "metrics service" is so ambiguous, this change specifically denotes that the config is for Envoy's metrics service API. The comments also now link to detailed info about the metrics service API.

* Generate separate HTML page per proto under networking (#811)

* Generate separate pages for each networking proto

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* update

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* tweaks

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* Fix interdoc references

* separate doc and go gen

* change dash to underscore

* fix

* more fixes

* makefile fix

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* remove bad target

* Revert "change dash to underscore"

This reverts commit 7fbced66f6.

* final update

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* Revert "Generate separate HTML page per proto under networking (#811)"

This reverts commit 5f14eadd since it breaks the ability
to generate reference docs in istio.io

* Update to latest tools.

* Revert "Update to latest tools."

This reverts commit 231fadc5 which I accidentally pushed to the
wrong place.

* fix mcp update error diagram (#810)

* update istio/tools (#815)

* Revert "Revert "Generate separate HTML page per proto under networking (#811)"" (#818)

* Minor updates for building docker images. (#817)

* Add spell checking for docs. (#819)

* Add a bunch of words to the custom dictionary.

* Document exportTo restrictions (#820)

* Doc fixes. (#821)

* Proxy config: Add tls_certs_to_watch field (#824)

* Proxy config: Add tls_certs_to_watch field

* Address PR comment

* Revert "Proxy config: Add tls_certs_to_watch field (#824)" (#825)

This reverts commit e613e358ae.

* Update gateway and sidecar hosts doc (#826)

* Update gateway and sidecar hosts doc

* regen

* review comments

* Update API docs (service entry, gateway, sidecar) (#831)

* Update sidecar and gateway docs

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* gen docs

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* update service entry

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* updates

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* add configurable dns refresh rate to mesh for strict dns cluster,  (#832)

* add configurable dns refresh rate to mesh for strict dns cluster, issue #12181

* add lock file

* Post-merge generation
2019-03-09 07:47:29 -08:00
Andy Lai a222b707a5
Merge release-1.1 into master (#766)
* assorted doc updates (#757)

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* add optional incremental flag to ResponseSink and ResourceSource services (#762)

* Add option to select worload using lables for authn policy. (#755)

* Add option to select workload using labels for authn policy

* Make proto-commit
2019-01-18 20:55:05 -08:00
Jason Young aa7083e882 Introduce forward looking MCP enhancements (#741)
* Introduce forward looking MCP enhancements

The initial version of Mesh Configuration Protocol (MCP) was
introduced to decouple Pilot/Mixer from the k8s kube-apiserver. These
enhancements address additional forward looking requirements as we
bring Galley and the MCP API to beta quality.

* Enable alternative control topologies where the source of
  configuration is not publicly accessible.

* Provide a feedback mechanism to report the observed config state to
  the user (e.g via CRD status).

* Improve performance at scale (e.g. Enterprise use case)

* Rationalize the resource model

The intent is to introduce these backwards incompatible API changes
now before Galley and MCP ship as beta quality and on-by-default.

Rationalization of the resource model and incremental improvements can
be implemented immediately as they effect the contract between Pilot
and Galley. Alternative control topologies and feedback/status are
inherently new features and can be implemented later with the same
APIs without concerns of breaking compatibility.

Design proposal: https://goo.gl/RTKMwF

* fix linter error

* add missing generated file

* proto-commit

* remove python/istio_api/mcp/v1alpha1/envelope_pb2.py

* s/envelope/resource

* s/client/node

* make proto-commit

* fix comments

* add system_version_info for compatibility with non-incremental MCP

* address review comments

* s/node/sink_node

* address more review comments

* update resource name documentation
2019-01-09 10:31:45 -08:00
Jason Young 2198cccdc2 add incremental mcp support (#620)
* add incremental mcp based on incremental xds

Extend the MCP to include support for incremental configuration
pushes. This is *heavily* derived from the new incremental xDS
protocol.

xref: https://github.com/envoyproxy/data-plane-api/blob/master/XDS_PROTOCOL.md#incremental-xds

* document initial_resource_versions should only be included in first request

* move resource version into metadata
2018-08-27 11:50:57 -07:00
Jason Young fccf4189d6 add create_time to mcp resource envelope (#622) 2018-08-27 11:08:58 -07:00