Description
The Helm chart configuration needs to be updated to match the new database config structure introduced in #1828.
Problem
In #1828, the Database config struct was updated to change from name: String to names: ClpDbNames { clp, spider }. However, the Helm chart configuration files were not updated accordingly, causing API server deployments to fail with:
Error: Config file /etc/clp-config.yaml does not exist
Caused by:
0: `serde_yaml::Error`: database.names: missing field `spider` at line 35 column 5
1: database.names: missing field `spider` at line 35 column 5
Files to Update
tools/deployment/package-helm/values.yaml - Add spider field under clpConfig.database.names
tools/deployment/package-helm/templates/configmap.yaml - Add spider field in the database config template
Current Configuration
database:
names:
clp: "clp-db"
Expected Configuration
database:
names:
clp: "clp-db"
spider: "spider-db"
Related
Description
The Helm chart configuration needs to be updated to match the new database config structure introduced in #1828.
Problem
In #1828, the
Databaseconfig struct was updated to change fromname: Stringtonames: ClpDbNames { clp, spider }. However, the Helm chart configuration files were not updated accordingly, causing API server deployments to fail with:Files to Update
tools/deployment/package-helm/values.yaml- Addspiderfield underclpConfig.database.namestools/deployment/package-helm/templates/configmap.yaml- Addspiderfield in the database config templateCurrent Configuration
Expected Configuration
Related