diff --git a/valeriano-manassero/trino/Chart.yaml b/valeriano-manassero/trino/Chart.yaml index 3ffc038..e8185b0 100644 --- a/valeriano-manassero/trino/Chart.yaml +++ b/valeriano-manassero/trino/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "433" description: High performance, distributed SQL query engine for big data name: trino -version: 10.1.1 +version: 10.2.0 kubeVersion: ">= 1.24.0-0 < 1.31.0-0" home: https://trino.io icon: https://trino.io/assets/images/trino-logo/trino-ko_tiny-alt.svg @@ -27,4 +27,4 @@ keywords: annotations: artifacthub.io/changes: | - kind: changed - description: Fixing indent for init-certs resources block + description: Add extra volumes parameter to coordinator node diff --git a/valeriano-manassero/trino/README.md b/valeriano-manassero/trino/README.md index 4910cf3..59cb8c5 100644 --- a/valeriano-manassero/trino/README.md +++ b/valeriano-manassero/trino/README.md @@ -1,6 +1,6 @@ # trino -![Version: 10.1.1](https://img.shields.io/badge/Version-10.1.1-informational?style=flat-square) ![AppVersion: 433](https://img.shields.io/badge/AppVersion-433-informational?style=flat-square) +![Version: 10.2.0](https://img.shields.io/badge/Version-10.2.0-informational?style=flat-square) ![AppVersion: 433](https://img.shields.io/badge/AppVersion-433-informational?style=flat-square) High performance, distributed SQL query engine for big data @@ -33,6 +33,8 @@ Kubernetes: `>= 1.24.0-0 < 1.31.0-0` | config.coordinator.env | list | `[]` | | | config.coordinator.envFrom | list | `[]` | | | config.coordinator.extraConfig | string | `""` | | +| config.coordinator.extraVolumeMounts | object | `{}` | | +| config.coordinator.extraVolumes | object | `{}` | | | config.coordinator.initContainers | list | `[]` | | | config.coordinator.jvm.gcMethod.g1.heapRegionSize | string | `"32M"` | | | config.coordinator.jvm.gcMethod.type | string | `"UseG1GC"` | | diff --git a/valeriano-manassero/trino/templates/deployment-coordinator.yaml b/valeriano-manassero/trino/templates/deployment-coordinator.yaml index b59cd2e..a165455 100644 --- a/valeriano-manassero/trino/templates/deployment-coordinator.yaml +++ b/valeriano-manassero/trino/templates/deployment-coordinator.yaml @@ -110,6 +110,10 @@ spec: configMap: name: {{ .configMapName }} {{- end }} + {{- range $volumeName, $volume := .Values.config.coordinator.extraVolumes }} + - name: {{ $volumeName }} + {{- tpl (toYaml $volume) $ | nindent 10 -}} + {{- end }} {{- if or .Values.jmxExporter.coordinator.enabled .Values.config.coordinator.initContainers (include "trino.tlsEncryption" . ) }} initContainers: {{- if .Values.jmxExporter.coordinator.enabled }} @@ -271,6 +275,10 @@ spec: subPath: {{ .subPath }} {{- end }} {{- end }} + {{- range $mountName, $mount := .Values.config.coordinator.extraVolumeMounts }} + - name: {{ $mountName }} + {{- tpl (toYaml $mount) $ | nindent 14 -}} + {{- end }} ports: - name: http-coord containerPort: {{ .Values.config.general.http.port }} diff --git a/valeriano-manassero/trino/values.yaml b/valeriano-manassero/trino/values.yaml index 9d43b87..defe02d 100644 --- a/valeriano-manassero/trino/values.yaml +++ b/valeriano-manassero/trino/values.yaml @@ -100,6 +100,16 @@ config: extraConfig: "" query: maxMemoryPerNode: "1GB" + extraVolumeMounts: {} + # sample config for temp storage volume mount + # localtemp: + # mountpath: /tmp/localtemp + # readOnly: false + extraVolumes: {} + # sample config for temp storage volume + # localtemp: + # hostPath: + # path: /mnt livenessProbe: {} # initialDelaySeconds: 20 # periodSeconds: 10