Update to patroni 3.3.0
This commit is contained in:
parent
05642ab6fd
commit
4faf1cbf25
|
@ -12,7 +12,7 @@ RUN set -eux &&\
|
|||
chown root:root ldap2pg &&\
|
||||
chmod 755 ldap2pg
|
||||
|
||||
FROM danielberteaud/alpine:24.3-1
|
||||
FROM danielberteaud/alpine:24.4-1
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ENV PGHOST=localhost \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM danielberteaud/postgres:15.24.3-2
|
||||
FROM danielberteaud/postgres:15.24.4-1
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ARG PATRONI_VERSION=3.2.2
|
||||
ARG PATRONI_VERSION=3.3.0
|
||||
|
||||
ENV EDITOR=nano
|
||||
|
||||
|
@ -10,6 +10,7 @@ RUN set -eux &&\
|
|||
dnf -y update &&\
|
||||
dnf -y install jq python3 python3-psycopg2 python3-pip nano zstd &&\
|
||||
pip --no-cache-dir install patroni["consul"]==${PATRONI_VERSION} &&\
|
||||
pip --no-cache-dir install python-json-logger>=2.0.2 &&\
|
||||
dnf -y clean all &&\
|
||||
rm -rf /var/cache/yum/* /var/log/yum/* /tmp/pre.txt /tmp/post.txt /var/lib/dnf/history* &&\
|
||||
# Remove pg-init and pg-conf from base image as patroni handle this \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM danielberteaud/alpine:24.3-1
|
||||
FROM danielberteaud/alpine:24.4-1
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ARG PG_FROM= \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM danielberteaud/alpine:24.3-1 AS builder
|
||||
FROM danielberteaud/alpine:24.4-1 AS builder
|
||||
|
||||
ARG EXPORTER_VERSION=0.15.0
|
||||
|
||||
|
@ -14,7 +14,7 @@ RUN set -euxo pipefail &&\
|
|||
chown root:root /usr/local/bin/postgres_exporter &&\
|
||||
chmod 755 /usr/local/bin/postgres_exporter
|
||||
|
||||
FROM danielberteaud/alpine:24.3-1
|
||||
FROM danielberteaud/alpine:24.4-1
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
COPY --from=builder /usr/local/bin/postgres_exporter /usr/local/bin/postgres_exporter
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM danielberteaud/alma:9.24.3-1
|
||||
FROM danielberteaud/alma:9.24.4-1
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
ENV PG_BASE_DATA=/data/db/
|
||||
|
|
|
@ -35,7 +35,7 @@ vault write pki/postgres/config/urls \
|
|||
ocsp_servers="${VAULT_ADDR}/v1/pki/postgres/ocsp"
|
||||
|
||||
vault write pki/postgres/config/cluster \
|
||||
path="${VAULT_ADDR}/v1pki/postgres"
|
||||
path="${VAULT_ADDR}/v1/pki/postgres"
|
||||
|
||||
vault write pki/postgres/config/crl \
|
||||
auto_rebuild=true \
|
||||
|
|
|
@ -65,7 +65,7 @@ job "postgres-manage" {
|
|||
user = 1053
|
||||
|
||||
config {
|
||||
image = "danielberteaud/wait-for:24.3-1"
|
||||
image = "danielberteaud/wait-for:24.4-1"
|
||||
readonly_rootfs = true
|
||||
pids_limit = 20
|
||||
}
|
||||
|
|
|
@ -142,7 +142,7 @@ job "postgres" {
|
|||
kill_timeout = "10m"
|
||||
|
||||
config {
|
||||
image = "danielberteaud/patroni:15.24.3-2"
|
||||
image = "danielberteaud/patroni:15.24.4-1"
|
||||
# Set shm_size to half of the total size
|
||||
shm_size = 536870912
|
||||
volumes = ["local/mkdir-socket.sh:/entrypoint.d/70-mkdir-socket.sh"]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
FROM [[ .docker.repo ]][[ .docker.base_images.postgres15.image ]]
|
||||
MAINTAINER [[ .docker.maintainer ]]
|
||||
|
||||
ARG PATRONI_VERSION=3.2.2
|
||||
ARG PATRONI_VERSION=3.3.0
|
||||
|
||||
ENV EDITOR=nano
|
||||
|
||||
|
@ -10,6 +10,7 @@ RUN set -eux &&\
|
|||
dnf -y update &&\
|
||||
dnf -y install jq python3 python3-psycopg2 python3-pip nano zstd &&\
|
||||
pip --no-cache-dir install patroni["consul"]==${PATRONI_VERSION} &&\
|
||||
pip --no-cache-dir install python-json-logger>=2.0.2 &&\
|
||||
dnf -y clean all &&\
|
||||
rm -rf /var/cache/yum/* /var/log/yum/* /tmp/pre.txt /tmp/post.txt /var/lib/dnf/history* &&\
|
||||
# Remove pg-init and pg-conf from base image as patroni handle this \
|
||||
|
|
|
@ -31,7 +31,7 @@ pg:
|
|||
# Postgres server settings
|
||||
server:
|
||||
# The image to use
|
||||
image: '[[ .docker.repo ]]patroni:15.24.3-2'
|
||||
image: '[[ .docker.repo ]]patroni:15.24.4-1'
|
||||
|
||||
# Number of postgres instance. Patroni will handle leader election and replication
|
||||
count: 1
|
||||
|
|
Loading…
Reference in New Issue