Merge pull request #32942 from karpfslp/fix-default-pg-connection-config-check-type

fix: default pg connection config:check type
This commit is contained in:
Fredrik Adelöw
2026-02-22 16:27:22 +01:00
committed by GitHub
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