Skip to content

Commit

Permalink
fix: Added support for initContainers (#21)
Browse files Browse the repository at this point in the history
Co-authored-by: Tin Plavec <[email protected]>
  • Loading branch information
plavy and Tin Plavec authored Aug 25, 2021
1 parent fc5b6cd commit 774ee2b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/unleash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ sources:
- https://github.com/Unleash/unleash-docker
- https://github.com/Unleash/helm-charts
type: application
version: 2.1.2
version: 2.1.3
4 changes: 4 additions & 0 deletions charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- with .Values.initContainers }}
initContainers:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.configMaps }}
volumes:
- name: config-dir
Expand Down
2 changes: 2 additions & 0 deletions charts/unleash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ ingress:
# hosts:
# - chart-example.local

initContainers: []

livenessProbe:
enabled: true
path: /health
Expand Down

0 comments on commit 774ee2b

Please sign in to comment.