Skip to content

Conversation

@mhotan
Copy link
Contributor

@mhotan mhotan commented Oct 30, 2025

Context: Union uses flyte-core as a subchart. This pattern is likely applicable for other organizations as well.

This PR makes it so .Values.flyte.common.databaseSecret.name, *.image.repository, *.image.tag respects Helm template values through the tpl function.

Additionally, we are updating Helm version to 3.19 as it is more up to date with latest release.

  • This pull request enhances the handling of database secrets in Helm templates by enabling dynamic referencing of the database secret name.
  • It modifies various deployment configurations to allow the use of templated values for image references and database secret names.
  • This improvement increases flexibility and configurability in secret management for deployments, allowing the secret name to be set using Helm template values.
  • Overall, the changes touch on YAML configuration files and deployment configurations, introducing risks related to secret management.

Summary by Bito

  • This pull request enhances the handling of database secrets in Helm templates by enabling dynamic referencing of the database secret name.
  • It updates various deployment configurations to allow the use of templated values for image references and database secret names.
  • The Helm version is upgraded to 3.19.0, ensuring compatibility with the latest features.
  • Overall, these changes improve flexibility and configurability in secret management for deployments.

@mhotan mhotan force-pushed the mhotan/templatable-db-name branch from 0cc7cee to 711e80a Compare October 30, 2025 01:48
template value

This adds support for the ability to set
`.Values.flyte.common.databaseSecret.name` to a Helm template value.
e.g. `.Values.global.MY_SECRET_NAME`

Signed-off-by: Mike Hotan <[email protected]>
@mhotan mhotan force-pushed the mhotan/templatable-db-name branch from 711e80a to 4cdf120 Compare October 30, 2025 01:50
@codecov
Copy link

codecov bot commented Oct 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.72%. Comparing base (74d9e86) to head (16fb9a7).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6711      +/-   ##
==========================================
+ Coverage   58.57%   59.72%   +1.14%     
==========================================
  Files         929      929              
  Lines       70879    57995   -12884     
==========================================
- Hits        41520    34636    -6884     
+ Misses      26206    20206    -6000     
  Partials     3153     3153              
Flag Coverage Δ
unittests-datacatalog 60.30% <ø> (+1.27%) ⬆️
unittests-flyteadmin 57.90% <ø> (+1.76%) ⬆️
unittests-flytecopilot 43.16% <ø> (+1.79%) ⬆️
unittests-flytectl 65.31% <ø> (+0.61%) ⬆️
unittests-flyteidl 78.64% <ø> (+2.52%) ⬆️
unittests-flyteplugins 62.02% <ø> (+1.01%) ⬆️
unittests-flytepropeller 55.56% <ø> (+0.50%) ⬆️
unittests-flytestdlib 63.97% <ø> (+0.91%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mhotan mhotan force-pushed the mhotan/templatable-db-name branch from 4e76b6c to b8f3252 Compare November 4, 2025 09:20
@mhotan mhotan force-pushed the mhotan/templatable-db-name branch from b8f3252 to 7e1e03b Compare November 4, 2025 09:41
@mhotan mhotan changed the title Allow .Values.flyte.common.databaseSecret.name to reference Helm template value Allow .tpl of database secret names and image repository and tag Nov 4, 2025
Signed-off-by: Michael Hotan <[email protected]>
@mhotan mhotan force-pushed the mhotan/templatable-db-name branch from 8b1ec15 to 16fb9a7 Compare November 4, 2025 17:50
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