Skip to content

Commit

Permalink
feat(sidecar): allow more than one container per pod
Browse files Browse the repository at this point in the history
  • Loading branch information
mipieta committed Jul 12, 2024
1 parent 5007382 commit 2562f1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libchart/templates/_container.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
timeoutSeconds: {{ .liveness.timeout | default 15 }}
periodSeconds: {{ .liveness.periodSeconds | default 15 }}
{{- end }}
{{- if and (.readiness) (.readiness.enabled) }}
{{- $readiness := default dict .readiness }}
{{- $readinessEnabled := default false $readiness.enabled }}
{{- if and $readiness $readinessEnabled }}
readinessProbe:
httpGet:
path: {{ .readiness.path | default "/" }}
Expand Down

0 comments on commit 2562f1c

Please sign in to comment.