Skip to content

Commit

Permalink
feat: LivenessProbe in PreviewApp
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubenglicky committed Nov 22, 2023
1 parent a12724a commit f0b0b55
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions charts/preview-app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ spec:
value: {{ .Values.env.value | quote }}

{{ end }}
{{ if .Values.livenessProbePath }}
livenessProbe:
httpGet:
path: {{ .Values.livenessProbePath }}
port: http
{{ if .Values.host }}
httpHeaders:
- name: Host
value: {{ .Values.host }}
{{ end }}
{{ end }}

{{- range .Values.sideContainers }}
- name: {{ .name }}
Expand Down

0 comments on commit f0b0b55

Please sign in to comment.