charts icon indicating copy to clipboard operation
charts copied to clipboard

changing additionalJVMConfig to support [] instead of []

Open joshi95 opened this issue 2 years ago • 6 comments

There is a bug in chart while supplying the additionalJVMConfig as the helm chart requires additionalJVMConfig to be an {} but it expects it to be [] in the template. Because of which the values do not update. This merge request should fix it.

Have tested it for below values worker: additionalJVMConfig: - "-Dcom.sun.management.jmxremote=true" - "-Dcom.sun.management.jmxremote.authenticate=false" - "-Dcom.sun.management.jmxremote.rmi.port=9081" - "-Dcom.sun.management.jmxremote.ssl=false" coordinator: additionalJVMConfig: - "-Dcom.sun.management.jmxremote=true" - "-Dcom.sun.management.jmxremote.authenticate=false" - "-Dcom.sun.management.jmxremote.rmi.port=9081" - "-Dcom.sun.management.jmxremote.ssl=false"

joshi95 avatar Nov 23 '22 05:11 joshi95

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

cla-bot[bot] avatar Nov 23 '22 05:11 cla-bot[bot]

Sure, have done the required changes.

joshi95 avatar Nov 24 '22 15:11 joshi95

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

cla-bot[bot] avatar Nov 24 '22 16:11 cla-bot[bot]

@cla-bot recheck

bitsondatadev avatar Jan 31 '23 16:01 bitsondatadev

The template should be fixed instead.

For populating files via volumes the convention has always been to use an object so you can set it like:

obj: |-
  my content
  goes here
  and I don't need to escape or do anything special to the values
  and things get rendered as it is

It seems like we're doing this across multiple additional property settings. Changing this is a breaking change that we should likely only do at once. Let's avoid making this a breaking change for now and I have filed trinodb/trino#15915 to track making this change all at once to remain consistent.

@hashhar, are you okay if we go back to the original version and merge this change and later we'll add a change to address the list issue?

bitsondatadev avatar Jan 31 '23 16:01 bitsondatadev

For more context see: https://www.youtube.com/watch?v=TiLObiq1xog

bitsondatadev avatar Jan 31 '23 18:01 bitsondatadev

The default was fixed in 3239a09b4e1a93dfb8b2873285af36c016b21d50. I'll close this, but feel free to reopen after rebasing.

nineinchnick avatar May 22 '24 07:05 nineinchnick