Skip to content

Commit 7bb3ce5

Browse files
committed
fix: ensure we chown the ETCD_VOLUME_DIR to the ETCD_DAEMON_USER user
1 parent 80917f0 commit 7bb3ce5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-entrypoint.sh

+4
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,9 @@ fi
1616

1717
export ETCD_ADVERTISE_CLIENT_URLS="http://${AKASH_INGRESS_HOST}:${AKASH_EXTERNAL_PORT_2379}"
1818

19+
source /opt/bitnami/scripts/etcd-env.sh
20+
21+
chown -R $ETCD_DAEMON_USER $ETCD_VOLUME_DIR
22+
1923
# Call the original entrypoint with all arguments
2024
exec /opt/bitnami/scripts/etcd/entrypoint.sh "$@"

0 commit comments

Comments
 (0)