Skip to content

Commit

Permalink
NO-JIRA: temporarily comment out proper host name validation in route…
Browse files Browse the repository at this point in the history
… CRD since our test values we use are not valid
  • Loading branch information
jiridanek committed Nov 6, 2024
1 parent 627cfb2 commit e394746
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ spec:
host:
description: host is an alias/DNS that points to the service. Optional. If not specified a route name will typically be automatically chosen. Must follow DNS952 subdomain conventions.
maxLength: 253
pattern: ^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])(\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9]))*$
# TODO: comment this out, our test values don't pass this validation
# pattern: ^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])(\.([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]{0,61}[a-zA-Z0-9]))*$
type: string
path:
description: path that the router watches for, to route traffic for to the service. Optional
Expand Down

0 comments on commit e394746

Please sign in to comment.