knative / knative/eventing

If a webhook isn't up and a broker is created defaults are not applied.

Open
#8,686 0 comments 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.