Skip to content

Commit 38370cb

Browse files
przemekaksopel39
authored andcommitted
Add additionalConfigFiles config.
1 parent f4769b7 commit 38370cb

File tree

5 files changed

+17
-1
lines changed

5 files changed

+17
-1
lines changed

charts/trino/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.10.0
18+
version: 0.10.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/trino/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ The following table lists the configurable parameters of the Trino chart and the
6464
| `coordinator.nodeSelector` | | `{}` |
6565
| `coordinator.tolerations` | | `[]` |
6666
| `coordinator.affinity` | | `{}` |
67+
| `coordinator.additionalConfigFiles` | | `{}` |
6768
| `worker.jvm.maxHeapSize` | | `"8G"` |
6869
| `worker.jvm.gcMethod.type` | | `"UseG1GC"` |
6970
| `worker.jvm.gcMethod.g1.heapRegionSize` | | `"32M"` |
@@ -76,6 +77,7 @@ The following table lists the configurable parameters of the Trino chart and the
7677
| `worker.nodeSelector` | | `{}` |
7778
| `worker.tolerations` | | `[]` |
7879
| `worker.affinity` | | `{}` |
80+
| `worker.additionalConfigFiles` | | `{}` |
7981
| `kafka.mountPath` | | `"/etc/trino/schemas"` |
8082
| `kafka.tableDescriptions` | | `{}` |
8183

charts/trino/templates/configmap-coordinator.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ data:
103103
{{- end }}
104104
{{ end }}
105105

106+
{{- range $fileName, $fileContent := .Values.coordinator.additionalConfigFiles }}
107+
{{ $fileName }}: |
108+
{{- $fileContent | nindent 4 }}
109+
{{- end }}
110+
106111
---
107112

108113
{{- if .Values.accessControl }}{{- if eq .Values.accessControl.type "configmap" }}

charts/trino/templates/configmap-worker.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ data:
7575
{{- end }}
7676
{{ end }}
7777

78+
{{- range $fileName, $fileContent := .Values.worker.additionalConfigFiles }}
79+
{{ $fileName }}: |
80+
{{- $fileContent | nindent 4 }}
81+
{{- end }}
82+
7883
---
7984

8085
apiVersion: v1

charts/trino/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ coordinator:
192192

193193
affinity: {}
194194

195+
additionalConfigFiles: {}
196+
195197
worker:
196198
jvm:
197199
maxHeapSize: "8G"
@@ -239,6 +241,8 @@ worker:
239241

240242
affinity: {}
241243

244+
additionalConfigFiles: {}
245+
242246
kafka:
243247
mountPath: "/etc/trino/schemas"
244248
tableDescriptions: {}

0 commit comments

Comments
 (0)