File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 4343 image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4444 imagePullPolicy : {{ .Values.image.pullPolicy }}
4545 command :
46- - " java"
47- - " -XX:MinRAMPercentage=80.0"
48- - " -XX:MaxRAMPercentage=80.0"
49- - " -jar"
50- - " /usr/lib/trino/gateway-ha-jar-with-dependencies.jar"
51- - " /etc/gateway/config.yaml"
46+ - java
47+ {{- toYaml append .Values.javaOptions list "-XX:MinRAMPercentage=80.0" "-XX:MaxRAMPercentage=80.0" "-jar" "/usr/lib/trino/gateway-ha-jar-with-dependencies.jar" "/etc/gateway/config.yaml"}}
5248 ports :
5349 - name : request
5450 containerPort : {{ index .Values "config" "serverConfig" "http-server.http.port" }}
Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ config:
5252 managedApps :
5353 - io.trino.gateway.ha.clustermonitor.ActiveClusterMonitor
5454
55+ # additional java options
56+ javaOptions : []
57+
5558service :
5659 type : ClusterIP
5760 port : 8080
You can’t perform that action at this time.
0 commit comments