Skip to content

Commit

Permalink
crd: add subnet name pattern (#4054)
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
  • Loading branch information
zhangzujian committed May 21, 2024
1 parent f69625d commit 94c22af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/kube-ovn/templates/kube-ovn-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,12 @@ spec:
openAPIV3Schema:
type: object
properties:
metadata:
type: object
properties:
name:
type: string
pattern: ^[^0-9]
status:
type: object
properties:
Expand Down
6 changes: 6 additions & 0 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2133,6 +2133,12 @@ spec:
openAPIV3Schema:
type: object
properties:
metadata:
type: object
properties:
name:
type: string
pattern: ^[^0-9]
status:
type: object
properties:
Expand Down

0 comments on commit 94c22af

Please sign in to comment.