commit | b7b7129ed82f18b0d4e41badd47a400ba051beef | [log] [tgz] |
---|---|---|
author | Marwan Sulaiman <marwan.sameer@gmail.com> | Fri Dec 03 23:18:02 2021 -0500 |
committer | Jamal Carvalho <jamal@golang.org> | Mon Jan 31 18:16:18 2022 +0000 |
tree | a21afa681cf7fcfcd0fd483ad902775a6c7deed6 | |
parent | 2f9bfc14a2392e0dca9eff54997817584fa7f92e [diff] |
pkgsite/internal/config: parameterize Postgres sslmode This CL adds a new GO_DISCOVERY_DATABASE_SSL environment variable so that the sslmode in a Postgres database can be configured. It defaults to "disable" to ensure backwards compatibility. Fixes golang/go#49977 Change-Id: I399e32f1a7862c55c7923bc55f465e16b9a5659b Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/369314 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see pkg.go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.