diff --git a/deploy/templates/gitserver-deployment.yaml b/deploy/templates/gitserver-deployment.yaml index 2d766cc..33fc368 100644 --- a/deploy/templates/gitserver-deployment.yaml +++ b/deploy/templates/gitserver-deployment.yaml @@ -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