From 950e33837c38cdc31f4ef6eca411c8d91ec3b041 Mon Sep 17 00:00:00 2001 From: "heitorrbarros@gmail.com" Date: Thu, 18 Apr 2024 17:16:28 -0300 Subject: [PATCH] Fix default value for additionalJVMConfig `additionalJVMConfig` expects a list, so the default value should not be an empty object. --- charts/trino/README.md | 4 ++-- charts/trino/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/trino/README.md b/charts/trino/README.md index 44465278..37a4ba63 100644 --- a/charts/trino/README.md +++ b/charts/trino/README.md @@ -66,7 +66,7 @@ The following table lists the configurable parameters of the Trino chart and the | `coordinator.jvm.gcMethod.g1.heapRegionSize` | | `"32M"` | | `coordinator.config.memory.heapHeadroomPerNode` | | `""` | | `coordinator.config.query.maxMemoryPerNode` | | `"1GB"` | -| `coordinator.additionalJVMConfig` | | `{}` | +| `coordinator.additionalJVMConfig` | | `[]` | | `coordinator.additionalExposedPorts` | | `{}` | | `coordinator.resources` | | `{}` | | `coordinator.livenessProbe` | | `{}` | @@ -85,7 +85,7 @@ The following table lists the configurable parameters of the Trino chart and the | `worker.jvm.gcMethod.g1.heapRegionSize` | | `"32M"` | | `worker.config.memory.heapHeadroomPerNode` | | `""` | | `worker.config.query.maxMemoryPerNode` | | `"1GB"` | -| `worker.additionalJVMConfig` | | `{}` | +| `worker.additionalJVMConfig` | | `[]` | | `worker.additionalExposedPorts` | | `{}` | | `worker.resources` | | `{}` | | `worker.livenessProbe` | | `{}` | diff --git a/charts/trino/values.yaml b/charts/trino/values.yaml index 04e0d19c..28f80b88 100644 --- a/charts/trino/values.yaml +++ b/charts/trino/values.yaml @@ -266,7 +266,7 @@ coordinator: query: maxMemoryPerNode: "1GB" - additionalJVMConfig: {} + additionalJVMConfig: [] additionalExposedPorts: {} @@ -335,7 +335,7 @@ worker: query: maxMemoryPerNode: "1GB" - additionalJVMConfig: {} + additionalJVMConfig: [] additionalExposedPorts: {}