Skip to content

Commit

Permalink
Full support for custom group provider (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-nik authored Nov 8, 2022
1 parent 85ebd91 commit 88350fb
Show file tree
Hide file tree
Showing 3 changed files with 5 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.4.1
version: 2.4.2
home: https://trino.io
icon: https://trino.io/assets/images/trino-logo/trino-ko_tiny-alt.svg
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ data:

{{- if .Values.groupProvider }}{{- if .Values.groupProvider.type }}
group-provider.properties: |
group-provider.name=file
group-provider.name={{ required "groupProvider requires a valid 'name'." .Values.groupProvider.name }}
{{- if eq .Values.groupProvider.name "file" }}
file.refresh-period={{ .Values.groupProvider.refreshPeriod | default "5s" }}
file.group-file={{ .Values.config.general.path }}/group-provider/{{ .Values.groupProvider.configFile | default "groups.txt" }}
{{- end }}
{{ .Values.groupProvider.customProperties | indent 4 }}
{{- end }}{{- end }}

Expand Down
1 change: 1 addition & 0 deletions valeriano-manassero/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ resourceGroups: {}

groupProvider: {}
# # Supported types: pvc or configmap
# name: file
# type: pvc
# refreshPeriod: 5s
# # Rules file is mounted to /etc/trino/group-provider
Expand Down

0 comments on commit 88350fb

Please sign in to comment.