keep
keep copied to clipboard
feat: enhance provider and deduplication rule provisioning logic
Closes #4401
📑 Description
When Keep starts or restarts, it follows these steps to manage provider configurations:
- Read Configurations: Loads provider definitions from either the
KEEP_PROVIDERSenvironment variable or YAML files in theKEEP_PROVIDERS_DIRECTORY. - Create New Providers: Installs any providers listed in the configuration that are not already present.
- Update When Changed: If an existing provider's configuration has changed, Keep reapplies the configuration, including deduplication rules. If errors occur during this update, changes are automatically rolled back.
- Delete Providers: Deletes any currently installed providers that are not found in the loaded configuration.
✅ Checks
- [x] My pull request adheres to the code style of this project
- [x] My code requires changes to the documentation
- [x] I have updated the documentation as required
- [x] All the tests have passed