File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 55
55
imagePullPolicy : {{ .Values.coder.image.pullPolicy }}
56
56
resources :
57
57
{{- toYaml .Values.coder.resources | nindent 12 }}
58
+ lifecycle :
59
+ {{- toYaml .Values.coder.lifecycle | nindent 12 }}
58
60
env :
59
61
- name : CODER_HTTP_ADDRESS
60
62
value : " 0.0.0.0:8080"
Original file line number Diff line number Diff line change @@ -120,6 +120,18 @@ coder:
120
120
# "CODER_TLS_*" environment variables will be set for you.
121
121
secretNames : []
122
122
123
+ # coder.lifecycle -- container lifecycle handlers for the Coder container, allowing
124
+ # for lifecycle events such as postStart and preStop events
125
+ # See: https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/
126
+ lifecycle :
127
+ {}
128
+ # postStart:
129
+ # exec:
130
+ # command: ["/bin/sh", "-c", "echo postStart"]
131
+ # preStop:
132
+ # exec:
133
+ # command: ["/bin/sh","-c","echo preStart"]
134
+
123
135
# coder.resources -- The resources to request for Coder. These are optional
124
136
# and are not set by default.
125
137
resources :
You can’t perform that action at this time.
0 commit comments