Skip to content

Commit 3c2c723

Browse files
goformat; generate code
Signed-off-by: Rachael Graham <[email protected]>
1 parent 7ac85df commit 3c2c723

File tree

4 files changed

+18
-27
lines changed

4 files changed

+18
-27
lines changed

.golangci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,3 +212,4 @@ formatters:
212212
- third_party$
213213
- builtin$
214214
- examples$
215+
- api/v1alpha1/ai_policy.go

install/helm/kgateway-crds/templates/gateway.kgateway.dev_agentgatewaybackends.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ spec:
248248
defaults:
249249
- field: "system"
250250
value: "answer all questions in French"
251-
252251
```
253252
254253
Example: Setting a default temperature and overriding `max_tokens`:
@@ -267,11 +266,9 @@ spec:
267266
defaults:
268267
- field: "custom_integer_list"
269268
value: [1,2,3]
270-
271269
overrides:
272270
- field: "custom_string_list"
273271
value: ["one","two","three"]
274-
275272
```
276273
277274
Note: The `field` values correspond to keys in the JSON request body, not fields in this CRD.
@@ -318,7 +315,6 @@ spec:
318315
defaults:
319316
- field: "system"
320317
value: "answer all questions in French"
321-
322318
```
323319
324320
Example: Setting a default temperature and overriding `max_tokens`:
@@ -337,11 +333,9 @@ spec:
337333
defaults:
338334
- field: "custom_integer_list"
339335
value: [1,2,3]
340-
341336
overrides:
342337
- field: "custom_string_list"
343338
value: ["one","two","three"]
344-
345339
```
346340
347341
Note: The `field` values correspond to keys in the JSON request body, not fields in this CRD.
@@ -2314,7 +2308,6 @@ spec:
23142308
defaults:
23152309
- field: "system"
23162310
value: "answer all questions in French"
2317-
23182311
```
23192312
23202313
Example: Setting a default temperature and overriding `max_tokens`:
@@ -2333,11 +2326,9 @@ spec:
23332326
defaults:
23342327
- field: "custom_integer_list"
23352328
value: [1,2,3]
2336-
23372329
overrides:
23382330
- field: "custom_string_list"
23392331
value: ["one","two","three"]
2340-
23412332
```
23422333
23432334
Note: The `field` values correspond to keys in the JSON request body, not fields in this CRD.
@@ -2383,7 +2374,6 @@ spec:
23832374
defaults:
23842375
- field: "system"
23852376
value: "answer all questions in French"
2386-
23872377
```
23882378
23892379
Example: Setting a default temperature and overriding `max_tokens`:
@@ -2402,11 +2392,9 @@ spec:
24022392
defaults:
24032393
- field: "custom_integer_list"
24042394
value: [1,2,3]
2405-
24062395
overrides:
24072396
- field: "custom_string_list"
24082397
value: ["one","two","three"]
2409-
24102398
```
24112399
24122400
Note: The `field` values correspond to keys in the JSON request body, not fields in this CRD.

install/helm/kgateway-crds/templates/gateway.kgateway.dev_agentgatewaypolicies.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ spec:
9292
defaults:
9393
- field: "system"
9494
value: "answer all questions in French"
95-
9695
```
9796
9897
Example: Setting a default temperature and overriding `max_tokens`:
@@ -111,11 +110,9 @@ spec:
111110
defaults:
112111
- field: "custom_integer_list"
113112
value: [1,2,3]
114-
115113
overrides:
116114
- field: "custom_string_list"
117115
value: ["one","two","three"]
118-
119116
```
120117
121118
Note: The `field` values correspond to keys in the JSON request body, not fields in this CRD.
@@ -161,7 +158,6 @@ spec:
161158
defaults:
162159
- field: "system"
163160
value: "answer all questions in French"
164-
165161
```
166162
167163
Example: Setting a default temperature and overriding `max_tokens`:
@@ -180,11 +176,9 @@ spec:
180176
defaults:
181177
- field: "custom_integer_list"
182178
value: [1,2,3]
183-
184179
overrides:
185180
- field: "custom_string_list"
186181
value: ["one","two","three"]
187-
188182
```
189183
190184
Note: The `field` values correspond to keys in the JSON request body, not fields in this CRD.

install/helm/kgateway-crds/templates/gateway.kgateway.dev_gatewayparameters.yaml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -665,15 +665,23 @@ spec:
665665
componentLogLevels:
666666
additionalProperties:
667667
type: string
668-
description: "Envoy log levels for specific components.
669-
The keys are component names and\nthe values are one
670-
of \"trace\", \"debug\", \"info\", \"warn\", \"error\",\n\"critical\",
671-
or \"off\", e.g.\n\n\t```yaml\n\tcomponentLogLevels:\n\t
672-
\ upstream: debug\n\t connection: trace\n\t```\n\nThese
673-
will be converted to the `--component-log-level` Envoy
674-
argument\nvalue. See\nhttps://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy\nfor
675-
more information.\n\nNote: the keys and values cannot
676-
be empty, but they are not otherwise validated."
668+
description: |-
669+
Envoy log levels for specific components. The keys are component names and
670+
the values are one of "trace", "debug", "info", "warn", "error",
671+
"critical", or "off", e.g.
672+
673+
```yaml
674+
componentLogLevels:
675+
upstream: debug
676+
connection: trace
677+
```
678+
679+
These will be converted to the `--component-log-level` Envoy argument
680+
value. See
681+
https://www.envoyproxy.io/docs/envoy/latest/start/quick-start/run-envoy#debugging-envoy
682+
for more information.
683+
684+
Note: the keys and values cannot be empty, but they are not otherwise validated.
677685
type: object
678686
logLevel:
679687
description: |-

0 commit comments

Comments
 (0)