This commit is contained in:
Kjeld Schouten
2024-04-20 11:02:53 +02:00
committed by GitHub
parent 44ac962db3
commit 032ccb6380

View File

@@ -85,11 +85,6 @@ objectData: The object data to be used to render the container.
{{- end -}}
{{- end -}}
{{- if mustHas $probeName (list "liveness" "startup") -}}
{{- if ne (int $timeouts.successThreshold) 1 -}}
{{- fail (printf "Container - Expected [probes] [successThreshold] to be 1 on [%s] probe" $probeName) -}}
{{- end -}}
{{- end }}
initialDelaySeconds: {{ $timeouts.initialDelaySeconds }}
failureThreshold: {{ $timeouts.failureThreshold }}
successThreshold: {{ $timeouts.successThreshold }}