diff --git a/charts/temporal/templates/server-deployment.yaml b/charts/temporal/templates/server-deployment.yaml index 2ffbe701..623a5371 100644 --- a/charts/temporal/templates/server-deployment.yaml +++ b/charts/temporal/templates/server-deployment.yaml @@ -123,9 +123,13 @@ spec: protocol: TCP {{- if ne $service "worker" }} livenessProbe: - initialDelaySeconds: 150 - tcpSocket: - port: rpc + {{- if $serviceValues.livenessProbe }} + {{- toYaml $serviceValues.livenessProbe | nindent 12}} + {{- else }} + initialDelaySeconds: 150 + tcpSocket: + port: rpc + {{- end }} {{- end }} volumeMounts: - name: config diff --git a/charts/temporal/values.yaml b/charts/temporal/values.yaml index a0f63b5f..7f6c4258 100644 --- a/charts/temporal/values.yaml +++ b/charts/temporal/values.yaml @@ -236,6 +236,7 @@ server: deploymentAnnotations: {} podAnnotations: {} podLabels: {} + livenessProbe: {} resources: {} nodeSelector: {} tolerations: [] @@ -289,6 +290,7 @@ server: deploymentAnnotations: {} podAnnotations: {} podLabels: {} + livenessProbe: {} resources: {} nodeSelector: {} tolerations: [] @@ -314,6 +316,7 @@ server: deploymentAnnotations: {} podAnnotations: {} podLabels: {} + livenessProbe: {} resources: {} nodeSelector: {} tolerations: []