Skip to content

Commit 5a6fd94

Browse files
committed
fix env and workingDir for main container
1 parent cf733c9 commit 5a6fd94

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Charts/fastcs/templates/statefulset.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,19 @@ spec:
122122
- name: {{ .Chart.Name }}
123123
image: '{{ .Values.image.repository }}{{ ternary "-debug" "" .Values.editable }}:{{ .Values.image.tag }}'
124124
{{- with .Values.securityContext }}
125+
# a writeable place to have cwd
126+
workingDir: /epics/runtime
127+
env:
128+
- name: HOME
129+
value: /epics/runtime
130+
- name: TERM
131+
value: xterm-256color
132+
{{- with $.Values.globalEnv }}
133+
{{- toYaml . | nindent 12}}
134+
{{- end }}
135+
{{- with $.Values.iocEnv }}
136+
{{- toYaml . | nindent 12}}
137+
{{- end }}
125138
securityContext:
126139
{{- toYaml . | nindent 12 }}
127140
{{- end }}

0 commit comments

Comments
 (0)