Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pass entrypoint arguments to run.sh #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nmarcopo
Copy link

A recent change to forward sockets introduced a new run.sh script to start headless-shell.

Previously, you could add arguments to the entrypoint when configuring the container in a Kubernetes manifest using the args field (kube docs). With the new run.sh script, those arguments are not passed to the /headless-shell/headless-shell command like they were before.

This change simply adds a new opt to the end of the run.sh script to pass any additional arguments on run.sh to the /headless-shell/headless-shell command to allow the old behavior (passing arguments to the container's entrypoint) to continue working.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant