Skip to content

Commit e5b242d

Browse files
committed
update-type
1 parent 20f7a43 commit e5b242d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/v1beta1/gatetoken_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type GateTokenSpec struct {
4040
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
4141
// Important: Run "make" to regenerate code after modifying this file
4242

43-
// User is the user id of the user requesting this token.
43+
// user-id is the user id of the user requesting this token.
4444
// +required
4545
// +kubebuilder:validation:Required
4646
// +kubebuilder:validation:Type="string"

config/crd/bases/ocgate.yaacov.com_gatetokens.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ spec:
5151
type: string
5252
match-method:
5353
default: GET,OPTIONS
54-
description: match-path is a comma seperated list of allowed http
54+
description: match-path is a comma separated list of allowed http
5555
methods, only API requests matching one of the allowed methods will
5656
be validated. Defalut value is "GET,OPTIONS".
5757
maxLength: 1024
@@ -62,7 +62,7 @@ spec:
6262
request path, API requests matching this pattern will be validated
6363
by the token. This field may not be empty.
6464
maxLength: 1024
65-
pattern: ^/[^:@]+$
65+
pattern: ^[/^][^:@]+$
6666
type: string
6767
user-id:
6868
description: User is the user id of the user requesting this token.

0 commit comments

Comments
 (0)