Skip to content

chore: Add auth and security env vars to OpenRAG sample#1692

Open
edwinjosechittilappilly wants to merge 1 commit into
mainfrom
chore-cr-update
Open

chore: Add auth and security env vars to OpenRAG sample#1692
edwinjosechittilappilly wants to merge 1 commit into
mainfrom
chore-cr-update

Conversation

@edwinjosechittilappilly
Copy link
Copy Markdown
Collaborator

@edwinjosechittilappilly edwinjosechittilappilly commented May 27, 2026

Add AUTH_SERVER_URL and OPENRAG_BOOTSTRAP_OS_SECURITY_ON_STARTUP environment variables to the backend sample manifest. AUTH_SERVER_URL is left empty with an inline example to configure the platform auth server URL; OPENRAG_BOOTSTRAP_OS_SECURITY_ON_STARTUP is set to "true" to enable OS security bootstrap on startup. File updated: kubernetes/operator/config/samples/openrag_v1alpha1_openrag.yaml.

Summary by CodeRabbit

  • New Features
    • Added configurable authentication server URL for backend services
    • Security initialization now automatically enabled on backend startup

Review Change Stack

Add AUTH_SERVER_URL and OPENRAG_BOOTSTRAP_OS_SECURITY_ON_STARTUP environment variables to the backend sample manifest. AUTH_SERVER_URL is left empty with an inline example to configure the platform auth server URL; OPENRAG_BOOTSTRAP_OS_SECURITY_ON_STARTUP is set to "true" to enable OS security bootstrap on startup. File updated: kubernetes/operator/config/samples/openrag_v1alpha1_openrag.yaml.
Copilot AI review requested due to automatic review settings May 27, 2026 15:58
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: afd7c943-b31a-4fe1-985e-a50acd792ab9

📥 Commits

Reviewing files that changed from the base of the PR and between f2766a0 and bf3e3ff.

📒 Files selected for processing (1)
  • kubernetes/operator/config/samples/openrag_v1alpha1_openrag.yaml

Walkthrough

The Kubernetes sample manifest for OpenRAG now includes backend environment variable configuration. Two new environment variables are defined: AUTH_SERVER_URL (with a placeholder comment for the auth server URL) and OPENRAG_BOOTSTRAP_OS_SECURITY_ON_STARTUP set to enable security bootstrapping on startup.

Changes

Backend Environment Configuration

Layer / File(s) Summary
Backend environment variables
kubernetes/operator/config/samples/openrag_v1alpha1_openrag.yaml
Backend service configuration adds AUTH_SERVER_URL and OPENRAG_BOOTSTRAP_OS_SECURITY_ON_STARTUP environment variables to the Kubernetes sample manifest.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested labels

enhancement

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: adding auth and security environment variables to the OpenRAG Kubernetes sample manifest.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore-cr-update

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the OpenRAG operator sample CR to include backend environment variables intended to configure platform authentication and enable OpenSearch security bootstrapping during startup.

Changes:

  • Add backend.env entries for AUTH_SERVER_URL and OPENRAG_BOOTSTRAP_OS_SECURITY_ON_STARTUP in the sample manifest.
  • Default OPENRAG_BOOTSTRAP_OS_SECURITY_ON_STARTUP to "true" and leave AUTH_SERVER_URL as an empty string with an inline example.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +22 to +26
env:
- name: AUTH_SERVER_URL
value: "" # Set to the platform auth server URL, e.g. https://auth-server.<namespace>.svc
- name: OPENRAG_BOOTSTRAP_OS_SECURITY_ON_STARTUP
value: "true"
Comment on lines +23 to +24
- name: AUTH_SERVER_URL
value: "" # Set to the platform auth server URL, e.g. https://auth-server.<namespace>.svc
@edwinjosechittilappilly edwinjosechittilappilly enabled auto-merge (squash) May 27, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants