Skip to content

Commit

Permalink
Merge pull request #7214 from zalando-incubator/routegroup/update-crd…
Browse files Browse the repository at this point in the history
…-hosts-max-length

routegroup crd: add hosts max length
  • Loading branch information
AlexanderYastrebov authored Mar 26, 2024
2 parents 16d86b9 + 2cf0a83 commit 40d10e2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cluster/manifests/01-routegroup/routegroup-crd.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# This is an adjusted copy of https://github.com/szuecs/routegroup-client/blob/master/zalando.org_routegroups.yaml
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
Expand Down Expand Up @@ -133,7 +132,8 @@ spec:
hosts:
description: List of hostnames for the RouteGroup
items:
pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?([.][a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"
maxLength: 255
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?([.][a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
minItems: 1
type: array
Expand Down Expand Up @@ -217,7 +217,8 @@ spec:
The values in this list must match the host name(s) used for
the RouteGroup in order to terminate TLS for the host(s).
items:
pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?([.][a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"
maxLength: 255
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?([.][a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
type: string
minItems: 1
type: array
Expand Down

0 comments on commit 40d10e2

Please sign in to comment.