File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ type GateTokenSpec struct {
40
40
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
41
41
// Important: Run "make" to regenerate code after modifying this file
42
42
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.
44
44
// +required
45
45
// +kubebuilder:validation:Required
46
46
// +kubebuilder:validation:Type="string"
Original file line number Diff line number Diff line change 51
51
type : string
52
52
match-method :
53
53
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
55
55
methods, only API requests matching one of the allowed methods will
56
56
be validated. Defalut value is "GET,OPTIONS".
57
57
maxLength : 1024
62
62
request path, API requests matching this pattern will be validated
63
63
by the token. This field may not be empty.
64
64
maxLength : 1024
65
- pattern : ^/ [^:@]+$
65
+ pattern : ^[/^] [^:@]+$
66
66
type : string
67
67
user-id :
68
68
description : User is the user id of the user requesting this token.
You can’t perform that action at this time.
0 commit comments