Skip to content

Commit

Permalink
PSMDB-1243 Impossible to set up DB encryption for PSMDB inside docker…
Browse files Browse the repository at this point in the history
… if config is used together with pre-initialization
  • Loading branch information
surbhat1595 committed Jan 7, 2025
1 parent ed083da commit 81b72e1
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 24 deletions.
3 changes: 0 additions & 3 deletions percona-server-mongodb-5.0/ps-entry-dockerhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ if [ "$originalArgOne" = 'mongod' ]; then

if [ -n "$shouldPerformInitdb" ]; then
mongodHackedArgs=( "$@" )
if _parse_config "$@"; then
_mongod_hack_ensure_arg_val --config "$tempConfigFile" "${mongodHackedArgs[@]}"
fi
_mongod_hack_ensure_arg_val --bind_ip 127.0.0.1 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_arg_val --port 27017 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_no_arg --bind_ip_all "${mongodHackedArgs[@]}"
Expand Down
3 changes: 0 additions & 3 deletions percona-server-mongodb-5.0/ps-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ if [ "$originalArgOne" = 'mongod' ]; then

if [ -n "$shouldPerformInitdb" ]; then
mongodHackedArgs=( "$@" )
if _parse_config "$@"; then
_mongod_hack_ensure_arg_val --config "$tempConfigFile" "${mongodHackedArgs[@]}"
fi
_mongod_hack_ensure_arg_val --bind_ip 127.0.0.1 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_arg_val --port 27017 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_no_arg --bind_ip_all "${mongodHackedArgs[@]}"
Expand Down
3 changes: 0 additions & 3 deletions percona-server-mongodb-6.0/ps-entry-dockerhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ if [ "$originalArgOne" = 'mongod' ]; then

if [ -n "$shouldPerformInitdb" ]; then
mongodHackedArgs=( "$@" )
if _parse_config "$@"; then
_mongod_hack_ensure_arg_val --config "$tempConfigFile" "${mongodHackedArgs[@]}"
fi
_mongod_hack_ensure_arg_val --bind_ip 127.0.0.1 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_arg_val --port 27017 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_no_arg --bind_ip_all "${mongodHackedArgs[@]}"
Expand Down
3 changes: 0 additions & 3 deletions percona-server-mongodb-6.0/ps-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ if [ "$originalArgOne" = 'mongod' ]; then

if [ -n "$shouldPerformInitdb" ]; then
mongodHackedArgs=( "$@" )
if _parse_config "$@"; then
_mongod_hack_ensure_arg_val --config "$tempConfigFile" "${mongodHackedArgs[@]}"
fi
_mongod_hack_ensure_arg_val --bind_ip 127.0.0.1 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_arg_val --port 27017 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_no_arg --bind_ip_all "${mongodHackedArgs[@]}"
Expand Down
3 changes: 0 additions & 3 deletions percona-server-mongodb-7.0/ps-entry-dockerhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ if [ "$originalArgOne" = 'mongod' ]; then

if [ -n "$shouldPerformInitdb" ]; then
mongodHackedArgs=( "$@" )
if _parse_config "$@"; then
_mongod_hack_ensure_arg_val --config "$tempConfigFile" "${mongodHackedArgs[@]}"
fi
_mongod_hack_ensure_arg_val --bind_ip 127.0.0.1 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_arg_val --port 27017 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_no_arg --bind_ip_all "${mongodHackedArgs[@]}"
Expand Down
3 changes: 0 additions & 3 deletions percona-server-mongodb-7.0/ps-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ if [ "$originalArgOne" = 'mongod' ]; then

if [ -n "$shouldPerformInitdb" ]; then
mongodHackedArgs=( "$@" )
if _parse_config "$@"; then
_mongod_hack_ensure_arg_val --config "$tempConfigFile" "${mongodHackedArgs[@]}"
fi
_mongod_hack_ensure_arg_val --bind_ip 127.0.0.1 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_arg_val --port 27017 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_no_arg --bind_ip_all "${mongodHackedArgs[@]}"
Expand Down
3 changes: 0 additions & 3 deletions percona-server-mongodb-8.0/ps-entry-dockerhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ if [ "$originalArgOne" = 'mongod' ]; then

if [ -n "$shouldPerformInitdb" ]; then
mongodHackedArgs=( "$@" )
if _parse_config "$@"; then
_mongod_hack_ensure_arg_val --config "$tempConfigFile" "${mongodHackedArgs[@]}"
fi
_mongod_hack_ensure_arg_val --bind_ip 127.0.0.1 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_arg_val --port 27017 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_no_arg --bind_ip_all "${mongodHackedArgs[@]}"
Expand Down
3 changes: 0 additions & 3 deletions percona-server-mongodb-8.0/ps-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,6 @@ if [ "$originalArgOne" = 'mongod' ]; then

if [ -n "$shouldPerformInitdb" ]; then
mongodHackedArgs=( "$@" )
if _parse_config "$@"; then
_mongod_hack_ensure_arg_val --config "$tempConfigFile" "${mongodHackedArgs[@]}"
fi
_mongod_hack_ensure_arg_val --bind_ip 127.0.0.1 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_arg_val --port 27017 "${mongodHackedArgs[@]}"
_mongod_hack_ensure_no_arg --bind_ip_all "${mongodHackedArgs[@]}"
Expand Down

0 comments on commit 81b72e1

Please sign in to comment.