Skip to content

Commit 3ef4251

Browse files
authored
Added FQDN (host name) in QdrantClusterRoutingSpec (#244)
1 parent 3d6bf2a commit 3ef4251

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

api/routing/v1alpha1/routing_types.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ type QdrantClusterRouting struct {
2828
// QdrantClusterRoutingSpec describes the configuration for routing towards Qdrant clusters.
2929
type QdrantClusterRoutingSpec struct {
3030
// ClusterId specifies the unique identifier of the cluster.
31-
// For shared routing this Id will be used for SNI resolving.
3231
ClusterId string `json:"clusterId"`
32+
// The fully qualified domain name (also know as host).
33+
// For shared routing this will be used for SNI resolving.
34+
FQDN string `json:"fqdn"`
3335
// Enabled specifies whether to enable ingress for the cluster or not.
3436
// +kubebuilder:default=true
3537
// +optional

charts/qdrant-kubernetes-api/templates/routing-crds/routing.qdrant.io_qdrantclusterroutes.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ spec:
6868
type: string
6969
type: array
7070
clusterId:
71-
description: |-
72-
ClusterId specifies the unique identifier of the cluster.
73-
For shared routing this Id will be used for SNI resolving.
71+
description: ClusterId specifies the unique identifier of the cluster.
7472
type: string
7573
dedicated:
7674
description: |-
@@ -85,6 +83,11 @@ spec:
8583
description: Enabled specifies whether to enable ingress for the cluster
8684
or not.
8785
type: boolean
86+
fqdn:
87+
description: |-
88+
The fully qualified domain name (also know as host).
89+
For shared routing this will be used for SNI resolving.
90+
type: string
8891
nodeIndexes:
8992
description: NodeIndexes specifies the indexes of the individual nodes
9093
in the cluster.
@@ -107,6 +110,7 @@ spec:
107110
type: boolean
108111
required:
109112
- clusterId
113+
- fqdn
110114
type: object
111115
status:
112116
description: QdrantClusterRoutingStatus defines the observed state of

docs/api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1730,7 +1730,8 @@ _Appears in:_
17301730

17311731
| Field | Description | Default | Validation |
17321732
| --- | --- | --- | --- |
1733-
| `clusterId` _string_ | ClusterId specifies the unique identifier of the cluster.<br />For shared routing this Id will be used for SNI resolving. | | |
1733+
| `clusterId` _string_ | ClusterId specifies the unique identifier of the cluster. | | |
1734+
| `fqdn` _string_ | The fully qualified domain name (also know as host).<br />For shared routing this will be used for SNI resolving. | | |
17341735
| `enabled` _boolean_ | Enabled specifies whether to enable ingress for the cluster or not. | true | Optional: \{\} <br /> |
17351736
| `shared` _boolean_ | Set if the cluster uses (at least one) shared loadbalancer.<br />Note that this doesn't mean it doesn't have a dedicated loadbalancer as well (e.g. during a migration from one to the other). | | Optional: \{\} <br /> |
17361737
| `dedicated` _boolean_ | Set if the cluster uses (at least one) dedicated loadbalancer.<br />Note that this doesn't mean it doesn't have a shared loadbalancer as well (e.g. during a migration from one to the other). | | Optional: \{\} <br /> |

0 commit comments

Comments
 (0)