8000 chore: update pgsodium root key path to be managed · rickengineering/postgres@86c5167 · GitHub
[go: up one dir, main page]

Skip to content

Commit 86c5167

Browse files
committed
chore: update pgsodium root key path to be managed
1 parent 64e3b02 commit 86c5167

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

ansible/files/pgsodium_getkey_readonly.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euo pipefail
44

5-
KEY_FILE=/var/lib/postgresql/pgsodium_root.key
5+
KEY_FILE=/etc/postgresql-custom/pgsodium_root.key
66

77
# On the hosted platform, the root key is generated and managed for each project
88
# If for some reason the key is missing, we want to fail loudly,

ansible/files/pgsodium_getkey_urandom.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -euo pipefail
44

5-
KEY_FILE=/var/lib/postgresql/pgsodium_root.key
5+
KEY_FILE=/etc/postgresql-custom/pgsodium_root.key
66

77
if [[ ! -f "${KEY_FILE}" ]]; then
88
head -c 32 /dev/urandom | od -A n -t x1 | tr -d ' \n' > "${KEY_FILE}"

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ node_exporter_release_checksum:
4545
arm64: sha256:eb5e7d16f18bb3272d0d832986fc8ac6cb0b6c42d487c94e15dabb10feae8e04
4646
amd64: sha256:8c1f6a317457a658e0ae68ad710f6b4098db2cad10204649b51e3c043aa3e70d
4747

48-
adminapi_release: 0.26.0
48+
adminapi_release: 0.26.2
4949
adminapi_release_checksum:
50-
arm64: sha256:53e35faad18ace83d88cb298db4eef213e41010c0165902501284a1e1ed846d4
51-
amd64: sha256:15d0ba8a878bd9f9881c088f90092167252d164a5ef8facf2a8072671433c20e
50+
arm64: sha256:940ee8268782ad23763cd0e8f3d36b56140c6924d663f1207b63df1fe821dfec
51+
amd64: sha256:e11db37651b8c7b34b94665931f94d5eec3b32996134e9a60ac48bf9499ec68f
5252

5353
# Postgres Extensions
5454
postgis_release: "3.1.4"

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "14.1.0.55"
1+
postgres-version = "14.1.0.56"

0 commit comments

Comments
 (0)
0