⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

feat (chart): add support for existing usecase secret#235

Merged
a-klos merged 1 commit intomainfrom
refactor/chart
Feb 4, 2026
Merged

feat (chart): add support for existing usecase secret#235
a-klos merged 1 commit intomainfrom
refactor/chart

Conversation

@a-klos
Copy link
Member

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

This pull request introduces support for referencing an externally managed Kubernetes Secret for usecase credentials, allowing teams to use the External Secrets Operator (ESO) or other solutions to manage secrets outside of Helm chart deployments. The chart will now use an existing Secret if specified, rather than creating a new one.

Support for externally managed usecase secrets:

  • Added documentation in infrastructure/README.md explaining how to configure the chart to use an externally managed Secret via the new usecaseExistingSecretName value.
  • Updated infrastructure/rag/values.yaml to include the new usecaseExistingSecretName field under shared.secrets, with instructions for its usage.

Chart logic updates for conditional Secret creation:

  • Modified _helpers.tpl to resolve the usecase Secret name to either the existing Secret or a generated name, depending on whether usecaseExistingSecretName is set.
  • Updated secrets.yaml to only create a new usecase Secret if usecaseExistingSecretName is not set, ensuring the chart does not overwrite externally managed secrets. [1] [2]

@a-klos a-klos merged commit 84d3378 into main Feb 4, 2026
7 checks passed
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.

2 participants