Tihomir Lolic
04/10/2026, 7:35 PMTihomir Lolic
04/10/2026, 7:36 PMkapa.ai
04/10/2026, 7:36 PMTESTING_CONFIG_DB_TABLE support:
The knowledge sources confirm that TESTING_CONFIG_DB_TABLE is a recognized secret persistence type in Airbyte 2.0, listed as an option for SECRET_PERSISTENCE — described as "use the database as a test." [Configuring Airbyte] However, the sources do not explicitly confirm whether it is fully supported for programmatic source/connection creation in the workload architecture of v2.0.
On how secrets work in Airbyte:
Airbyte stores secrets using a coordinate system of the form airbyte_workspace_<workspace-id>_secret_<uuid>_v1. Upon any operation, the init container reads the obfuscated JSON spec, extracts the secret coordinate, and hydrates the correct secret value before passing it to consumers. [Secrets]
On a related init container issue with secret persistence env vars:
There is a known bug (GitHub issue #69233) where the checkEnvVars and discoverEnvVars beans in airbyte-workload-launcher only inject airbyteMetadataEnvMap into check/discover pods, missing secretPersistenceEnvMap and secretPersistenceSecretsEnvMap. This means discover/check pods may not receive the correct secret persistence configuration environment variables, even though sync pods work correctly. [Init container Azure clientSecret issue]
This is very likely related to your issue — if the discover workload's init container isn't receiving the correct DATABASE_URL or SECRET_PERSISTENCE env vars (despite them appearing set), it could be looking at the wrong database or failing to connect. Recommendations 1. Inspect the actual env vars on the failing init container pod to verify that DATABASE_URL and SECRET_PERSISTENCE are correctly set to what you expect — the bug above suggests they may not be propagated correctly to discover pods.
2. For local/OSS development, the knowledge sources do not explicitly recommend a specific secret persistence mode. However, given the known issues with TESTING_CONFIG_DB_TABLE in the workload architecture, using an external secret manager (AWS, GCP, Azure Key Vault, or HashiCorp Vault) is what Airbyte highly recommends for production-like setups. [Secret Management]
3. On the secret_storage table question: The knowledge sources do not contain enough information to confirm whether RealSecretsHydrator changed its target table in v2.0.
I'd recommend opening or searching for a GitHub issue specifically about TESTING_CONFIG_DB_TABLE + workload init containers in Helm chart v2, as the root cause may be the same env var propagation bug documented in issue #69233. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.kapa.ai
04/10/2026, 7:38 PM