mirror of https://github.com/coder/coder.git
feat: add init containers to the helm chart (#5874)
* add init containers to coder deployment * fix formatting issues
This commit is contained in:
parent
3980f15340
commit
d5d9cc8d8a
|
@ -45,6 +45,10 @@ spec:
|
|||
nodeSelector:
|
||||
{{ toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.coder.initContainers }}
|
||||
initContainers:
|
||||
{{ toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: coder
|
||||
image: {{ include "coder.image" . | quote }}
|
||||
|
|
|
@ -22,6 +22,14 @@ coder:
|
|||
pullSecrets: []
|
||||
# - name: "pull-secret"
|
||||
|
||||
# coder.initContainers -- Init containers for the deployment. See:
|
||||
# https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
||||
initContainers:
|
||||
[]
|
||||
# - name: init-container
|
||||
# image: busybox:1.28
|
||||
# command: ['sh', '-c', "sleep 2"]
|
||||
|
||||
# coder.annotations -- The Deployment annotations. See:
|
||||
# https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
||||
annotations: {}
|
||||
|
|
Loading…
Reference in New Issue