Commit 9e6371b
authored
[v0.7] Align fleetworkspace webhook handling with controller flow (#1594)
* Align fleetworkspace webhook handling with controller flow
The FleetWorkspace mutating admission handler is removed from the
webhook server registration, and the associated mutator implementation
is deleted. This keeps webhook mutation behavior focused on request
shaping and avoids creating workspace side-effect resources in the
webhook process.
Webhook configuration reconciliation continues to rebuild the mutating
webhook list from registered handlers at startup. A regression test is
added to verify configuration updates replace webhook entries rather
than accumulating stale entries.
* Update FleetWorkspace generated docs
Document that FleetWorkspace webhook mutation side effects were
removed and resources are reconciled by controllers.
Run go generate to refresh generated docs per branch.1 parent 37e700f commit 9e6371b
5 files changed
Lines changed: 6 additions & 631 deletions
File tree
- pkg
- resources/management.cattle.io/v3/fleetworkspace
- server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
238 | 235 | | |
239 | 236 | | |
240 | 237 | | |
| |||
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 0 additions & 220 deletions
This file was deleted.
0 commit comments