Skip to content

Commit

Permalink
Add event listener properties (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndrluis authored Feb 8, 2023
1 parent cea6ad7 commit b36af3d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion valeriano-manassero/trino/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "380"
description: High performance, distributed SQL query engine for big data
name: trino
version: 2.7.0
version: 2.8.0
home: https://trino.io
icon: https://trino.io/assets/images/trino-logo/trino-ko_tiny-alt.svg
sources:
Expand Down
3 changes: 2 additions & 1 deletion valeriano-manassero/trino/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# trino

![Version: 2.7.0](https://img.shields.io/badge/Version-2.7.0-informational?style=flat-square) ![AppVersion: 380](https://img.shields.io/badge/AppVersion-380-informational?style=flat-square)
![Version: 2.8.0](https://img.shields.io/badge/Version-2.8.0-informational?style=flat-square) ![AppVersion: 380](https://img.shields.io/badge/AppVersion-380-informational?style=flat-square)

High performance, distributed SQL query engine for big data

Expand Down Expand Up @@ -75,6 +75,7 @@ High performance, distributed SQL query engine for big data
| config.worker.tolerations | list | `[]` | |
| configMapMounts | list | `[]` | |
| connectors | object | `{}` | |
| eventListenerProperties | object | `{}` | |
| faultTolerance.enabled | bool | `false` | |
| groupProvider | object | `{}` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ data:
{{ .Values.faultTolerance.additionalProperties | indent 4 }}
{{- end }}

{{ if .Values.eventListenerProperties }}
event-listener.properties: |
{{- range $configValue := .Values.eventListenerProperties }}
{{ $configValue }}
{{- end }}
{{ end }}

---
apiVersion: v1
kind: ConfigMap
Expand Down
7 changes: 7 additions & 0 deletions valeriano-manassero/trino/templates/configmap-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ data:
{{ .Values.faultTolerance.additionalProperties | indent 4 }}
{{- end }}

{{ if .Values.eventListenerProperties }}
event-listener.properties: |
{{- range $configValue := .Values.eventListenerProperties }}
{{ $configValue }}
{{- end }}
{{ end }}

---
apiVersion: v1
kind: ConfigMap
Expand Down
2 changes: 2 additions & 0 deletions valeriano-manassero/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ config:
targetCPUUtilizationPercentage: 50
stabilizationWindowSeconds: 300

eventListenerProperties: {}

auth: {}
# Set username and password
# https://trino.io/docs/current/security/password-file.html#file-format
Expand Down

0 comments on commit b36af3d

Please sign in to comment.