Skip to content

Commit

Permalink
Integrate Patroni v4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
idanovinda committed Nov 15, 2024
1 parent 9edde4d commit 430754a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion postgres-appliance/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ COPY --from=dependencies-builder /builddeps/wal-g /usr/local/bin/
COPY build_scripts/patroni_wale.sh build_scripts/compress_build.sh /builddeps/

# Install patroni and wal-e
ENV PATRONIVERSION=3.3.3
ENV PATRONIVERSION=4.0.3
ENV WALE_VERSION=1.1.1

WORKDIR /
Expand Down
2 changes: 2 additions & 0 deletions postgres-appliance/scripts/configure_spilo.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,8 @@ def get_placeholders(provider):
placeholders.setdefault('CALLBACK_SCRIPT', '')
placeholders.setdefault('DCS_ENABLE_KUBERNETES_API', '')
placeholders.setdefault('KUBERNETES_ROLE_LABEL', 'spilo-role')
placeholders.setdefault('KUBERNETES_LEADER_LABEL_VALUE', 'master')
placeholders.setdefault('KUBERNETES_STANDBY_LEADER_LABEL_VALUE', 'master')
placeholders.setdefault('KUBERNETES_SCOPE_LABEL', 'version')
placeholders.setdefault('KUBERNETES_LABELS', KUBERNETES_DEFAULT_LABELS)
placeholders.setdefault('KUBERNETES_USE_CONFIGMAPS', '')
Expand Down

0 comments on commit 430754a

Please sign in to comment.