From 7d69a79f5178253067ca4790aff43164b6132310 Mon Sep 17 00:00:00 2001 From: Alka Kumari <48486620+alkakumari016@users.noreply.github.com> Date: Wed, 11 Mar 2026 15:24:17 +0530 Subject: [PATCH 1/2] Added a doc file ffor configuring RAG knowledge of Gitops and Argocd to the Lightspeed (#1095) Signed-off-by: Alka Kumari Signed-off-by: Triona Doyle --- ...htspeed BYOK Gitops configuration guide.md | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 docs/Lightspeed BYOK Gitops configuration guide.md diff --git a/docs/Lightspeed BYOK Gitops configuration guide.md b/docs/Lightspeed BYOK Gitops configuration guide.md new file mode 100644 index 00000000000..0f330b58a3c --- /dev/null +++ b/docs/Lightspeed BYOK Gitops configuration guide.md @@ -0,0 +1,49 @@ +# Enhancing OpenShift Lightspeed with Custom Knowledge + +## Overview +This guide explains how to extend the intelligence of OpenShift Lightspeed by integrating specialized knowledge for Argo CD, the Argo CD Operator, and the GitOps Operator. By configuring a custom Retrieval-Augmented Generation (RAG) database, you ensure the service provides precise, context-aware assistance for your GitOps queries. + +The OpenShift Lightspeed service leverages Large Language Models (LLMs) to provide intelligent, context-aware responses. To ensure the model has deep expertise in your specific environment, you can use the Bring Your Own (BYO) Knowledge tool to integrate a Retrieval-Augmented Generation (RAG) database. + +By connecting this database, you bridge the gap between general AI knowledge and specific technical documentation, ensuring more accurate troubleshooting and configuration advice. + + +## Pre-packaged Knowledge for GitOps +We have curated and optimized specialized knowledge sets for the following components: + +* ArgoCD +* ArgoCD Operator +* Red Hat OpenShift GitOps Operator +* ArgoCD Agent + +This knowledge is packaged into a container [image](https://quay.io/rhn-support-alkumari/argocd-byok-image:v0.0.2) and can be configured in Lightspeed using the instructions below. + +## Prerequisites + +* You are logged in to the OpenShift Container Platform web console as a user account that has permission to create a cluster-scoped custom resource (CR) file, such as a user with the cluster-admin role. +* You have an LLM provider available for use with the OpenShift Lightspeed Service. +* You have installed and configured the [OpenShift Lightspeed Operator](https://docs.redhat.com/en/documentation/red_hat_openshift_lightspeed/1.0/html/configure/ols-configuring-openshift-lightspeed). + +Modify the OLSconfig CR to deploy the pre-packaged RAG database alongside the existing one: + +* In the OpenShift Container Platform web console, click Operators >> Installed Operators. +* Select All Projects in the Project dropdown at the top of the screen. +* Click OpenShift Lightspeed Operator. +* Click OLSConfig, then click the cluster configuration instance in the list. +* Click the YAML tab. +* Insert the spec.ols.rag yaml code: + Example OLSconfig CR file + +```bash +apiVersion: ols.openshift.io/v1alpha1 +kind: OLSConfig +metadata: + name: cluster +spec: + ols: + rag: + - image: quay.io/rhn-support-alkumari/argocd-byok-image:v0.0.4 +``` + +Note: Where image specifies the tag for the image that is present in the image registry so that the OpenShift Lightspeed Operator can access the custom content. +* Click Save. From 127b620d7a1809b5e9d11937c1aa6a3664b15002 Mon Sep 17 00:00:00 2001 From: Triona Doyle Date: Thu, 12 Mar 2026 10:42:26 +0000 Subject: [PATCH 2/2] Update sequential test timout to 210m Signed-off-by: Triona Doyle --- Makefile | 2 +- ...htspeed BYOK Gitops configuration guide.md | 49 ------------------- 2 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 docs/Lightspeed BYOK Gitops configuration guide.md diff --git a/Makefile b/Makefile index f3bf5aedea1..5b96ac93fa0 100644 --- a/Makefile +++ b/Makefile @@ -169,7 +169,7 @@ e2e-tests-ginkgo: e2e-tests-sequential-ginkgo e2e-tests-parallel-ginkgo ## Runs .PHONY: e2e-tests-sequential-ginkgo e2e-tests-sequential-ginkgo: ginkgo ## Runs kuttl e2e sequential tests @echo "Running GitOps Operator sequential Ginkgo E2E tests..." - $(GINKGO_CLI) -v --trace --timeout 180m -r ./test/openshift/e2e/ginkgo/sequential + $(GINKGO_CLI) -v --trace --timeout 210m -r ./test/openshift/e2e/ginkgo/sequential .PHONY: e2e-tests-parallel-ginkgo ## Runs kuttl e2e parallel tests, (Defaults to 5 runs at a time) e2e-tests-parallel-ginkgo: ginkgo diff --git a/docs/Lightspeed BYOK Gitops configuration guide.md b/docs/Lightspeed BYOK Gitops configuration guide.md deleted file mode 100644 index 0f330b58a3c..00000000000 --- a/docs/Lightspeed BYOK Gitops configuration guide.md +++ /dev/null @@ -1,49 +0,0 @@ -# Enhancing OpenShift Lightspeed with Custom Knowledge - -## Overview -This guide explains how to extend the intelligence of OpenShift Lightspeed by integrating specialized knowledge for Argo CD, the Argo CD Operator, and the GitOps Operator. By configuring a custom Retrieval-Augmented Generation (RAG) database, you ensure the service provides precise, context-aware assistance for your GitOps queries. - -The OpenShift Lightspeed service leverages Large Language Models (LLMs) to provide intelligent, context-aware responses. To ensure the model has deep expertise in your specific environment, you can use the Bring Your Own (BYO) Knowledge tool to integrate a Retrieval-Augmented Generation (RAG) database. - -By connecting this database, you bridge the gap between general AI knowledge and specific technical documentation, ensuring more accurate troubleshooting and configuration advice. - - -## Pre-packaged Knowledge for GitOps -We have curated and optimized specialized knowledge sets for the following components: - -* ArgoCD -* ArgoCD Operator -* Red Hat OpenShift GitOps Operator -* ArgoCD Agent - -This knowledge is packaged into a container [image](https://quay.io/rhn-support-alkumari/argocd-byok-image:v0.0.2) and can be configured in Lightspeed using the instructions below. - -## Prerequisites - -* You are logged in to the OpenShift Container Platform web console as a user account that has permission to create a cluster-scoped custom resource (CR) file, such as a user with the cluster-admin role. -* You have an LLM provider available for use with the OpenShift Lightspeed Service. -* You have installed and configured the [OpenShift Lightspeed Operator](https://docs.redhat.com/en/documentation/red_hat_openshift_lightspeed/1.0/html/configure/ols-configuring-openshift-lightspeed). - -Modify the OLSconfig CR to deploy the pre-packaged RAG database alongside the existing one: - -* In the OpenShift Container Platform web console, click Operators >> Installed Operators. -* Select All Projects in the Project dropdown at the top of the screen. -* Click OpenShift Lightspeed Operator. -* Click OLSConfig, then click the cluster configuration instance in the list. -* Click the YAML tab. -* Insert the spec.ols.rag yaml code: - Example OLSconfig CR file - -```bash -apiVersion: ols.openshift.io/v1alpha1 -kind: OLSConfig -metadata: - name: cluster -spec: - ols: - rag: - - image: quay.io/rhn-support-alkumari/argocd-byok-image:v0.0.4 -``` - -Note: Where image specifies the tag for the image that is present in the image registry so that the OpenShift Lightspeed Operator can access the custom content. -* Click Save.