Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle the process kill to not fail the pod and instead exit clean #527

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

cpanato
Copy link
Member

@cpanato cpanato commented Jan 18, 2023

Summary

  • fix: handle the process kill to not fail the pod and instead exit clean

when using the shell exec commands in go it will send a process kill to the running process and that will exit with a exit code 2 which is an error and then the pod will fail.
we need to handle the signal: killed and just exit clean

will need a new release

cmd/cloudsqlproxy/main.go Outdated Show resolved Hide resolved
@cpanato cpanato merged commit 399861b into sigstore:main Jan 18, 2023
@cpanato cpanato deleted the fix-sqlproxy branch January 18, 2023 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants