@@ -169,6 +169,24 @@ spec:
169
169
mountPath: { { .mountPath } }
170
170
{ {- end } }
171
171
{ {- end } }
172
+ { {- if $s .startupProbe } }
173
+ startupProbe:
174
+ { {- if $s .startupProbe.cmd } }
175
+ exec:
176
+ command:
177
+ { {- range $s .startupProbe.cmd } }
178
+ - { { . | quote } }
179
+ { {- end } }
180
+ { { else } }
181
+ httpGet:
182
+ path: { { $s .startupProbe.path } }
183
+ port: { { $s .startupProbe.port } }
184
+ { {- end } }
185
+ initialDelaySeconds: { { $.Values.startupProbe.initialDelaySeconds } }
186
+ periodSeconds: { { $.Values.startupProbe.periodSeconds } }
187
+ failureThreshold: { { $.Values.startupProbe.failureThreshold } }
188
+ timeoutSeconds: { { $.Values.startupProbe.timeoutSeconds } }
189
+ { {- end } }
172
190
{ {- if $s .livenessProbe } }
173
191
livenessProbe:
174
192
{ {- if $s .livenessProbe.cmd } }
@@ -273,6 +291,24 @@ spec:
273
291
containerPort: { { $ap .containerPort } }
274
292
protocol: { { $ap .protocol } }
275
293
{ {- end } }
294
+ { {- if .Values.startupProbe.enabled } }
295
+ startupProbe:
296
+ { {- if .Values.startupProbe.cmd } }
297
+ exec:
298
+ command:
299
+ { {- range .Values.startupProbe.cmd } }
300
+ - { { . | quote } }
301
+ { {- end } }
302
+ { { else } }
303
+ httpGet:
304
+ path: { { .Values.startupProbe.path } }
305
+ port: { { .Values.container.port } }
306
+ { {- end } }
307
+ initialDelaySeconds: { { .Values.startupProbe.initialDelaySeconds } }
308
+ periodSeconds: { { .Values.startupProbe.periodSeconds } }
309
+ failureThreshold: { { .Values.startupProbe.failureThreshold } }
310
+ timeoutSeconds: { { .Values.startupProbe.timeoutSeconds } }
311
+ { {- end } }
276
312
{ {- if .Values.livenessProbe.enabled } }
277
313
livenessProbe:
278
314
{ {- if .Values.livenessProbe.cmd } }
0 commit comments