Skip to content

Commit

Permalink
startupProbeCustomizations
Browse files Browse the repository at this point in the history
  • Loading branch information
mbirchdk committed Aug 29, 2024
1 parent 27db583 commit f25c684
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions helm/kitcaddy/templates/kitcaddy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ spec:
- /config/config.json
env: []
startupProbe:
failureThreshold: 3
failureThreshold: {{ if and .Values.kitcaddy .Values.kitcaddy.startupProbe }}{{ .Values.kitcaddy.startupProbe.failureThreshold | default 5 }}{{ else }}5{{ end }}
httpGet:
path: {{ if and .Values.kitcaddy .Values.kitcaddy.startupProbe }}{{ .Values.kitcaddy.startupProbe.path | default "/metrics" }}{{ else }}/metrics{{ end }}
port: {{ if and .Values.kitcaddy .Values.kitcaddy.startupProbe }}{{ .Values.kitcaddy.startupProbe.port | default 80 }}{{ else }}80{{ end }}
scheme: HTTP
initialDelaySeconds: 50
periodSeconds: 5
initialDelaySeconds: {{ if and .Values.kitcaddy .Values.kitcaddy.startupProbe }}{{ .Values.kitcaddy.startupProbe.initialDelaySeconds | default 50 }}{{ else }}50{{ end }}
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
timeoutSeconds: 5
readinessProbe:
failureThreshold: 3
httpGet:
Expand Down Expand Up @@ -327,4 +327,4 @@ spec:
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

0 comments on commit f25c684

Please sign in to comment.