Commit e064fe1
committed
BUILD/MEDIUM: deps: update client-native to v6.4.2
The models package no longer ships hand-written compare helpers: Equal and
Diff methods are now generated by go-method-gen and take GoMethodGenOptions
instead of the removed models.Options. NilSameAsEmpty is gone; treating nil
as empty is the new default, so the explicit option was dropped.
Two behavioral changes required adjustments:
- BindParams lost its Name field, which moved to the parent Bind struct,
so bind literals in handlers, gateways and controller were restructured.
- The generated Diff no longer treats nil as equal to an empty struct
pointer. Empty TuneOptions/TuneSslOptions injected by the controller are
not persisted in the config file, so they kept re-appearing as a diff and
caused a reload on every sync. Both sides are now normalized to nil when
empty before diffing.
The CR tests had to follow the API changes: ACL parsing returns models.ACL
with an ACLName field instead of types.ACL, and the CR deploy fixtures lost
the removed http-use-htx and http_proxy fields.
The backend CRD is the only one rewritten by yq, and the CI image ships a
yq whose emitter keeps long single-line descriptions on one line, while
newer local yq versions re-fold them at 80 columns. The CRDs are committed
with the folding as produced by the CI toolchain.
Regenerated the v3 CRDs, which drops two options removed from client-native
(http-use-htx and http_proxy, both deprecated HAProxy settings) and adds the
new v6.4.2 fields; everything else is additive.1 parent bf02083 commit e064fe1
28 files changed
Lines changed: 1355 additions & 228 deletions
File tree
- crs
- api/ingress
- v1
- v3
- definition
- deploy/tests/e2e
- crd-frontend
- crd-tcp
- crd/config
- pkg
- controller
- gateways
- handler
- store
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
| 203 | + | |
206 | 204 | | |
207 | 205 | | |
208 | 206 | | |
209 | | - | |
210 | | - | |
211 | | - | |
| 207 | + | |
212 | 208 | | |
213 | 209 | | |
214 | 210 | | |
215 | | - | |
216 | | - | |
217 | | - | |
| 211 | + | |
218 | 212 | | |
219 | 213 | | |
220 | 214 | | |
221 | | - | |
222 | | - | |
223 | | - | |
| 215 | + | |
224 | 216 | | |
225 | 217 | | |
226 | 218 | | |
227 | | - | |
228 | | - | |
229 | | - | |
| 219 | + | |
230 | 220 | | |
231 | 221 | | |
232 | 222 | | |
233 | | - | |
234 | | - | |
235 | | - | |
| 223 | + | |
236 | 224 | | |
237 | 225 | | |
238 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | | - | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
137 | | - | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
0 commit comments