From 148d1e9dabace2359c6f2b01aea64ed6a244d606 Mon Sep 17 00:00:00 2001 From: Lukas Piwowarski Date: Wed, 18 Nov 2026 16:55:44 +0100 Subject: [PATCH 1/2] Pin lightspeed-stack image to dev-latest by digest The pinned image carries two fixes we need: * [1] raises the /v1/responses request size limit to 1 MiB, so Goose conversation history and tool results no longer exceed the previous 128 KiB cap. * [2] filters the server-managed file_search tool and its output items from /v1/responses and the SSE stream unless the client requested it, letting clients such as Goose work with RAG-as-a-tool enabled. Until GA, keep dev-latest digest-pinned and advance the pin to the latest verified image every two weeks rather than tracking every dev build. [1] https://github.com/lightspeed-core/lightspeed-stack/pull/3216 [2] https://github.com/lightspeed-core/lightspeed-stack/pull/3255 Assisted-By: OpenCode:GLM-5.3 --- api/v1beta1/openstacklightspeed_types.go | 2 +- config/manager/manager.yaml | 4 ++-- ...tack-lightspeed-operator.clusterserviceversion.yaml | 2 +- .../lightspeed_v1beta1_openstacklightspeed.yaml | 4 ++-- hack/env.sh | 4 ++-- ...ate-openstack-lightspeed-with-container-images.yaml | 4 ++-- .../03-assert-container-images.yaml | 10 +++++----- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/api/v1beta1/openstacklightspeed_types.go b/api/v1beta1/openstacklightspeed_types.go index edde60d..5c01d56 100644 --- a/api/v1beta1/openstacklightspeed_types.go +++ b/api/v1beta1/openstacklightspeed_types.go @@ -30,7 +30,7 @@ const ( OpenStackLightspeedContainerImage = "quay.io/openstack-lightspeed/rag-content:os-docs-2026.1-ogx" // LCoreContainerImage is the fall-back container image for LCore - LCoreContainerImage = "quay.io/lightspeed-core/lightspeed-stack:0.7.3" + LCoreContainerImage = "quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6" // OGXContainerImage is the fall-back container image for OGX. OGXContainerImage = LCoreContainerImage diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index a1dae44..91009f4 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -77,9 +77,9 @@ spec: - name: RELATED_IMAGE_OPENSTACK_LIGHTSPEED_IMAGE_URL_DEFAULT value: quay.io/openstack-lightspeed/rag-content:os-docs-2026.1-ogx - name: RELATED_IMAGE_LCORE_IMAGE_URL_DEFAULT - value: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + value: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 - name: RELATED_IMAGE_OGX_IMAGE_URL_DEFAULT - value: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + value: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 - name: RELATED_IMAGE_EXPORTER_IMAGE_URL_DEFAULT value: quay.io/lightspeed-core/lightspeed-to-dataverse-exporter:latest - name: RELATED_IMAGE_POSTGRES_IMAGE_URL_DEFAULT diff --git a/config/manifests/bases/openstack-lightspeed-operator.clusterserviceversion.yaml b/config/manifests/bases/openstack-lightspeed-operator.clusterserviceversion.yaml index 1b2e0cf..5916cf9 100644 --- a/config/manifests/bases/openstack-lightspeed-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/openstack-lightspeed-operator.clusterserviceversion.yaml @@ -173,6 +173,6 @@ spec: name: operator - image: quay.io/openstack-lightspeed/rag-content:os-docs-2026.1-ogx name: rag-content - - image: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + - image: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 name: ogx version: 0.0.0 diff --git a/config/samples/lightspeed_v1beta1_openstacklightspeed.yaml b/config/samples/lightspeed_v1beta1_openstacklightspeed.yaml index a02131c..2354a78 100644 --- a/config/samples/lightspeed_v1beta1_openstacklightspeed.yaml +++ b/config/samples/lightspeed_v1beta1_openstacklightspeed.yaml @@ -40,7 +40,7 @@ spec: # cpu: "2" # memory: "8Gi" # logLevel: "all=info" - # containerImage: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + # containerImage: quay.io/lightspeed-core/lightspeed-stack:dev-latest # Uncomment to customize lightspeed-service-api container resources and log level: # lcore: # customServiceConfig: | @@ -54,7 +54,7 @@ spec: # cpu: "1" # memory: "2Gi" # logLevel: "INFO" - # containerImage: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + # containerImage: quay.io/lightspeed-core/lightspeed-stack:dev-latest # Uncomment to customize dataverse exporter configuration: # dataverseExporter: # logLevel: "INFO" diff --git a/hack/env.sh b/hack/env.sh index bb3c79e..479e8b2 100644 --- a/hack/env.sh +++ b/hack/env.sh @@ -1,6 +1,6 @@ #!/bin/bash -export RELATED_IMAGE_LCORE_IMAGE_URL_DEFAULT="quay.io/lightspeed-core/lightspeed-stack:0.7.3" -export RELATED_IMAGE_OGX_IMAGE_URL_DEFAULT="quay.io/lightspeed-core/lightspeed-stack:0.7.3" +export RELATED_IMAGE_LCORE_IMAGE_URL_DEFAULT="quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6" +export RELATED_IMAGE_OGX_IMAGE_URL_DEFAULT="quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6" export RELATED_IMAGE_EXPORTER_IMAGE_URL_DEFAULT="quay.io/lightspeed-core/lightspeed-to-dataverse-exporter:latest" export RELATED_IMAGE_POSTGRES_IMAGE_URL_DEFAULT="quay.io/sclorg/postgresql-16-c10s:latest" # TODO(lpiwowar): Replace this with a stable (non-alpha) image version once diff --git a/test/kuttl/tests/container-image-overrides/02-create-openstack-lightspeed-with-container-images.yaml b/test/kuttl/tests/container-image-overrides/02-create-openstack-lightspeed-with-container-images.yaml index ac9f354..a55c6e0 100644 --- a/test/kuttl/tests/container-image-overrides/02-create-openstack-lightspeed-with-container-images.yaml +++ b/test/kuttl/tests/container-image-overrides/02-create-openstack-lightspeed-with-container-images.yaml @@ -20,10 +20,10 @@ spec: containerImage: quay.io/openstack-lightspeed/rag-content:os-docs-2026.1-ogx ogx: logLevel: DEBUG - containerImage: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + containerImage: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 lcore: logLevel: WARNING - containerImage: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + containerImage: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 dataverseExporter: logLevel: DEBUG containerImage: quay.io/lightspeed-core/lightspeed-to-dataverse-exporter:latest diff --git a/test/kuttl/tests/container-image-overrides/03-assert-container-images.yaml b/test/kuttl/tests/container-image-overrides/03-assert-container-images.yaml index 50d259d..e04a3ad 100644 --- a/test/kuttl/tests/container-image-overrides/03-assert-container-images.yaml +++ b/test/kuttl/tests/container-image-overrides/03-assert-container-images.yaml @@ -50,12 +50,12 @@ spec: - name: vector-database-collect image: quay.io/openstack-lightspeed/rag-content:os-docs-2026.1-ogx - name: vector-database-config-build - image: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + image: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 containers: - name: ogx - image: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + image: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 - name: lightspeed-service-api - image: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + image: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 - name: lightspeed-to-dataverse-exporter image: quay.io/lightspeed-core/lightspeed-to-dataverse-exporter:latest status: @@ -81,7 +81,7 @@ spec: dataverseExporter: containerImage: quay.io/lightspeed-core/lightspeed-to-dataverse-exporter:latest lcore: - containerImage: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + containerImage: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 resources: limits: cpu: "1" @@ -90,7 +90,7 @@ spec: cpu: 250m memory: 512Mi ogx: - containerImage: quay.io/lightspeed-core/lightspeed-stack:0.7.3 + containerImage: quay.io/lightspeed-core/lightspeed-stack:dev-latest@sha256:7468e043c9b20bb9e2e1cc2af819d6d054db6886aa3655a48b911f04b1d71ea6 resources: limits: cpu: "2" From 490a12e186ead3c449d6323d5c9f5cf86f3d3c6b Mon Sep 17 00:00:00 2001 From: Lukas Piwowarski Date: Fri, 20 Nov 2026 18:00:52 +0100 Subject: [PATCH 2/2] docs: update for dev-latest default LCore/OGX image The default LCore and OGX image is now a digest-pinned lightspeed-stack:dev-latest build instead of the released 0.7.3 tag. Update the documentation accordingly: * configuration.md: the default responses_request_max_size of the default LCore image is now 1048576 characters (1 MiB), not the 0.7.3 default of 131072. * configuration.md (Container images): state that the default LCore/OGX image is digest-pinned dev-latest until GA. Assisted-By: OpenCode:GLM-5.3 --- docs/configuration.md | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 21e3317..e1142a3 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -71,14 +71,15 @@ spec: lcore: customServiceConfig: | customization: - responses_request_max_size: 262144 + responses_request_max_size: 2097152 ``` This preserves the operator's system prompt settings while adding the request -size limit. When omitted, Lightspeed Stack 0.7.3 uses its default of `131072` characters. -The configured value must be a positive integer. Use a LCore container image that -supports this setting. This request size limit is separate from -`models[].maxTokensForResponse`, which controls response tokens. +size limit. When omitted, the default LCore image uses its built-in default of +`1048576` characters (1 MiB). The configured value must be a positive +integer. Custom or older LCore container images may not support this setting. +This request size limit is separate from `models[].maxTokensForResponse`, +which controls response tokens. ## Data collection @@ -133,10 +134,30 @@ spec: ## Container images -Each managed workload can use a custom image. Set `containerImage` under the -relevant component: `rag`, `ogx`, `lcore`, `database`, `dataverseExporter`, -or `okp`. When omitted, the operator uses its configured -default image. For example, to configure LCORE container image: +The operator deploys the following digest-pinned container images by default: + +| Component | Default image | +|---------------------|-------------------------------------------------------------------| +| `rag` | `quay.io/openstack-lightspeed/rag-content:os-docs-2026.1-ogx` | +| `ogx` | `quay.io/lightspeed-core/lightspeed-stack:dev-latest` | +| `lcore` | `quay.io/lightspeed-core/lightspeed-stack:dev-latest` | +| `database` | `quay.io/sclorg/postgresql-16-c10s:latest` | +| `dataverseExporter` | `quay.io/lightspeed-core/lightspeed-to-dataverse-exporter:latest` | +| `okp` | `registry.redhat.io/offline-knowledge-portal/rhokp-rhel9:latest` | + +> [!NOTE] +> Until GA, the default `ogx` and `lcore` images are digest-pinned to +> `quay.io/lightspeed-core/lightspeed-stack:dev-latest` and updated +> periodically to the latest verified image. The motivation behind using +> `dev-latest` rather than versioned release images (e.g., `0.7.3`) is to +> speed up the delivery of fixes from lightspeed-stack to OpenStack Lightspeed. + +Each managed workload can use a custom image — for example, to pick up a fix +that is not yet present in the image deployed by the operator by default. +To do so, set `containerImage` under the relevant component (`rag`, `ogx`, +`lcore`, `database`, `dataverseExporter`, or `okp`). When omitted, the +operator uses its configured default image. For example, to configure the +`lcore` container image: ```yaml spec: