This reference documents database connection behavior that the control plane API enforces during Deployment upsert.
This document focuses on how Astro Private Cloud configures Deployment metadata and result backend connections.
It doesn’t cover infrastructure-level replication, backup, or recovery procedures.
For complete setup steps, see the following documents:
By default, Astro Private Cloud generates deployment-specific database connection details from:
Generated connection details use:
airflow schema for metadata.celery schema for result backend.Set global database behavior in deployment config:
enabled: false skips automatic generation of deployment connection details.retainOnDelete: true keeps deployment database resources after deployment deletion.allowRootAccess: true leaves root grants in place.You can also set per-deployment behavior on upsert:
Manual connection strings are disabled by default. To pass manual connection values in upsert payloads, set deployments.databaseManagement.manualConnectionStrings.enabled to true. In APC 2.x this is a deployments.* setting, so cluster, Workspace, and Deployment overrides take precedence over values.yaml. The recommended path is to add the following to the data plane cluster’s Configuration Override (cluster overrides apply to deployments.*, so don’t include the deployments. prefix):
If disabled (the default), upsert rejects manual connection fields.
For manual connection setup and examples, see Bring your own Airflow database. For precedence between platform config and cluster, Workspace, and Deployment overrides, see Configure Astro Private Cloud.
PgBouncer behavior applies through deployment chart config:
When PgBouncer is enabled for PostgreSQL-based Deployments:
Expected JSON fields:
metadataConnectionJsonresultBackendConnectionJsonFor Kerberos-driven PgBouncer usage, see Configure Kerberos authentication for Airflow databases.
When kerberosEnabled is true in an upsert payload:
pgbouncerConfig.pgbouncerConfig.extraIniMetadata with user=.pgbouncerConfig.extraIniResultBackend with user=.pgbouncerConfig.sslmode.pgbouncerConfig.extraIni with:
server_gssauth_negotiate = allowserver_krb_spnFor payload examples and prerequisites, see Configure Kerberos authentication for Airflow databases and Bring your own Airflow database.