Skip to content

Commit

Permalink
pass -- for /usr/bin/bash
Browse files Browse the repository at this point in the history
Signed-off-by: Caleb Lloyd <caleb@synadia.com>
  • Loading branch information
Caleb Lloyd committed Apr 1, 2024
1 parent aa170b6 commit 81b2523
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion helm/charts/nats/files/nats-box/deployment/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ command:
fi
{{- end }}
cd "$work_dir"
exec /entrypoint.sh "$0" "$@"
exec /entrypoint.sh "$@"
- --
args:
- sh
- -ec
Expand Down
3 changes: 2 additions & 1 deletion helm/charts/nats/test/defaults_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,9 @@ if ! [ -f context.txt ]; then
echo -n "default" > context.txt
fi
cd "$work_dir"
exec /entrypoint.sh "$0" "$@"
exec /entrypoint.sh "$@"
`,
"--",
},
Image: dd.NatsBoxImage,
Name: "nats-box",
Expand Down

0 comments on commit 81b2523

Please sign in to comment.