-
Notifications
You must be signed in to change notification settings - Fork 567
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
[CORE-1011] Change liveness probe to not use URI #8128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I always worry about spaces and weird characters in shell expansions, but I am not sure what features to help us are available in /bin/sh (versus bash). I'd test this with quotes and spaces in the password if you feel like it.
Good point. We can do this for now but once we switch the pg bouncer image, we could just build a pgpassword file at start https://www.postgresql.org/docs/current/libpq-pgpass.html |
Codecov Report
@@ Coverage Diff @@
## master #8128 +/- ##
==========================================
- Coverage 22.74% 2.30% -20.45%
==========================================
Files 420 331 -89
Lines 113061 98517 -14544
==========================================
- Hits 25717 2268 -23449
- Misses 82971 95948 +12977
+ Partials 4373 301 -4072
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
switches the liveness probe to using cli switches instead of URI. URI breaks if the username or password has an
@
in it.