diff --git a/anycable-go/templates/deployment.yaml b/anycable-go/templates/deployment.yaml index 45da1fd..96bd5f3 100644 --- a/anycable-go/templates/deployment.yaml +++ b/anycable-go/templates/deployment.yaml @@ -156,7 +156,7 @@ spec: {{- end }} dnsPolicy: ClusterFirst restartPolicy: Always - terminationGracePeriodSeconds: 30 + terminationGracePeriodSeconds: {{ add (int .env.anycableShutdownTimeout) 5 }} {{- with .tls }} volumes: - name: ssl