-
Notifications
You must be signed in to change notification settings - Fork 149
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
[DX-1652] Plugin Bundle CLI Improvements #5401
base: master
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨No code suggestions found for the PR. |
✅ PS. Pls add /docs/nightly to the end of url
To edit notification comments on pull requests, go to your Netlify site configuration. |
- **Plugin source code files**: The plugin source code files should be contained relative to the directory in which the *manifest.json* file is located. The *manifest.json* should contain relative path references to source code files. Please note that source code files are not required when creating a plugin bundle for gRPC plugins since the plugin source code is located at the gRPC server. | ||
- **Certificate key**: Plugin bundles can optionally be signed with an RSA private key. The corresponding public key should be located in the file configured in environmental variable `TYK_GW_PUBLICKEYPATH` or the `public_key_path` parameter in `tyk.conf`: | ||
|
||
```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```bash | |
```json |
|
||
In this case, the `manifest.json` will reference the Python files located in the plugins subdirectory, ensuring the Python plugin source files are organized relative to the manifest. The Tyk Gateway will load and execute these Python plugins based on the paths defined in the `manifest.json` file. | ||
|
||
{{< tabs_start >}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not add tabs to the docs as they cause bad ux when you search for the content with ctrl+f (it shows as found but you can't see it). We change it to collapse/expand or maybe you have another idea @sharadregoti. Regardless, in this case, it's very short content so I'll just keep it visible
User description
For internal users - Please add a Jira DX PR ticket to the subject!
DX-1652
Preview Link
preview
Description
Improve bundle CLI content to give required prerequisites following previous review
Screenshots (if appropriate)
Checklist
master
.PR Type
documentation
Description
manifest.json
, plugin source code files, and optional certificate keys.Changes walkthrough 📝
bundle-cli.md
Enhance Plugin Bundle CLI Documentation with Prerequisites and Docker
Example
tyk-docs/content/product-stack/tyk-gateway/advanced-configurations/plugins/bundles/bundle-cli.md
configurations for plugin bundles.
Python bundles.
versions < 5.5.
bundle creation.