feat(infra): add optional external-secrets integration via rag-setup …#277
Open
feat(infra): add optional external-secrets integration via rag-setup …#277
Conversation
…stackitcloud/rag-template into feat/external-secrets-rag-setup
## 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.
…namespace discovery
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 therag-setupchart, templated ESO resources, and updated documentation.Helm chart and deployment enhancements:
rag-setup, which wraps the existingragchart and optionally deploys the External Secrets Operator, controlled via thefeatures.externalSecrets.enabledvalue. (infrastructure/server-setup/rag-setup/Chart.yaml)values.yamlforrag-setup, providing configuration for enabling/disablingragandexternal-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:
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:
README.mdto document the newrag-setupchart, explain how to enable/disable ESO integration, and clarify the impact on local development and production deployments. (infrastructure/README.md)