If a webhook isn't up and a broker is created defaults are not applied.
Open
Nobody has claimed this yet.
area/brokers
kind/bug
triage/accepted
- Dominant language
- Go
- Stars
- 1.6k
- Forks
- 631
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 6
Description
I notice when a webhook isn't up (let's say it crashes or is restarting) if a broker is created during that window then the defaults channels are not applied to the spec.
I think the controller should apply and update the defaults if they are not set as a fallback.
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 by tracing the controller reconciliation path for Broker creation and how default channels are applied when the webhook is unavailable. Verify the resulting Broker spec during that window, and add or update a test showing that unset defaults are applied and retained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100