tektoncd / tektoncd/chains

Add reload and/or restart functionality to Chains

Open
#1,093 5 comments 0 reactions 0 assignees View on GitHub

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_URL has 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-config configmap or signing-secrets secret does not result in configuration being picked up immediately by the chains controller pod - this is also evident in the getting start tutorial that says Then restart the controller to ensure it picks up the changes: - hitting a /reload (instead of /restart) will help such cases

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.