Skip to content

feat(infra): add optional external-secrets integration via rag-setup …#277

Open
a-klos wants to merge 10 commits intomainfrom
feat/external-secrets-rag-setup
Open

feat(infra): add optional external-secrets integration via rag-setup …#277
a-klos wants to merge 10 commits intomainfrom
feat/external-secrets-rag-setup

Conversation

@a-klos
Copy link
Member

@a-klos a-klos commented Feb 17, 2026

This pull request introduces a new Helm wrapper chart, rag-setup, to simplify and standardize the deployment of the RAG application with optional integration of the External Secrets Operator (ESO). The changes make it easier to manage secrets in production environments, while keeping local development workflows unchanged. Key updates include the creation of the rag-setup chart, templated ESO resources, and updated documentation.

Helm chart and deployment enhancements:

  • Added a new Helm chart, rag-setup, which wraps the existing rag chart and optionally deploys the External Secrets Operator, controlled via the features.externalSecrets.enabled value. (infrastructure/server-setup/rag-setup/Chart.yaml)
  • Introduced a new values.yaml for rag-setup, providing configuration for enabling/disabling rag and external-secrets, as well as detailed settings for secret store integration and secret resource management. (infrastructure/server-setup/rag-setup/values.yaml)

External Secrets Operator integration:

  • Added templated resources to provision and configure ExternalSecret, SecretStore/ClusterSecretStore, and supporting secrets for various application components (e.g., database, authentication, Langfuse, etc.), making secret management more robust and production-ready. (infrastructure/server-setup/rag-setup/templates/external-secrets.yaml)

Documentation updates:

  • Updated the infrastructure README.md to document the new rag-setup chart, explain how to enable/disable ESO integration, and clarify the impact on local development and production deployments. (infrastructure/README.md)

## Summary
- add Terraform outputs for managed Redis connection details
- expose host, load-balanced host, port, username, password, and URI
- mark secret-bearing outputs as sensitive
…eration

- Introduced `deploy-rag-prod.sh` script for streamlined production deployment, encompassing Terraform apply, secrets seeding, and Helm chart deployment.
- Added `generate-rag-setup-prod-values.sh` script to generate production override values for the rag-setup Helm chart from Terraform outputs.
- Updated `README.md` to document the new deployment process and Helm value generation.
- Enhanced `object_storage.tf` to output additional object storage bucket details and endpoint.
- Modified `seed-secrets` module to support optional overrides for sensitive values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments