Skip to content

Commit 6a6da36

Browse files
dataclients/kubernetes: update RouteGroup CRD (#3443)
Update CRD to include: * szuecs/routegroup-client#38 * szuecs/routegroup-client#41 Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
1 parent e819c03 commit 6a6da36

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

dataclients/kubernetes/deploy/apply/routegroups_crd.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: apiextensions.k8s.io/v1
55
kind: CustomResourceDefinition
66
metadata:
77
annotations:
8-
controller-gen.kubebuilder.io/version: v0.14.0
8+
controller-gen.kubebuilder.io/version: v0.15.0
99
name: routegroups.zalando.org
1010
spec:
1111
group: zalando.org
@@ -134,10 +134,12 @@ spec:
134134
hosts:
135135
description: List of hostnames for the RouteGroup
136136
items:
137-
pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?([.][a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"
137+
maxLength: 255
138+
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?([.][a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
138139
type: string
139140
minItems: 1
140141
type: array
142+
x-kubernetes-list-type: set
141143
routes:
142144
description: Routes describe how a matching HTTP request is handled
143145
and where it is forwarded to
@@ -218,10 +220,12 @@ spec:
218220
The values in this list must match the host name(s) used for
219221
the RouteGroup in order to terminate TLS for the host(s).
220222
items:
221-
pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?([.][a-z0-9]([-a-z0-9]*[a-z0-9])?)*$"
223+
maxLength: 255
224+
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?([.][a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
222225
type: string
223226
minItems: 1
224227
type: array
228+
x-kubernetes-list-type: set
225229
secretName:
226230
description: |-
227231
SecretName is the name of the secret used to terminate TLS traffic.

0 commit comments

Comments
 (0)