Commit dfcc064
fix: address CI lint and gen-check failures for admission control
- Change SamplingWindow from *metav1.Duration to *gwapiv1.Duration
to satisfy kube-api-linter (nodurations rule)
- Add parseSamplingWindow converter in gateway API translator to
convert gwapiv1.Duration to metav1.Duration for the IR
- Fix unused-parameter lint errors in patchRoute and patchResources
by renaming unused params to _
- Regenerate deepcopy, CRD manifests, helm test outputs, and API docs
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Adam Buran <aburan28@gmail.com>1 parent 2905aed commit dfcc064
9 files changed
Lines changed: 107 additions & 91 deletions
File tree
- api/v1alpha1
- charts
- gateway-crds-helm/templates/generated
- gateway-helm/crds/generated
- internal
- gatewayapi
- xds/translator
- site/content/en/latest/api
- test/helm/gateway-crds-helm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments