Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions api/v1/qdrantcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ type KubernetesService struct {
// Annotations specifies the annotations for the Service.
// +optional
Annotations map[string]string `json:"annotations,omitempty"`
// LoadBalancerSourceRanges specifies the allowed CIDR source ranges for the loadBalancer Service.
// +optional
LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty"`
}

func (s *KubernetesService) GetType() corev1.ServiceType {
Expand Down
5 changes: 5 additions & 0 deletions api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,12 @@ spec:
type: string
description: Annotations specifies the annotations for the Service.
type: object
loadBalancerSourceRanges:
description: LoadBalancerSourceRanges specifies the allowed CIDR
source ranges for the loadBalancer Service.
items:
type: string
type: array
type:
default: ClusterIP
description: 'Type specifies the type of the Service: "ClusterIP",
Expand Down
6 changes: 6 additions & 0 deletions crds/qdrant.io_qdrantclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,12 @@ spec:
type: string
description: Annotations specifies the annotations for the Service.
type: object
loadBalancerSourceRanges:
description: LoadBalancerSourceRanges specifies the allowed CIDR
source ranges for the loadBalancer Service.
items:
type: string
type: array
type:
default: ClusterIP
description: 'Type specifies the type of the Service: "ClusterIP",
Expand Down
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ _Appears in:_
| --- | --- | --- | --- |
| `type` _[ServiceType](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#servicetype-v1-core)_ | Type specifies the type of the Service: "ClusterIP", "NodePort", "LoadBalancer". | ClusterIP | Optional: \{\} <br /> |
| `annotations` _object (keys:string, values:string)_ | Annotations specifies the annotations for the Service. | | Optional: \{\} <br /> |
| `loadBalancerSourceRanges` _string array_ | LoadBalancerSourceRanges specifies the allowed CIDR source ranges for the loadBalancer Service. | | Optional: \{\} <br /> |


#### KubernetesStatefulSet
Expand Down
Loading