fix(k8s): add startupProbe to gitserver deployment template
This commit is contained in:
parent
451e55596a
commit
dd4bbf3bb5
@ -72,6 +72,14 @@ spec:
|
||||
timeoutSeconds: {{ $svc.readinessProbe.timeoutSeconds }}
|
||||
failureThreshold: {{ $svc.readinessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if $svc.startupProbe }}
|
||||
startupProbe:
|
||||
tcpSocket:
|
||||
port: {{ $svc.startupProbe.tcpSocket.port }}
|
||||
initialDelaySeconds: {{ $svc.startupProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ $svc.startupProbe.periodSeconds }}
|
||||
failureThreshold: {{ $svc.startupProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
{{- if and $svc.persistence.enabled $.Values.storage.enabled }}
|
||||
- name: shared-data
|
||||
|
||||
Loading…
Reference in New Issue
Block a user