Skip to content

Commit 2562f1c

Browse files
committed
feat(sidecar): allow more than one container per pod
1 parent 5007382 commit 2562f1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libchart/templates/_container.tpl

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
timeoutSeconds: {{ .liveness.timeout | default 15 }}
4141
periodSeconds: {{ .liveness.periodSeconds | default 15 }}
4242
{{- end }}
43-
{{- if and (.readiness) (.readiness.enabled) }}
43+
{{- $readiness := default dict .readiness }}
44+
{{- $readinessEnabled := default false $readiness.enabled }}
45+
{{- if and $readiness $readinessEnabled }}
4446
readinessProbe:
4547
httpGet:
4648
path: {{ .readiness.path | default "/" }}

0 commit comments

Comments
 (0)