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
Update configmap-coordinator.yaml remove indentation #89
Conversation
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 cla@trino.io. 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 |
Can you update the PR description to explain why this change is necessary, instead of describing the change itself? |
Please check now. |
Is the correct indentation level 0 or 2? In the example you have, it looks like there are 2 extra spaces now. Can you test this with two additional properties, like:
|
Ok. I am using subchart with dependency. So when I have values.yaml as
Then
|
And with your change that removes the indentation? |
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 cla@trino.io. 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 |
It works fine now. Refactored changes in both files for coordinator and worker. Kindly check. |
@@ -63,7 +63,7 @@ data: | |||
http-server.https.port={{ .Values.server.config.https.port }} | |||
http-server.https.keystore.path={{ .Values.server.config.https.keystore.path }} | |||
{{- end }} | |||
{{ .Values.server.coordinatorExtraConfig | indent 4 }} | |||
{{ .Values.server.coordinatorExtraConfig | indent 4 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could try this to preserve alignment and still have correct indentation.
{{ .Values.server.coordinatorExtraConfig | indent 4 }} | |
{{- .Values.server.coordinatorExtraConfig | indent 4 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This results in
config.properties: |
coordinator=true
node-scheduler.include-coordinator=false
http-server.http.port=8080
query.max-memory=4GB
query.max-memory-per-node=1GB
discovery.uri=http://localhost:8080 query.max-run-time=3m
- query.max-scan-physical-bytes=1GB
With values as
coordinatorExtraConfig: |
query.max-run-time=3m
query.max-scan-physical-bytes=1GB
Hello @nabaruns I was also facing this issue
worker
values.yaml
|
Fixed in 10e2060 |
With current chart, if we add
then
config.properties
in coordinator configMap turns out with config extra indented: