Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/trinodb/charts into ii-add-…
Browse files Browse the repository at this point in the history
…kubernetes-podmonitor
  • Loading branch information
alaturqua committed Mar 4, 2024
2 parents f31a5c0 + 6b68924 commit 9087bf6
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
Binary file modified charts/trino/README.md
Binary file not shown.
6 changes: 6 additions & 0 deletions charts/trino/templates/deployment-coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ spec:
secret:
secretName: {{ .secretName }}
{{- end }}
{{- with .Values.coordinator.additionalVolumes }}
{{- . | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.initContainers.coordinator }}
initContainers:
{{- tpl (toYaml .Values.initContainers.coordinator) . | nindent 6 }}
Expand Down Expand Up @@ -130,6 +133,9 @@ spec:
- mountPath: {{ .Values.server.config.path }}/auth
name: password-volume
{{- end }}
{{- with .Values.coordinator.additionalVolumeMounts }}
{{- . | toYaml | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down
6 changes: 6 additions & 0 deletions charts/trino/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ spec:
secret:
secretName: {{ .secretName }}
{{- end }}
{{- with .Values.worker.additionalVolumes }}
{{- . | toYaml | nindent 8 }}
{{- end }}
{{- if .Values.initContainers.worker }}
initContainers:
{{- tpl (toYaml .Values.initContainers.worker) . | nindent 6 }}
Expand Down Expand Up @@ -96,6 +99,9 @@ spec:
- name: {{ .name }}
mountPath: {{ .path }}
{{- end }}
{{- with .Values.worker.additionalVolumeMounts }}
{{- . | toYaml | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down
18 changes: 18 additions & 0 deletions charts/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,15 @@ coordinator:

additionalConfigFiles: {}

additionalVolumes: [] # One or more additional volumes to add to the coordinator.
# - name: extras
# emptyDir: {}

additionalVolumeMounts: [] # One or more additional volume mounts to add to the coordinator.
# - name: extras
# mountPath: /usr/share/extras
# readOnly: true

annotations: {}

labels: {}
Expand Down Expand Up @@ -362,6 +371,15 @@ worker:

additionalConfigFiles: {}

additionalVolumes: [] # One or more additional volume mounts to add to all workers.
# - name: extras
# emptyDir: {}

additionalVolumeMounts: [] # One or more additional volume mounts to add to all workers.
# - name: extras
# mountPath: /usr/share/extras
# readOnly: true

annotations: {}

labels: {}
Expand Down

0 comments on commit 9087bf6

Please sign in to comment.