Releases: ricardoarchive/cloudsql-proxy-inject
Releases · ricardoarchive/cloudsql-proxy-inject
Wait for app to exit before letting the cloud proxy terminate (#6)
By this change, we add a preStop
command that prevents the cloud_sql_proxy
from terminating until the application is running.
This addresses the issue where when a pod stop is requested, the cloud proxy sidecar terminates immediately while the application implementing graceful shutdown takes longer and potentially still accepts requests that then fail because the proxy is down.
v0.0.5
Adding term-timeout flag to be able to use cloud_sql_proxy option term_timeout in order to delay proxy termination.