-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Enable overwrites of default environment variables #874
Enable overwrites of default environment variables #874
Conversation
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.
This is great many thanks! Would you mind adding a small test to verify this behaviour?
Was sure you'd ask that 😄 I'm a bit unsure about that though. Changing the Scheduler address from the default address will likely lead to that Cluster being broken in the CI test? |
Yep that sounds like a great way to test it. |
@jacobtomlinson sorry for the delay, was busy with other things. PR should now be ready; I included some tests that will use the apparently previously unused "simpleworkergroup.yaml" for deploying an additional worker group that overrides the envvar "DASK_WORKER_NAME". |
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.
This looks great thanks!
@jonded94 @jacobtomlinson - Does build_job_pod_spec also need to be updated to allow overwriting the default environment variables? |
Ah, sure, sorry, will do that too tomorrow. This one doesn't need a test though (overriding the scheduler address is anyways a bit weird to test). |
Should solve #873