keep icon indicating copy to clipboard operation
keep copied to clipboard

feat: enhance provider and deduplication rule provisioning logic

Open tuantran0910 opened this issue 9 months ago • 6 comments

Closes #4401

📑 Description

When Keep starts or restarts, it follows these steps to manage provider configurations:

  1. Read Configurations: Loads provider definitions from either the KEEP_PROVIDERS environment variable or YAML files in the KEEP_PROVIDERS_DIRECTORY.
  2. Create New Providers: Installs any providers listed in the configuration that are not already present.
  3. 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.
  4. 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

tuantran0910 avatar Apr 03 '25 19:04 tuantran0910