Skip to content

Commit c0efe13

Browse files
committed
Add support for lifecycle hooks to dind daemonset
1 parent c2c21d7 commit c0efe13

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

helm-chart/binderhub/templates/dind/daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ spec:
5555
{{- . | toYaml | nindent 8 }}
5656
{{- end }}
5757
{{- with .Values.dind.daemonset.lifecycle }}
58+
lifecycle:
59+
{{- . | toYaml | nindent 10 }}
60+
{{- end }}
5861
terminationGracePeriodSeconds: 30
5962
volumes:
6063
- name: dockerlib-dind

helm-chart/binderhub/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ dind:
166166
tag: 19.03.5-dind
167167
# Additional command line arguments to pass to dockerd
168168
extraArgs: []
169+
lifecycle: {}
169170
extraVolumes: []
170171
extraVolumeMounts: []
171172
storageDriver: overlay2

0 commit comments

Comments
 (0)