Skip to content

Commit

Permalink
added liveness and readiness probes to debug container partials templ…
Browse files Browse the repository at this point in the history
…ate (#11308)

Signed-off-by: Alen Haric <[email protected]>
  • Loading branch information
deusxanima authored Nov 3, 2023
1 parent cef1b58 commit 33dffe6
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
9 changes: 9 additions & 0 deletions charts/partials/templates/_debug.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,13 @@ image: {{.Values.debugContainer.image.name}}:{{.Values.debugContainer.image.vers
imagePullPolicy: {{.Values.debugContainer.image.pullPolicy | default .Values.imagePullPolicy}}
name: linkerd-debug
terminationMessagePolicy: FallbackToLogsOnError
# some environments require probes, so we provide some infallible ones
livenessProbe:
exec:
command:
- "true"
readinessProbe:
exec:
command:
- "true"
{{- end -}}
8 changes: 8 additions & 0 deletions cli/cmd/testdata/inject_emojivoto_deployment_debug.golden.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions cli/cmd/testdata/inject_tap_deployment_debug.golden.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion controller/proxy-injector/fake/data/pod-with-debug.patch.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 33dffe6

Please sign in to comment.