diff --git a/api/v1/qdrantcluster_types.go b/api/v1/qdrantcluster_types.go index 88c8620..0e40bfe 100644 --- a/api/v1/qdrantcluster_types.go +++ b/api/v1/qdrantcluster_types.go @@ -443,6 +443,10 @@ type QdrantConfigurationService struct { // Default is false // +optional JwtRbac *bool `json:"jwt_rbac,omitempty"` + // HideJwtDashboard specifies whether to hide the JWT dashboard of the embedded UI + // Default is false + // +optional + HideJwtDashboard *bool `json:"hide_jwt_dashboard,omitempty"` // EnableTLS specifies whether to enable tls for the qdrant instance // Default is false // +optional @@ -470,6 +474,13 @@ func (c *QdrantConfigurationService) GetJwtRbac() bool { return *c.JwtRbac } +func (c *QdrantConfigurationService) GetHideJwtDashboard() bool { + if c == nil || c.HideJwtDashboard == nil { + return false + } + return *c.HideJwtDashboard +} + func (c *QdrantConfigurationService) GetEnableTLS() bool { if c == nil || c.EnableTLS == nil { return false diff --git a/api/v1/zz_generated.deepcopy.go b/api/v1/zz_generated.deepcopy.go index 4c17e3b..27ebea0 100644 --- a/api/v1/zz_generated.deepcopy.go +++ b/api/v1/zz_generated.deepcopy.go @@ -1034,6 +1034,11 @@ func (in *QdrantConfigurationService) DeepCopyInto(out *QdrantConfigurationServi *out = new(bool) **out = **in } + if in.HideJwtDashboard != nil { + in, out := &in.HideJwtDashboard, &out.HideJwtDashboard + *out = new(bool) + **out = **in + } if in.EnableTLS != nil { in, out := &in.EnableTLS, &out.EnableTLS *out = new(bool) diff --git a/charts/qdrant-kubernetes-api/templates/region-crds/qdrant.io_qdrantclusters.yaml b/charts/qdrant-kubernetes-api/templates/region-crds/qdrant.io_qdrantclusters.yaml index 0d14945..e0438a5 100644 --- a/charts/qdrant-kubernetes-api/templates/region-crds/qdrant.io_qdrantclusters.yaml +++ b/charts/qdrant-kubernetes-api/templates/region-crds/qdrant.io_qdrantclusters.yaml @@ -132,6 +132,11 @@ spec: EnableTLS specifies whether to enable tls for the qdrant instance Default is false type: boolean + hide_jwt_dashboard: + description: |- + HideJwtDashboard specifies whether to hide the JWT dashboard of the embedded UI + Default is false + type: boolean jwt_rbac: description: |- JwtRbac specifies whether to enable jwt rbac for the qdrant instance diff --git a/docs/api.md b/docs/api.md index 249604a..5894265 100644 --- a/docs/api.md +++ b/docs/api.md @@ -702,6 +702,7 @@ _Appears in:_ | `api_key` _[QdrantSecretKeyRef](#qdrantsecretkeyref)_ | ApiKey for the qdrant instance | | | | `read_only_api_key` _[QdrantSecretKeyRef](#qdrantsecretkeyref)_ | ReadOnlyApiKey for the qdrant instance | | | | `jwt_rbac` _boolean_ | JwtRbac specifies whether to enable jwt rbac for the qdrant instance
Default is false | | | +| `hide_jwt_dashboard` _boolean_ | HideJwtDashboard specifies whether to hide the JWT dashboard of the embedded UI
Default is false | | | | `enable_tls` _boolean_ | EnableTLS specifies whether to enable tls for the qdrant instance
Default is false | | |