Skip to content

Commit 20f7a43

Browse files
authored
Update gatetoken_types.go
1 parent 8930d35 commit 20f7a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1beta1/gatetoken_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type GateTokenSpec struct {
5353
// +required
5454
// +kubebuilder:validation:Required
5555
// +kubebuilder:validation:Type="string"
56-
// +kubebuilder:validation:Pattern="^/[^:@]+$"
56+
// +kubebuilder:validation:Pattern="^[/^][^:@]+$"
5757
// +kubebuilder:validation:MaxLength=1024
5858
MatchPath string `json:"match-path"`
5959

0 commit comments

Comments
 (0)