Repository navigation
docs(proposal): drop the =tcp webhook guard from 037, with the reason - #891
Merged
Merged
Conversation
The guard was specified as "the pod-mutating webhook rejects =tcp until the
chart's agent version supports it". It cannot do that job:
- there is no pod VALIDATING webhook (the controller's /validate dispatches
by Kind; pods reach only /mutate), and
- it must know the agent version, whose only non-drifting source is a chart
value set by the same release that ships the agent -- but within one helm
upgrade the controller rolls BEFORE the agents, so a pod annotated in that
window still registers as HTTP on an old agent's node.
It narrows the window it exists for without closing it, and a gate that cannot
fail in the case it was built for is decoration (#853). Replaced by the
documented skew rule plus a loud WARN from the new agent, and the condition
that would reopen the decision is stated.
Also records Release A as shipped (#890), including the two items that moved:
the port-protocols annotation defers to Release B where its data exists, and
the Spec.Ports migration gap that Release A had to fix.
Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Records a decision made while implementing Release A (#890), rather than leaving the guard silently unbuilt.
The guard cannot do its job. It was specified as "the pod-mutating webhook rejects
=tcpuntil the chart's agent version supports it". Two problems:/validatedispatches by Kind (MeshConfig,HTTPFilter,EdgeConfig,EndpointPolicy,HTTPRoute); pods reach only/mutate. A mutating webhook can deny, but that's an odd shape for a pure admission check.helm upgradethe controller rolls before the agents, so a pod annotated=tcpin that window still registers as HTTP on an old agent's node.So it narrows the window it exists for without closing it. A gate that cannot fail in the case it was built for is decoration (#853) — the same call made about
envoy_validatein Phase 1.Replacement: the documented skew rule (roll the agent DaemonSet before annotating) plus a loud WARN from the new agent when it parses
=tcp. That trades a silent downgrade for a visible ordering constraint.What would reopen it: evidence the skew window is actually being hit — a
=tcpWARN from a node whose agent predates support, which the WARN itself makes visible.Also records Release A as shipped, including the two items that moved:
port-protocolsdefers to Release B where its per-port data exists, and theSpec.Portsmigration gap Release A had to fix.Docs only.
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr