Every install serves from Postgres, so the legacyread/legacyimport packages, the archie-state-store import command, the boot gate that refused to serve over unimported SQLite files, and db_path (which only located those files) go. Migration 0010 drops the import_completion table.
16 lines
823 B
Go
16 lines
823 B
Go
package configuration
|
|
|
|
// DeniedKeys are the config keys the runtime overlay may never set, mapped
|
|
// to the reason shown to the operator. database_url and state_dir are read
|
|
// before the overlay store can be opened, and work_dir pins the whole working
|
|
// layout. Enforced at write time (the
|
|
// API returns 4xx) and again in the overlay's Set, not silently dropped at
|
|
// read time. Owned here rather than in the overlay package so the webui
|
|
// config renderer can reference the policy without linking the overlay's
|
|
// SQLite store (archie-core-8cda.5.6).
|
|
var DeniedKeys = map[string]string{
|
|
"database_url": "required for bootstrap; cannot be changed at runtime",
|
|
"state_dir": "required for bootstrap; cannot be changed at runtime",
|
|
"work_dir": "pins the daemon's working layout; cannot be changed at runtime",
|
|
}
|