Skip to content
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

feat: add extraArgs to deployment's args field #276

Merged
merged 2 commits into from
Dec 12, 2023
Merged

feat: add extraArgs to deployment's args field #276

merged 2 commits into from
Dec 12, 2023

Conversation

marcm-ml
Copy link
Contributor

@marcm-ml marcm-ml commented Dec 3, 2023

This PR adds the option to add extra arguments to all three deployments. This allows to specify extra arguments that are not possible with the (current) chart.

Our use case is to specify the path to the base job template of a worker. We do not want to specify it via values.yaml (and configmap) as the template has already been added to our custom worker image. We would like to keep this workflow, hence we need an option to specify extra arguments to the worker pod/container.

I've also included some semantic fixes to the values schema of the worker which mentioned "server" instead of "worker" in some cases.

I've tested the charts and it works as expected. I deliberatly did not specify the type of the items in the list, as we cast them to strings anyway in the deployment.yaml

@marcm-ml marcm-ml requested a review from a team as a code owner December 3, 2023 16:39
@jamiezieziula jamiezieziula merged commit 18c238a into PrefectHQ:main Dec 12, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants