Skip to content

Commit

Permalink
Merge pull request #4 from rqlite/topic/fix-static-bootstrap
Browse files Browse the repository at this point in the history
Fix cluster bootstrap with static peers enabled
  • Loading branch information
jtackaberry authored Jan 4, 2024
2 parents dfc7f6d + 3fb505a commit 12d6d64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charts/rqlite/templates/_statefulset.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ spec:
if [ "$RQLITE_USE_STATIC_PEERS" = "true" ]; then
echo "WARNING: Using generated static peers. This is a recovery procedure and must be reverted after service is restored."
cat /config/peers/peers.json
mkdir -p /rqlite/raft
cp /config/peers/peers.json /rqlite/raft
fi
# Exec original entrypoint and pass all arguments through, including $0
Expand Down

0 comments on commit 12d6d64

Please sign in to comment.