From 9f7663e512af587b4401c91be835621449e9cd86 Mon Sep 17 00:00:00 2001 From: dnskr Date: Thu, 23 May 2024 00:20:52 +0200 Subject: [PATCH] Upgrade default Presto version to 0.287 --- charts/presto/Chart.yaml | 2 +- charts/presto/templates/configmap-coordinator.yaml | 1 + charts/presto/templates/configmap-resource-manager.yaml | 1 + charts/presto/templates/configmap-worker.yaml | 1 + charts/presto/values.yaml | 6 +++--- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/charts/presto/Chart.yaml b/charts/presto/Chart.yaml index 3be97c3..b8f625f 100644 --- a/charts/presto/Chart.yaml +++ b/charts/presto/Chart.yaml @@ -3,7 +3,7 @@ name: presto description: The official Helm chart for Presto type: application version: 0.2.0 -appVersion: "0.286" +appVersion: "0.287" home: https://prestodb.io icon: https://prestodb.io/docs/current/_static/logo.png keywords: diff --git a/charts/presto/templates/configmap-coordinator.yaml b/charts/presto/templates/configmap-coordinator.yaml index 812b20c..e6282c9 100644 --- a/charts/presto/templates/configmap-coordinator.yaml +++ b/charts/presto/templates/configmap-coordinator.yaml @@ -11,6 +11,7 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} data: node.properties: |- + node.id=${ENV:HOSTNAME} node.location={{ .Values.node.location }} node.environment={{ .Values.node.environment }} node.data-dir={{ .Values.node.dataDir }} diff --git a/charts/presto/templates/configmap-resource-manager.yaml b/charts/presto/templates/configmap-resource-manager.yaml index 774e626..3f29dbe 100644 --- a/charts/presto/templates/configmap-resource-manager.yaml +++ b/charts/presto/templates/configmap-resource-manager.yaml @@ -12,6 +12,7 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} data: node.properties: |- + node.id=${ENV:HOSTNAME} node.location={{ .Values.node.location }} node.environment={{ .Values.node.environment }} node.data-dir={{ .Values.node.dataDir }} diff --git a/charts/presto/templates/configmap-worker.yaml b/charts/presto/templates/configmap-worker.yaml index 894f68c..d92f417 100644 --- a/charts/presto/templates/configmap-worker.yaml +++ b/charts/presto/templates/configmap-worker.yaml @@ -12,6 +12,7 @@ metadata: app.kubernetes.io/managed-by: {{ .Release.Service }} data: node.properties: |- + node.id=${ENV:HOSTNAME} node.location={{ .Values.node.location }} node.environment={{ .Values.node.environment }} node.data-dir={{ .Values.node.dataDir }} diff --git a/charts/presto/values.yaml b/charts/presto/values.yaml index 6ad9ab4..5cce9c9 100644 --- a/charts/presto/values.yaml +++ b/charts/presto/values.yaml @@ -92,7 +92,7 @@ resourceManager: # Resource manager JVM options (overwrites common JVM options) jvm: "" # Command to launch resource manager (templated) - command: ["sh", "-c", "$PRESTO_HOME/bin/launcher run"] + command: ~ # Arguments to launch resource manager (templated) args: ~ # Additional resource manager environment variables (templated) @@ -144,7 +144,7 @@ coordinator: # Coordinator JVM options (overwrites common JVM options) jvm: "" # Command to launch coordinator (templated) - command: ["sh", "-c", "$PRESTO_HOME/bin/launcher run"] + command: ~ # Arguments to launch coordinator (templated) args: ~ # Additional coordinator environment variables (templated) @@ -196,7 +196,7 @@ worker: # Worker JVM options (overwrites common JVM options) jvm: "" # Command to launch worker (templated) - command: ["sh", "-c", "$PRESTO_HOME/bin/launcher run"] + command: ~ # Arguments to launch worker (templated) args: ~ # Additional worker environment variables (templated)