Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WasmPlugin add VmConfig #2227

Merged
merged 2 commits into from
Feb 10, 2022
Merged

Conversation

zirain
Copy link
Member

@zirain zirain commented Jan 27, 2022

envoyproxy/envoy#14958 is merged

add VmConfig support get env in wasm extensions

@bianpengyuan @mathetake PTAL

@istio-testing istio-testing added do-not-merge/work-in-progress Block merging of a PR because it isn't ready yet. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 27, 2022
@istio-testing
Copy link
Collaborator

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@zirain zirain marked this pull request as ready for review January 27, 2022 02:26
@istio-testing istio-testing removed the do-not-merge/work-in-progress Block merging of a PR because it isn't ready yet. label Jan 27, 2022
@zirain zirain requested a review from bianpengyuan January 27, 2022 02:26
@zirain zirain force-pushed the wasmplugin-vmconfig branch from 36f32b9 to 2a64590 Compare January 27, 2022 03:27
@zirain zirain force-pushed the wasmplugin-vmconfig branch from 2a64590 to 2efcabf Compare January 27, 2022 06:23
@istio-testing istio-testing added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 27, 2022
@zirain zirain force-pushed the wasmplugin-vmconfig branch from 2efcabf to 1677940 Compare January 27, 2022 06:33
@zirain
Copy link
Member Author

zirain commented Jan 28, 2022

release notes will add when implemented in istio repo

@zirain zirain added the release-notes-none Indicates a PR that does not require release notes. label Jan 28, 2022
@zirain
Copy link
Member Author

zirain commented Jan 28, 2022

/retest-required

@zirain
Copy link
Member Author

zirain commented Jan 28, 2022

/test release-notes_api

extensions/v1alpha1/wasm.proto Outdated Show resolved Hide resolved
extensions/v1alpha1/wasm.proto Outdated Show resolved Hide resolved
@zirain zirain force-pushed the wasmplugin-vmconfig branch from 6b464d6 to 2ded56d Compare January 28, 2022 02:46
bianpengyuan
bianpengyuan previously approved these changes Jan 28, 2022
extensions/v1alpha1/wasm.proto Outdated Show resolved Hide resolved
extensions/v1alpha1/wasm.proto Outdated Show resolved Hide resolved
@zirain zirain force-pushed the wasmplugin-vmconfig branch from 2ded56d to 3bab299 Compare February 7, 2022 09:02
@istio-testing istio-testing added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 7, 2022
@zirain zirain force-pushed the wasmplugin-vmconfig branch from 3bab299 to bff2ca5 Compare February 7, 2022 09:06
@zirain
Copy link
Member Author

zirain commented Feb 7, 2022

@bianpengyuan @howardjohn ptal

extensions/v1alpha1/wasm.proto Outdated Show resolved Hide resolved
extensions/v1alpha1/wasm.proto Outdated Show resolved Hide resolved
@zirain zirain force-pushed the wasmplugin-vmconfig branch 2 times, most recently from 7bd9896 to 07d34fb Compare February 8, 2022 00:08
@zirain
Copy link
Member Author

zirain commented Feb 8, 2022

blocked by #2235

@zirain
Copy link
Member Author

zirain commented Feb 9, 2022

/test gencheck_api

@zirain
Copy link
Member Author

zirain commented Feb 9, 2022

updated, @howardjohn @bianpengyuan ptal

extensions/v1alpha1/wasm.proto Outdated Show resolved Hide resolved
// imagePullSecret: private-registry-pull-secret
// phase: AUTHN
// pluginConfig:
// openid_server: authn
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when should a user use pluginConfig vs vmConfig?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vm config is for the runtime configuration (i.e. code written by use), while plugin config is for the plugin (code written by user).

@howardjohn
Copy link
Member

lgtm, I removed @bianpengyuan review since it was stale. @bianpengyuan can you take a look to make sure its good? Thanks!

@zirain zirain force-pushed the wasmplugin-vmconfig branch from 202e721 to 393086c Compare February 10, 2022 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes-none Indicates a PR that does not require release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants