fix(temporal): provision schema via CNPG temporal_visibility Database CR + enable chart schema setup/update jobs — both DBs had zero tables so server died on 'no usable database connection'
This commit is contained in:
@@ -43,19 +43,20 @@ grafana:
|
||||
enabled: false
|
||||
|
||||
# ── Schema setup/update Jobs ──────────────────────────────────────────────────
|
||||
# Disabled: ddb-cluster's seed job (k8s/data/db-init-job.yaml) already creates
|
||||
# the `temporal` and `temporal_visibility` databases and runs the Temporal
|
||||
# schema migrations out of band. Leaving these at their chart default (true)
|
||||
# would spin up a schema Job on every sync that tries to wait-for-cassandra
|
||||
# and run cassandra-tool commands (see note above) - pointless for us even
|
||||
# once correctly pointed at Postgres, since schema is already seeded.
|
||||
# The `temporal` and `temporal_visibility` databases are provisioned
|
||||
# declaratively by CNPG Database CRs (k8s/data/temporal-database.yaml,
|
||||
# temporal-visibility-database.yaml), so createDatabase stays disabled (the
|
||||
# `temporal` role also lacks CREATEDB). setup/update run temporal-sql-tool as
|
||||
# the `temporal` owner against those existing DBs to install and migrate the
|
||||
# Temporal server schema — without them both DBs have zero tables and the
|
||||
# server dies on "no usable database connection found" (no schema_version row).
|
||||
schema:
|
||||
createDatabase:
|
||||
enabled: false
|
||||
setup:
|
||||
enabled: false
|
||||
enabled: true
|
||||
update:
|
||||
enabled: false
|
||||
enabled: true
|
||||
|
||||
# ── Temporal server config (PostgreSQL persistence) ──────────────────────────
|
||||
server:
|
||||
|
||||
Reference in New Issue
Block a user