Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tieske/kong-plugin-dbless-reload
Development plugin to auto-reload during development
https://github.com/tieske/kong-plugin-dbless-reload
Last synced: about 1 month ago
JSON representation
Development plugin to auto-reload during development
- Host: GitHub
- URL: https://github.com/tieske/kong-plugin-dbless-reload
- Owner: Tieske
- License: apache-2.0
- Created: 2023-12-08T16:11:13.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-15T16:19:28.000Z (11 months ago)
- Last Synced: 2024-10-14T00:16:38.605Z (2 months ago)
- Language: Lua
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DBless auto-reload
A Kong plugin that will watch for changes, and will automatically reload the Kong
instance. It will watch custom plugins, and the dbless config file.For development purposes only! Use at your own risk.
The plugin will, on a timer interval, check the following:
- is the Kong instance DBless? if so, the dbless config file will be watched.
- are there any custom plugins loaded (anything other than `bundled` or `dbless-reload`)?
if so, the folders where those plugins are located will be watched.# Config
Install the plugin and set `KONG_PLUGINS=bundled,dbless-reload`. The plugin only needs to be added to the system. No need to configure it on a route or service etc.
Optionally set environment variable `KONG_RELOAD_CHECK_INTERVAL` to the check
interval in seconds (default value is `5` seconds). Set to `0` to disable the auto-reload.
> Note: changing this setting requires a Kong restart to apply it!# Other
- tests are non-functional