Hello Team! I am trying to set the computeLogMana...
# ask-community
d
Hello Team! I am trying to set the computeLogManager on GCP. However I am not able to set correctly the credentials json. My Dagster Webservice is deployed with Helm on GKE. From the helm values.yaml available on github https://github.com/dagster-io/dagster/blob/master/helm/dagster/values.yaml I've added the following config to my values. How should I pass the jsonCredentialsEnvvar value? I should set the json as a env variable and then call it here ? Could someone give me an example ?
Copy code
dagsterDaemon:
  env:
    GCLOUD_ENV_CREDS: '{"type": "service_account", [...]}'
dagsterWebserver:
  env:
    GCLOUD_ENV_CREDS: '{"type": "service_account", [...]}'
computeLogManager:
  type: GCSComputeLogManager
  config:
    gcsComputeLogManager:
      bucket: XXX
      localDir: XXX
      prefix: XXX
      jsonCredentialsEnvvar: ?
All the ways I've tried, I always encounter the same error:
dagster._core.errors.DagsterSubprocessError: During multiprocess execution errors occurred in child processes:
In process 25: TypeError: the JSON object must be str, bytes or bytearray, not NoneType
Thanks!
p
Hi Davi! Does it work to set the
jsonCredentialsEnvvar
as “GCLOUD_ENV_CREDS”?