Skip to content

Commit

Permalink
Add WasmPlugin API (#1940)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
dgn authored Jul 27, 2021
1 parent 325052a commit 5e10e5c
Show file tree
Hide file tree
Showing 12 changed files with 2,025 additions and 1 deletion.
1 change: 1 addition & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ build:
# symlinked into the top level directory.
- common-protos
lint:
allow_comment_ignores: true
use:
- BASIC
except:
Expand Down
2 changes: 2 additions & 0 deletions cue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ directories:
- mode: perFile
meta/v1alpha1:
- mode: perFile
extensions/v1alpha1:
- mode: perFile


# All is used when generating all types referenced in the above directories to
Expand Down
87 changes: 87 additions & 0 deletions extensions/v1alpha1/wasm.gen.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5e10e5c

Please sign in to comment.