Commit Graph

5 Commits

Author SHA1 Message Date
John Howard f465f2d18d
tooling: replace protolock with `buf breaking` (#3101) 2024-02-27 22:50:03 -08:00
John Howard 5ebfc628bd
buf: migrate to v1 API (#2297) 2022-03-25 06:19:22 -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
bufdev 20b9013774
Use buf for protobuf linting (#1863) 2021-02-01 11:13:42 -08: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