https://dagster.io/ logo
#ask-community
Title
# ask-community
j

jonvet

04/25/2022, 4:05 PM
When using the dagster helm chart, how do I have to modify the
dagster-user-deployments
section if I want to use a
workspace.yaml
instead of a
repo.py
? I used to have this
Copy code
dagsterApiGrpcArgs:
        - "--python-file"
        - "/repo.py"
but I no longer want to provide a
repo.py
. Instead, now I have a
workspace.yaml
that specifies the python package to load. What do I have to write under
dagsterApiGrpcArgs
now? Simply leaving the section out throws an error
I tried
Copy code
dagsterApiGrpcArgs:
        - "--working-directory"
        - "/"
(assume that
workspace.yaml
lives under
/
) but that throws an error too
d

daniel

04/25/2022, 4:30 PM
Hi @jonvet - by default the dagster helm chart actually creates a workspace.yaml for you under the hood. In this case you might want to use the --package-name argument instead of the --python-file arg if you want it to load your code using a package instead of a file?
2 Views