From 23bfcd19bcf3ba596ddd9f7b16282a56d6260864 Mon Sep 17 00:00:00 2001 From: Rob Prentiss Date: Sun, 29 Jan 2023 21:49:43 -0800 Subject: [PATCH] Update lib/pq to fix cert permissions issues (#1804) When attempting to connect to a PostgreSQL database using certificate credentials, authentication may fail due to permissions issues on the certificate files. When using Athens in Kubernetes, this issue may be unavoidable when using secrets. The github.com/lib/pq library has resolved this issue as of v1.10.6, so this commit updates that library to the latest release version (v1.10.7) to resolve the issue in Athens. Co-authored-by: Ashish Ranjan --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index ccb528312..6fb632e46 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( github.com/hashicorp/go-multierror v1.0.0 github.com/hashicorp/hcl2 v0.0.0-20190503213020-640445e16309 github.com/kelseyhightower/envconfig v1.3.0 - github.com/lib/pq v1.7.0 + github.com/lib/pq v1.10.7 github.com/minio/minio-go/v6 v6.0.57 github.com/mitchellh/go-homedir v1.1.0 github.com/sirupsen/logrus v1.6.0 diff --git a/go.sum b/go.sum index 62a50095d..9304cee09 100644 --- a/go.sum +++ b/go.sum @@ -370,8 +370,8 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/lib/pq v1.7.0 h1:h93mCPfUSkaul3Ka/VG8uZdmW1uMHDGxzu0NWHuJmHY= -github.com/lib/pq v1.7.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw= +github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/markbates/hmax v1.0.0 h1:yo2N0gBoCnUMKhV/VRLHomT6Y9wUm+oQQENuWJqCdlM= github.com/markbates/hmax v1.0.0/go.mod h1:cOkR9dktiESxIMu+65oc/r/bdY4bE8zZw3OLhLx0X2c= github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE=