Tomakhina Olha
03/27/2023, 9:53 AMdagster._core.errors.DagsterInvalidConfigError: Errors whilst loading configuration for {'postgres_url': Field(<dagster._config.source.StringSourceType object at 0x7f9695861bd0>, default=@, is_required=False), 'postgres_db': Field(<dagster._config.field_utils.Shape object at 0x7f96713d6260>, default=@, is_required=False), 'should_autocreate_tables': Field(<dagster._config.config_type.Bool object at 0x7f96957e85b0>, default=True, is_required=False)}.
Error 1: Post processing at path root:postgres_db:password of original value {'env': 'DAGSTER_PG_PASSWORD'} failed:
dagster._config.errors.PostProcessingError: You have attempted to fetch the environment variable "DAGSTER_PG_PASSWORD" which is not set. In order for this execution to succeed it must be set in this environment.
It happened after recreating pods with jenkins, nothing was changed in deploy settings.
what it can be? maybe subbest the way what we can think about.. for now - no idea what it can bejohann
03/27/2023, 5:04 PMDAGSTER_PG_PASSWORD
env gets set on dagit, daemon, and user deployments using a postgres secret
env:
- name: DAGSTER_PG_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "dagster.postgresql.secretName" . | quote }}
key: postgresql-password
Which by default is created by our helm chart https://github.com/dagster-io/dagster/blob/master/helm/dagster/templates/secret-postgres.yaml#L14Tomakhina Olha
03/27/2023, 7:54 PMjohann
03/28/2023, 1:02 PMTomakhina Olha
03/28/2023, 1:31 PM