Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add envFrom and remove lookup #260

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

willmostly
Copy link
Contributor

@willmostly willmostly commented Nov 21, 2024

Add envFrom to allow providing environment variables from Secrets, and remove usage of the Helm lookup function for merging Secrets into the configuration.

This removes the custom checksum calculation as well. The checksum had included the optional configuration secrets, causing pod restarts whether configuration was updated through the chart or through a secret. Since this required retrieving Secrets from the target cluster through the Helm lookup function, it caused the chart to be incompatible with release pipelines in which a manifest is generated in an environment that does not have access to the target cluster.

@willmostly willmostly force-pushed the will/config-from-env branch from 6c552a3 to be32f79 Compare December 3, 2024 01:51
@cla-bot cla-bot bot added the cla-signed label Dec 3, 2024
@willmostly willmostly force-pushed the will/config-from-env branch from be32f79 to ace7a57 Compare December 3, 2024 16:42
Copy link
Member

@nineinchnick nineinchnick left a comment

Choose a reason for hiding this comment

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

LGTM with one nitpick - you could also copy the PR description into the commit message.

@nineinchnick
Copy link
Member

@willmostly please rebase

@nineinchnick nineinchnick added the enhancement New feature or request label Dec 4, 2024
@nineinchnick nineinchnick added the breaking-change Potentially breaking changes that require user action. Will be highlighted in release notes. label Dec 10, 2024
@nineinchnick
Copy link
Member

Just a note - this is a breaking change, which reminded me that we should also clarify somewhere in the docs that the chart's version number is not following semantic versioning.

@nineinchnick nineinchnick merged commit 706f94c into trinodb:main Dec 10, 2024
10 checks passed
@mosabua
Copy link
Member

mosabua commented Dec 10, 2024

We can just do that in the readme for the chart .. or in the page I will work on for the Trino Gateway docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Potentially breaking changes that require user action. Will be highlighted in release notes. cla-signed enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

3 participants