fix: default pg connection config:check type

Signed-off-by: Sandor Karpf <sandor.karpf@lastpass.com>
This commit is contained in:
Sandor Karpf
2026-02-21 02:54:42 +01:00
parent 3cf3120eaa
commit b99158a1d8
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/backend-defaults': patch
---
Fixed `yarn backstage-cli config:check --strict --config app-config.yaml` config validation error by adding
an optional `default` type discriminator to PostgreSQL connection configuration,
allowing `config:check` to properly validate `default` connection configurations.
+4
View File
@@ -633,6 +633,10 @@ export interface Config {
ipAddressType?: 'PUBLIC' | 'PRIVATE' | 'PSC';
}
| {
/**
* The rest config for default, regular connections
*/
type?: 'default';
/**
* Password that belongs to the client User
* @visibility secret