Skip to content

Commit a8573df

Browse files
committed
change namespace back to optional
1 parent b0dabb2 commit a8573df

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

api/routing/v1alpha1/envoybootstrapconfig_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ type LoadBalancerServiceReference struct {
6161
// Name is the Service name.
6262
Name string `json:"name"`
6363
// Namespace is the Service namespace.
64+
// If empty, defaults to the namespace where the EnvoyBootstrapConfig is created.
65+
// +optional
6466
Namespace string `json:"namespace"`
6567
}
6668

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,12 @@ spec:
7474
description: Name is the Service name.
7575
type: string
7676
namespace:
77-
description: Namespace is the Service namespace.
77+
description: |-
78+
Namespace is the Service namespace.
79+
If empty, defaults to the namespace where the EnvoyBootstrapConfig is created.
7880
type: string
7981
required:
8082
- name
81-
- namespace
8283
type: object
8384
multiAZ:
8485
default: false

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,7 @@ _Appears in:_
17601760
| Field | Description | Default | Validation |
17611761
| --- | --- | --- | --- |
17621762
| `name` _string_ | Name is the Service name. | | |
1763-
| `namespace` _string_ | Namespace is the Service namespace. | | |
1763+
| `namespace` _string_ | Namespace is the Service namespace.<br />If empty, defaults to the namespace where the EnvoyBootstrapConfig is created. | | Optional: \{\} <br /> |
17641764

17651765

17661766
#### QdrantClusterRouting

0 commit comments

Comments
 (0)