Skip to content

Commit

Permalink
Allow fqdn to have uppercase / fix delegate type / pattern
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Sloka <[email protected]>
  • Loading branch information
stevesloka committed Jun 25, 2018
1 parent 81f4e1e commit c154337
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 15 deletions.
5 changes: 2 additions & 3 deletions deployment/common/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
properties:
fqdn:
type: string
pattern: ^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$
pattern: ^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\.)+[a-z]{2,}$
aliases:
type: array
items:
Expand Down Expand Up @@ -77,11 +77,10 @@ spec:
type: string
pattern: ^\/.*$
delegate:
type: string
type: object
required:
- name
- namespace
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ # DNS-1123
properties:
name:
type: string
Expand Down
5 changes: 2 additions & 3 deletions deployment/render/daemonset-norbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
properties:
fqdn:
type: string
pattern: ^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$
pattern: ^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\.)+[a-z]{2,}$
aliases:
type: array
items:
Expand Down Expand Up @@ -80,11 +80,10 @@ spec:
type: string
pattern: ^\/.*$
delegate:
type: string
type: object
required:
- name
- namespace
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ # DNS-1123
properties:
name:
type: string
Expand Down
5 changes: 2 additions & 3 deletions deployment/render/daemonset-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
properties:
fqdn:
type: string
pattern: ^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$
pattern: ^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\.)+[a-z]{2,}$
aliases:
type: array
items:
Expand Down Expand Up @@ -80,11 +80,10 @@ spec:
type: string
pattern: ^\/.*$
delegate:
type: string
type: object
required:
- name
- namespace
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ # DNS-1123
properties:
name:
type: string
Expand Down
5 changes: 2 additions & 3 deletions deployment/render/deployment-norbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
properties:
fqdn:
type: string
pattern: ^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$
pattern: ^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\.)+[a-z]{2,}$
aliases:
type: array
items:
Expand Down Expand Up @@ -80,11 +80,10 @@ spec:
type: string
pattern: ^\/.*$
delegate:
type: string
type: object
required:
- name
- namespace
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ # DNS-1123
properties:
name:
type: string
Expand Down
5 changes: 2 additions & 3 deletions deployment/render/deployment-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
properties:
fqdn:
type: string
pattern: ^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$
pattern: ^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\.)+[a-z]{2,}$
aliases:
type: array
items:
Expand Down Expand Up @@ -80,11 +80,10 @@ spec:
type: string
pattern: ^\/.*$
delegate:
type: string
type: object
required:
- name
- namespace
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ # DNS-1123
properties:
name:
type: string
Expand Down

0 comments on commit c154337

Please sign in to comment.