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(universal): don't set sslsni option if not disabled #5419

Merged

Conversation

michaelbeaumont
Copy link
Contributor

@michaelbeaumont michaelbeaumont commented Dec 5, 2022

This option is apparently relatively new, postgres 14, so we should skip including it unless it's explicitly disabled and let libpg handle the default.

Checklist prior to review

  • Link to docs PR or issue --
  • Link to UI issue or PR --
  • Is the issue worked on linked? --
  • The PR does not hardcode values that might break projects that depend on kuma (e.g. "kumahq" as a image registry) --
  • The PR will work for both Linux and Windows, system specific functions like syscall.Mkfifo have equivalent implementation on the other OS --
  • Unit Tests --
  • E2E Tests --
  • Manual Universal Tests -- none
  • Manual Kubernetes Tests -- none
  • Do you need to update UPGRADE.md? --
  • Does it need to be backported according to the backporting policy? --
  • Do you need to explicitly set a > Changelog: entry here or add a ci/ label to run fewer/more tests?

Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
@michaelbeaumont michaelbeaumont requested a review from a team as a code owner December 5, 2022 08:22
@michaelbeaumont michaelbeaumont enabled auto-merge (squash) December 5, 2022 08:24
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
@michaelbeaumont michaelbeaumont enabled auto-merge (squash) December 5, 2022 09:02
@michaelbeaumont michaelbeaumont merged commit 2791963 into kumahq:release-2.0 Dec 5, 2022
@michaelbeaumont michaelbeaumont deleted the fix/postgres_skip_string branch December 5, 2022 09:35
@michaelbeaumont
Copy link
Contributor Author

@Mergifyio backport master

mergify bot pushed a commit that referenced this pull request Dec 5, 2022
* fix(universal): don't set sslsni option if not disabled
* refactor: more robust connection string creation

Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
(cherry picked from commit 2791963)
@mergify
Copy link
Contributor

mergify bot commented Dec 5, 2022

backport master

✅ Backports have been created

michaelbeaumont added a commit that referenced this pull request Dec 5, 2022
…) (#5439)

fix(universal): don't set `sslsni` option if not disabled (#5419)

* fix(universal): don't set sslsni option if not disabled
* refactor: more robust connection string creation

Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
(cherry picked from commit 2791963)

Co-authored-by: Mike Beaumont <mjboamail@gmail.com>
@lahabana lahabana mentioned this pull request Dec 13, 2022
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