Commit Graph

11 Commits

Author SHA1 Message Date
zirain 65babd3c01
format protobuf files (#3522) 2025-06-16 11:17:16 -04:00
John Howard 9630fe745f
Remove the operator proto from this repo (#3286)
This is no longer an Istio CRD, just an internal YAML API to istioctl,
so move it under the Istio repo
(https://github.com/istio/istio/pull/52472)
2024-08-09 15:21:51 -04:00
John Howard b9c26acf91
Generate alias for types instead of copies (#3188) 2024-05-20 11:48:31 -04:00
John Howard 685ef7d06b
Migrate to protoc-gen-crd (#2941) 2023-10-05 16:16:01 -07: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
John Howard 5f8b290601
operator: move to real protobuf (#2272)
* Remove fixup_structs

* rlock
2022-03-14 10:26:22 -07:00
John Howard 8e91abc90f
Move istio/proxy protos into istio/api (#2107)
* Move istio/proxy protos into istio/api

Fixes https://github.com/istio/istio/issues/35210.

This does two things:
* Move some protos we have in istio/istio that are manually generating
the go protos, using an outdated protobuf library and outdated proto.
* Move some protos we have in istio/proxy that are not generating any go
protos at all.

A next step will be to have istio/istio import these go libraries, and
istio/proxy to import these as proto_libraries.

* add README
2021-10-06 10:45:48 -07:00
Daniel Grimm 5e10e5cff1
Add WasmPlugin API (#1940)
* Add WasmPlugin API

* Renamed workload_selector to `selector`
* Rename signing_key -> verification_key
* Unify structure, make pull_secret a single string, config ->
pluginConfig
* add sandbox_config, plugin_name
* Update release note
* Fix typos

* Make sure to preserve unknown fields in pluginConfig

* Improve plugin_name comment

* Move selector to the top

* Remove sandbox_config

* Inline verification_key

* Improve sha256 docstring

* Improve pull_policy docstring

* Remove dependency on EnvoyFilter, add PluginPhase

* Add example

* Add example

* Address comments

* Address more comments

* Fix CRD generation

* Improve comments

* Fix examples (snake_case to camelCase)

* Review comments

- Clarify default for priority
- Add UNSPECIFIED_POLICY value
- Change sha256 behaviour
2021-07-27 14:05:57 -07:00
John Howard 88e56fb49a
Add tooling to automatically sync proto versions (#2021)
* Add script to sync protobuf versions

* Updates to protobuf files

* Update generated code

* Fix release locks
2021-07-01 11:52:09 -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
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