-
Notifications
You must be signed in to change notification settings - Fork 903
feat(helm): add commandArgs for custom entrypoint #8567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I would prefer we just provided a e.g.: coder:
command: /bin/sh
commandArgs:
- '-c'
- 'echo "hello world" && coder server' Default to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented above
thanks @deansheather - how should we specify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a test in the tests dir, you can add a test by adding it to the list in the _test.go
file and adding a corresponding values file with the same name in the testdata dir. Then run make --always-make update-golden-files
to save the generated chart for your test. Double check the outputted file before committing to make sure it looks as you would expect
this PR adds the
commandArgs
value to support passing custom arguments into the Coder container.one of our large customers needs this feature to pass in a custom PostgreSQL connection URL environment variable. they are looking to reference the database password from a volume mounted on the container. the below example meets this requirement: