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 }}
|
timeoutSeconds: {{ $svc.readinessProbe.timeoutSeconds }}
|
||||||
failureThreshold: {{ $svc.readinessProbe.failureThreshold }}
|
failureThreshold: {{ $svc.readinessProbe.failureThreshold }}
|
||||||
{{- end }}
|
{{- 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:
|
volumeMounts:
|
||||||
{{- if and $svc.persistence.enabled $.Values.storage.enabled }}
|
{{- if and $svc.persistence.enabled $.Values.storage.enabled }}
|
||||||
- name: shared-data
|
- name: shared-data
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user