https://dagster.io/ logo
Title
s

Sebastian Delgado von Euw

11/29/2022, 10:30 AM
Hey all! First time deploying to dagster-cloud and I’m running into an issue. We usually use a
keys.json
file for credentials in our Kubernetes cluster by using a volume mount. Is there something similar I can use in dagster cloud? Or what would you recommend as an alternative?
g

geoHeil

11/29/2022, 12:37 PM
you can mount volumes as well but cloud offers native secrets handling https://dagster.io/blog/dagster-managing-secrets
based around ENV vars
s

Sebastian Delgado von Euw

11/29/2022, 12:39 PM
yeah, I was just trying to avoid using a bunch of env vars for dbt: https://docs.getdbt.com/reference/warehouse-setups/bigquery-setup#service-account-json
wanted ideally to just use 1
s

Sean Lopp

11/29/2022, 2:45 PM
https://docs.dagster.io/dagster-cloud/deployment/agents/kubernetes/configuration-reference that includes info on a few different ways to add volume mounts
The option to pick depends on the scope. If you want this key file set for everything you can add it as a value for the agent helm chart, workspaces.volumeMounts Otherwise there are options for per-code-location mounts too
s

Sebastian Delgado von Euw

11/29/2022, 2:47 PM
awesome thank you!