mirror of https://github.com/coder/code-server.git
chore: resources definition for initContainer
This commit is contained in:
parent
793e4d35ec
commit
78c765b15b
|
@ -44,6 +44,10 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /home/coder
|
mountPath: /home/coder
|
||||||
|
{{- if .Values.initResources }}
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.initResources | nindent 10 }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.extraInitContainers }}
|
{{- if .Values.extraInitContainers }}
|
||||||
{{ tpl .Values.extraInitContainers . | indent 6}}
|
{{ tpl .Values.extraInitContainers . | indent 6}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue