Skip to content

Commit c092f9c

Browse files
oasisvalihashhar
authored andcommitted
Allow setting environment variables for all pods
1 parent 4bb1c6a commit c092f9c

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

charts/trino/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.0
18+
version: 0.3.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/trino/templates/deployment-coordinator.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ spec:
3939
- name: {{ .Chart.Name }}-coordinator
4040
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4141
imagePullPolicy: {{ .Values.image.pullPolicy }}
42+
env:
43+
{{- toYaml .Values.env | nindent 12 }}
4244
volumeMounts:
4345
- mountPath: {{ .Values.server.config.path }}
4446
name: config-volume

charts/trino/templates/deployment-worker.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ spec:
3636
- name: {{ .Chart.Name }}-worker
3737
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
3838
imagePullPolicy: {{ .Values.image.pullPolicy }}
39+
env:
40+
{{- toYaml .Values.env | nindent 12 }}
3941
volumeMounts:
4042
- mountPath: {{ .Values.server.config.path }}
4143
name: config-volume

charts/trino/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ additionalLogProperties: {}
4444

4545
additionalCatalogs: {}
4646

47+
# Array of EnvVar (https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#envvar-v1-core)
48+
env: []
49+
4750
securityContext:
4851
runAsUser: 1000
4952
runAsGroup: 1000

0 commit comments

Comments
 (0)