Repository navigation
v0.7.5
This release contains two new feature:
- A new subcommand is added,
gatewayd plugin list, that lists all the plugins currently existing in yourgatewayd_plugins.yamlconfig file. You can use-eto filter only enabled plugins. - Previously, the
gatewayd plugin installcommand accepted a GitHub URL to install a plugin. Now, it supports installing them from a locally downloaded file. So, instead of passing a URL to this command, you can pass a file path, and it'll try to install the plugin from that file, which is particularly useful for air-gapped systems, for example:Note that you can download the file using the# Download gatewayd-plugin-cache v0.2.4 into disk wget https://github.com/gatewayd-io/gatewayd-plugin-cache/releases/download/v0.2.4/gatewayd-plugin-cache-linux-amd64-v0.2.4.tar.gz # Install the plugin from the downloaded archive gatewayd plugin install gatewayd-plugin-cache-linux-amd64-v0.2.4.tar.gz
gatewaydcommand itself without installing it, that is, it'll acts as an HTTP client and downloads the specified or latest version of the plugin archive and verifies its checksum. The checksum of the downloaded archive won't be checked if you download the file manually and run the install with an archive filename. However, the checksum of the plugin executable inside the archive will always be checked.# Pulls the latest version of the plugin to disk gatewayd plugin install --pull-only github.com/gatewayd-io/gatewayd-plugin-cache@latest # Installs the plugin from the downloaded archive file gatewayd plugin install gatewayd-plugin-cache-linux-amd64-v0.2.4.tar.gz
Note:
The help is available for all the commands, subcommands and flags of the gatewayd command. You just need to pass -h or --help at the end of the command.
What's Changed
- Add
plugin listsubcommand by @mostafa in #308 - Add support for installing plugins from locally downloaded archive files by @mostafa in #310
Full Changelog: v0.7.4...v0.7.5