Skip to content

Panic when a guaranteed extension lookup misses - #5217

Open
caseydavenport wants to merge 1 commit into
tigera:masterfrom
caseydavenport:casey-must-find-object
Open

Panic when a guaranteed extension lookup misses#5217
caseydavenport wants to merge 1 commit into
tigera:masterfrom
caseydavenport:casey-must-find-object

Conversation

@caseydavenport

@caseydavenport caseydavenport commented Aug 18, 2026

Copy link
Copy Markdown
Member

Follow-up to the review comment on #5164, converting the extension lookups that cannot miss to the panicking MustFindObject, so a base render that stops producing an object fails loudly instead of silently skipping the Enterprise layering. Stacked on #5206, which adds MustFindObject itself, so review that one first.

Most of the remaining lookups are staying as if ok because the object may not be there - the calico/node daemonset moves to the delete list while the CNI finalizer is being removed, kube-controllers renders nothing while terminating, the tiered-policy passthrough role only exists with an aggregation API server, and the non-cluster-host typha deployment is optional. Those each carry a comment now saying so.

Release Note

None

Leaves the lookups that can legitimately miss alone, with a comment saying why.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants