Yassine AIT BAHA
03/06/2023, 5:27 PMTyler Eason
03/06/2023, 5:35 PM# kustomization.yaml
namespace: default
secretGenerator:
- name: db-creds
options:
# this is necessary because dagster can't read the the suffixes and the k8s job will hang
disableNameSuffixHash: true
literals:
# the password for postgresqlUsername when it is different of postgres
- postgresql-postgres-password=password1
# override postgresqlPassword
- postgresql-password=password2
# override replication.password
- postgresql-replication-password=repl_password
# will be sed to authenticate on LDAP
- postgresql-ldap-password=
helmCharts:
- name: dagster
repo: <https://dagster-io.github.io/helm>
version: 1.1.20
releaseName: dagster
namespace: default
valuesFile: path/to/values.yaml
values.yaml
global:
postgresqlSecretName: "db-creds"
postgresql:
enabled: false
postgresqlHost: <DB URL>
postgresqlUsername: <Username, would match password1 in example>
existingSecret: db-creds
naturally you should NOT leave your credentials just floating in yaml but this should get you started.Yassine AIT BAHA
03/06/2023, 7:04 PM