Hi team, does anyone have any experience pointing ...
# deployment-kubernetes
k
Hi team, does anyone have any experience pointing dagster and dagit to docker secrets (ie swarm style with a directory mounted like /var/run/secrets/name, with different files named for each secret - or a kubernetes secret using a mountPath)? The code looks like it was only designed to read that config from os.getenv. I noticed in some of the newer Dagster builds there is an EnvVar type - is there also a Secret type that can be used? We are trying to stop the Postgres username, password, connection string, etc from being listed when someone prints out the environment variables with code or inside a container or pod.
j
hey keith you should be able to configure k8s secrets using
volumeMounts
configured on your run's containers https://docs.dagster.io/deployment/guides/kubernetes/customizing-your-deployment