Skip to content

Commit 601923e

Browse files
committed
update codegen
Signed-off-by: Haywood Shannon <[email protected]> Signed-off-by: Haywood Shannon <[email protected]>
1 parent c4b77ac commit 601923e

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

pkg/apis/configuration/v1/types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,12 +614,15 @@ type RateLimit struct {
614614
Condition *RateLimitCondition `json:"condition"`
615615
}
616616

617+
// RateLimitCondition defines a condition for a rate limit policy.
617618
type RateLimitCondition struct {
618619
JWT JWTCondition `json:"jwt"`
619620
// +kubebuilder:validation:Optional
620621
Default bool `json:"default"`
621622
}
622623

624+
// RateLimitCondition defines a condition for a rate limit by JWT claim.
625+
623626
type JWTCondition struct {
624627
// +kubebuilder:validation:Required
625628
// +kubebuilder:validation:Pattern=`^([^$\s"'])*$`

pkg/apis/configuration/v1/zz_generated.deepcopy.go

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)