Add reload and/or restart functionality to Chains
Open
Nobody has claimed this yet.
kind/feature
- Dominant language
- Go
- Stars
- 277
- Forks
- 164
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 61
Description
Feature request
in case of a config change or a change in external factors, users wish to be able to tell chains to reload the configuration OR restart the pod to read latest changes
Use case
our users have reported 2 use cases for this:
MONGO_SERVER_URLhas the creds to connect to mongo db which are rotated at a given cadence; when these creds are rotated, they wish to restart chains by hitting an endpoint (say/restart) so the pod restarts and the new creds are picked up- there are times when updating
chains-configconfigmap orsigning-secretssecret does not result in configuration being picked up immediately by the chains controller pod - this is also evident in the getting start tutorial that saysThen restart the controller to ensure it picks up the changes:- hitting a/reload(instead of/restart) will help such cases
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the getting-started tutorial linked in the issue and compare its restart guidance with the requested /reload and /restart behavior. Define how configuration changes and rotated MongoDB credentials should be picked up, then verify that the selected behavior is documented and testable for the Chains controller pod.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100