-
Notifications
You must be signed in to change notification settings - Fork 182
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
Trino. Ability to override catalog individual properties #290
Comments
I am not sure about this but I dont think I think this would very much be a breaking change, and I am wondering if there really is much benefit. Also what would it take in terms of implementation... for example we definitely do NOT want to define all the valid property names in the chart anywhere since they change all the time and vary a lot between releases. |
It's not unreasonable to ask for this. We already added support for lists in a few places where we had config properties only set as one string. We can make it backward compatible by checking the type of the value. I also don't think we have to validate available properties in the chart itself. What about passing properties through the |
Thanks for clarifying @nineinchnick .. if it is doable without breaking things and without overcomplifying the chart source with hardcoded properties then this could be a great change. The tpl approach also sounds reasonable .. at least for config.properties, node.properties and the catalogs. For other properties files like various access control ones I am a bit weary of doing .. it would just get a bit much. But thats just a gut feeling .. could be unreasonable |
Desctiption:
Currently, in the Trino Helm chart, certain configurations are provided as multiline strings using the YAML block syntax (|-). For example:
While this structure is useful for grouping related settings, it has a significant limitation: it is not possible to override individual properties within the block from another values.yaml file. For example, I cannot override
s3.path-style-access
alone in MyEnv.yaml.Use Case:
As a user of Trino Helm charts, I want to customize individual properties within grouped configurations without redefining the entire block. This would allow me to:
• Avoid duplicating unchanged configuration in multiple environments.
• Reduce errors and maintenance overhead when managing environment-specific values.
Proposed Solution:
Refactor the configuration blocks into individual key-value pairs in the Helm chart, like so:
This way, I can override specific properties in MyEnv.yaml without redefining the entire block:
The text was updated successfully, but these errors were encountered: