Skip to content

Commit

Permalink
Merge pull request #993 from luluz66/fix-zookeeper-operator
Browse files Browse the repository at this point in the history
Fix zookeeper advanced setup with empty dir
  • Loading branch information
Slach authored Aug 21, 2022
2 parents 3a00cb5 + 0609cbc commit ec104f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ spec:
echo "Failed to parse name and ordinal of Pod"
exit 1
fi &&
mkdir -p ${ZOO_DATA_DIR} &&
mkdir -p ${ZOO_DATA_LOG_DIR} &&
export MY_ID=$((ORD+1)) &&
echo $MY_ID > $ZOO_DATA_DIR/myid &&
if [[ $SERVERS -gt 1 ]]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ YAML_FILES_LIST="\
01-service-client-access.yaml \
02-headless-service.yaml \
03-pod-disruption-budget.yaml \
04-storageclass-zookeeper.yaml \
05-stateful-set-volume-emptyDir.yaml\
"

Expand Down

0 comments on commit ec104f6

Please sign in to comment.