Skip to content

Commit

Permalink
Update RouteGroup CRD with TLS spec
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Herrera <rickhl@outlook.com>
  • Loading branch information
rickhlx committed Jan 1, 2024
1 parent ecb2e4b commit 8059893
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions dataclients/kubernetes/deploy/apply/routegroups_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,27 @@ spec:
type: object
minItems: 1
type: array
tls:
description: TLS defines which Kubernetes secret will be used to terminate
the connection based on the matching hostnames
items:
properties:
hosts:
description: Host specifies the list of hosts included in the
TLS secret. The values in this list must match the name/s
used in the tlsSecret.
items:
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
secretName:
description: SecretName is the name of the secret used to terminate
TLS traffic on port 443. Field is left optional to allow TLS
routing based on SNI hostname alone.
type: string
type: object
type: array
required:
- backends
type: object
Expand Down

0 comments on commit 8059893

Please sign in to comment.