Skip to content

Commit 3acb234

Browse files
oneonestarmosabua
authored andcommitted
Update config path path for gateway
1 parent c1bacab commit 3acb234

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

charts/gateway/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ A Helm chart for Trino Gateway
4747
* `config.dataStore.password` - string, default: `"mysecretpassword"`
4848
* `config.dataStore.driver` - string, default: `"org.postgresql.Driver"`
4949
* `config.clusterStatsConfiguration.monitorType` - string, default: `"INFO_API"`
50-
* `command` - list, default: `["java","-XX:MinRAMPercentage=80.0","-XX:MaxRAMPercentage=80.0","-jar","/usr/lib/trino/gateway-ha-jar-with-dependencies.jar","/etc/gateway/config.yaml"]`
50+
* `command` - list, default: `["java","-XX:MinRAMPercentage=80.0","-XX:MaxRAMPercentage=80.0","-jar","/usr/lib/trino-gateway/gateway-ha-jar-with-dependencies.jar","/etc/trino-gateway/config.yaml"]`
5151

5252
Startup command for Trino Gateway process. Add additional Java options and other modifications as desired.
5353
* `service` - object, default: `{"ports":[{"name":"gateway","protocol":"TCP"}],"type":"ClusterIP"}`

charts/gateway/templates/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ spec:
8585
{{- toYaml .Values.resources | nindent 12 }}
8686
volumeMounts:
8787
- name: trino-gateway-configuration
88-
mountPath: "/etc/gateway/config.yaml"
88+
mountPath: "/etc/trino-gateway/config.yaml"
8989
subPath: "config.yaml"
9090
readOnly: true
9191
{{- with .Values.volumeMounts }}

charts/gateway/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ command:
5050
- "-XX:MinRAMPercentage=80.0"
5151
- "-XX:MaxRAMPercentage=80.0"
5252
- "-jar"
53-
- "/usr/lib/trino/gateway-ha-jar-with-dependencies.jar"
54-
- "/etc/gateway/config.yaml"
53+
- "/usr/lib/trino-gateway/gateway-ha-jar-with-dependencies.jar"
54+
- "/etc/trino-gateway/config.yaml"
5555

5656
# -- Service for accessing the gateway. The contents of this dictionary are used
5757
# for the [service spec](https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport).

tests/gateway/test-https.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ command:
33
- "-c"
44
- |
55
cat /etc/certificates/tls.crt /etc/certificates/tls.key > /etc/scratch/tls.pem && \
6-
java -XX:MinRAMPercentage=80.0 -XX:MaxRAMPercentage=80.0 -jar /usr/lib/trino/gateway-ha-jar-with-dependencies.jar /etc/gateway/config.yaml
6+
java -XX:MinRAMPercentage=80.0 -XX:MaxRAMPercentage=80.0 -jar /usr/lib/trino-gateway/gateway-ha-jar-with-dependencies.jar /etc/trino-gateway/config.yaml
77
88
config:
99
serverConfig:

0 commit comments

Comments
 (0)