Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

Add skip-auth on auto-login env var setting to allow for external API authentication, remove opensearch and docling health from orag backend readiness probe checks, Remove AWS Access/Secret Key env vars for backend, these are supplied by the Orag UI

rodageveabdfc8f6963a
diff --git a/kubernetes/helm/openrag/templates/backend/backend-dotenv.yaml b/kubernetes/helm/openrag/templates/backend/backend-dotenv.yaml
index f09299dfc..6d92a705e 100644
--- a/kubernetes/helm/openrag/templates/backend/backend-dotenv.yaml
+++ b/kubernetes/helm/openrag/templates/backend/backend-dotenv.yaml
@@ -29,6 +29,8 @@ stringData:
# Generated from Helm values.yaml (OpenRAG)
# Mounted as a file into the pod
+ IBM_AUTH_ENABLED={{ .Values.backend.auth.ibmCloud.enabled}}
+
# Ingestion Configuration
DISABLE_INGEST_WITH_LANGFLOW={{ ternary "true" "false" .Values.backend.features.disableIngestWithLangflow }}
INGEST_SAMPLE_DATA={{ ternary "true" "false" .Values.backend.features.ingestSampleData }}
@@ -98,14 +100,6 @@ stringData:
MICROSOFT_GRAPH_OAUTH_CLIENT_SECRET={{ .Values.global.oauth.microsoft.clientSecret | quote }}
{{- end }}
- # AWS S3 credentials
- {{- if .Values.backend.aws.accessKeyId }}
- AWS_ACCESS_KEY_ID={{ .Values.backend.aws.accessKeyId | quote }}
- {{- end }}
- {{- if .Values.backend.aws.secretAccessKey }}
- AWS_SECRET_ACCESS_KEY={{ .Values.backend.aws.secretAccessKey | quote }}
- {{- end }}
-
# Webhook (continuous ingest)
{{- if .Values.backend.webhook.baseUrl }}
WEBHOOK_BASE_URL={{ .Values.backend.webhook.baseUrl | quote }}
@@ -156,7 +150,6 @@ stringData:
{{- end }}
# Langflow auth
- LANGFLOW_AUTO_LOGIN={{ ternary "true" "false" .Values.langflow.auth.autoLogin }}
{{- if .Values.langflow.auth.superuser }}
LANGFLOW_SUPERUSER={{ .Values.langflow.auth.superuser | quote }}
{{- end }}
diff --git a/kubernetes/helm/openrag/templates/backend/deployment.yaml b/kubernetes/helm/openrag/templates/backend/deployment.yaml
index 0676e952b..d82ef9b00 100644
--- a/kubernetes/helm/openrag/templates/backend/deployment.yaml
+++ b/kubernetes/helm/openrag/templates/backend/deployment.yaml
@@ -176,20 +176,6 @@ spec:
set -eu
FAILED=0
- # OpenSearch: verify endpoint is reachable; fail only if unreachable (000) or 5xx
- echo "Checking OpenSearch..."
- HTTP_CODE="$(curl -sk -o /dev/null -w '%{http_code}' "{{ include "openrag.opensearch.url" . }}" || echo '000')"
-
- case "$HTTP_CODE" in
- 000|5??)
- echo "ERROR: OpenSearch health check failed at {{ include "openrag.opensearch.url" . }} (HTTP $HTTP_CODE)"
- FAILED=1
- ;;
- *)
- echo "OpenSearch: OK (HTTP $HTTP_CODE)"
- ;;
- esac
-
# Langflow health
echo "Checking Langflow..."
if ! curl -sf "{{ include "openrag.langflow.url" . }}/health" >/dev/null 2>&1; then
@@ -199,20 +185,6 @@ spec:
echo "Langflow: OK"
fi
- # Docling health
- echo "Checking Docling..."
- if ! curl -sf "{{ include "openrag.docling.url" . }}/health" >/dev/null 2>&1; then
- echo "ERROR: Docling health check failed at {{ include "openrag.docling.url" . }}/health"
- FAILED=1
- else
- echo "Docling: OK"
- fi
-
- if [ "$FAILED" -eq 1 ]; then
- echo "Health check failed: one or more dependencies are unavailable"
- exit 1
- fi
-
echo "All health checks passed"
exit 0
initialDelaySeconds: {{ .Values.backend.readinessProbe.initialDelaySeconds }}
diff --git a/kubernetes/helm/openrag/templates/langflow/langflow-dotenv.yaml b/kubernetes/helm/openrag/templates/langflow/langflow-dotenv.yaml
index 75c4c03b5..cc428daf7 100644
--- a/kubernetes/helm/openrag/templates/langflow/langflow-dotenv.yaml
+++ b/kubernetes/helm/openrag/templates/langflow/langflow-dotenv.yaml
@@ -114,6 +114,8 @@ stringData:
# Langflow auth
LANGFLOW_AUTO_LOGIN={{ ternary "true" "false" .Values.langflow.auth.autoLogin }}
+ LANGFLOW_SKIP_AUTH_AUTO_LOGIN={{ ternary "true" "false" .Values.langflow.auth.skipAuthAutoLogin }}
+
{{- if .Values.langflow.auth.superuser }}
LANGFLOW_SUPERUSER={{ .Values.langflow.auth.superuser | quote }}
{{- end }}
diff --git a/kubernetes/helm/openrag/templates/secrets/aws-secret.yaml b/kubernetes/helm/openrag/templates/secrets/aws-secret.yaml
index b20ad07a0..fa6fbfeda 100644
--- a/kubernetes/helm/openrag/templates/secrets/aws-secret.yaml
+++ b/kubernetes/helm/openrag/templates/secrets/aws-secret.yaml
@@ -1,4 +1,4 @@
-{{- if .Values.backend.aws.enabled }}
+{{- if .Values.global.aws.enabled }}
apiVersion: v1
kind: Secret
metadata:
@@ -8,6 +8,6 @@ metadata:
{{- include "openrag.labels" . | nindent 4 }}
type: Opaque
stringData:
- access-key-id: {{ .Values.backend.aws.accessKeyId | quote }}
- secret-access-key: {{ .Values.backend.aws.secretAccessKey | quote }}
+ access-key-id: {{ .Values.global.aws.accessKeyId | quote }}
+ secret-access-key: {{ .Values.global.aws.secretAccessKey | quote }}
{{- end }}
diff --git a/kubernetes/helm/openrag/values.yaml b/kubernetes/helm/openrag/values.yaml
index 1bcb3b1bd..02750e056 100644
--- a/kubernetes/helm/openrag/values.yaml
+++ b/kubernetes/helm/openrag/values.yaml
@@ -42,7 +42,17 @@ global:
enabled: false
clientId: "" # Microsoft Graph OAuth client ID
clientSecret: "" # Microsoft Graph OAuth client secret
-
+ ibmcos:
+ enabled: false
+ accessKeyId: "" # IBM Cloud Object Storage access key ID
+ secretAccessKey: "" # IBM Cloud Object Storage secret access key
+ endpoint: "" # IBM Cloud Object Storage endpoint
+ aws:
+ enabled: false
+ accessKeyId: ""
+ secretAccessKey: ""
+ region: ""
+
# ============================================================================
# Langflow Configuration
# ============================================================================
@@ -100,6 +110,7 @@ langflow:
# Authentication settings
auth:
autoLogin: false
+ skipAuthAutoLogin: false
superuser: "admin" # Langflow superuser username
superuserPassword: "" # Langflow superuser password (stored in secret)
apiKey: "" # Optional: pre-generated API key
@@ -185,6 +196,10 @@ langflow:
backend:
enabled: true
+ auth:
+ ibmCloud:
+ enabled: false
+
image:
repository: langflowai/openrag-backend
tag: "" # Uses global.imageTag if empty
@@ -272,12 +287,6 @@ backend:
enabled: false
baseUrl: "" # DNS routable URL for webhooks (e.g., ngrok URL)
- # AWS credentials for S3 integration
- aws:
- enabled: false
- accessKeyId: ""
- secretAccessKey: ""
-
# Probes
livenessProbe:
enabled: true