Tihomir Lolic
10/19/2025, 6:45 PMworkload-launcher component in Airbyte Helm Chart v2.0.0 fails to start with CrashLoopBackOff due to missing DATAPLANE_CLIENT_ID and DATAPLANE_CLIENT_SECRET environment variables in the Helm-generated secret.
## Environment
- Airbyte Version: 2.0.0
- Helm Chart Version: 2.0.0
- Kubernetes: GKE 1.28
- Deployment Method: Helm via ArgoCD
## Problem Description
### Error Message
Caused by: io.micronaut.context.exceptions.ConfigurationException: Could not resolve placeholder ${DATAPLANE_CLIENT_ID}
### Root Cause Analysis
1. Helm Chart Generates Multiple Secrets:
- airbyte-auth-secrets - Contains auth credentials (created by bootloader on first run)
- airbyte-v2-airbyte-secrets - Main secrets bundle (created by Helm chart)
2. Secret Key Mismatch:
- The airbyte-auth-secrets contains DATAPLANE credentials with BOTH naming conventions:
- dataplane-client-id (lowercase with dashes)
- DATAPLANE_CLIENT_ID (uppercase with underscores)
3. Deployment Configuration Mismatch:
- The workload-launcher deployment is configured to read from `airbyte-v2-airbyte-secrets`:
yaml
- name: DATAPLANE_CLIENT_ID
valueFrom:
secretKeyRef:
key: DATAPLANE_CLIENT_ID
name: airbyte-v2-airbyte-secrets _# ← Looking in wrong secret!_
- The ConfigMap correctly points to `airbyte-auth-secrets`:
yaml
DATAPLANE_CLIENT_ID_SECRET_NAME: airbyte-auth-secrets
DATAPLANE_CLIENT_ID_SECRET_KEY: DATAPLANE_CLIENT_ID
4. Helm-Generated Secret Missing Keys:
- The airbyte-v2-airbyte-secrets is created by Helm but does NOT include DATAPLANE_CLIENT_ID or DATAPLANE_CLIENT_SECRET keys
- These values are empty/missing, causing the application startup to fail
## Impact
- Critical: workload-launcher pod cannot start
- Severity: Prevents all sync job execution
- Affected Components: workload-launcher (other components start successfully)
## Current Workaround
### Manual Patch (Temporary)
bash
_# Extract values from airbyte-auth-secrets_
DATAPLANE_CLIENT_ID=$(kubectl get secret airbyte-auth-secrets -n airbyte -o jsonpath='{.data.DATAPLANE_CLIENT_ID}')
DATAPLANE_CLIENT_SECRET=$(kubectl get secret airbyte-auth-secrets -n airbyte -o jsonpath='{.data.DATAPLANE_CLIENT_SECRET}')
_# Patch the Helm-generated secret_
kubectl patch secret airbyte-v2-airbyte-secrets -n airbyte --type='json' -p="[
{\"op\": \"add\", \"path\": \"/data/DATAPLANE_CLIENT_ID\", \"value\": \"$DATAPLANE_CLIENT_ID\"},
{\"op\": \"add\", \"path\": \"/data/DATAPLANE_CLIENT_SECRET\", \"value\": \"$DATAPLANE_CLIENT_SECRET\"}
]"
_# Restart workload-launcher_
kubectl rollout restart deployment airbyte-v2-workload-launcher -n airbyte
### GitOps Solution (ArgoCD PostSync Hook)
Created an ArgoCD PostSync hook Job that automatically copies DATAPLANE credentials from airbyte-auth-secrets to airbyte-v2-airbyte-secrets after each Helm deployment:
yaml
apiVersion: batch/v1
kind: Job
metadata:
name: airbyte-patch-dataplane-secrets
namespace: airbyte
annotations:
argocd.argoproj.io/hook: PostSync
argocd.argoproj.io/hook-delete-policy: HookSucceeded
argocd.argoproj.io/sync-wave: "3"
spec:
template:
spec:
containers:
- name: patch-secrets
image: bitnami/kubectl:latest
command:
- /bin/bash
- -c
- |
# Extract and patch DATAPLANE credentials
DATAPLANE_CLIENT_ID=$(kubectl get secret airbyte-auth-secrets -n airbyte -o jsonpath='{.data.DATAPLANE_CLIENT_ID}')
DATAPLANE_CLIENT_SECRET=$(kubectl get secret airbyte-auth-secrets -n airbyte -o jsonpath='{.data.DATAPLANE_CLIENT_SECRET}')
kubectl patch secret airbyte-v2-airbyte-secrets -n airbyte --type='json' -p="[...]"
## Questions for Community
### 1. Is this expected behavior?
Should workload-launcher be reading DATAPLANE credentials from airbyte-v2-airbyte-secrets or airbyte-auth-secrets?
- The ConfigMap says: DATAPLANE_CLIENT_ID_SECRET_NAME: airbyte-auth-secrets
- The Deployment says: secretKeyRef.name: airbyte-v2-airbyte-secrets
### 2. Should Helm chart populate DATAPLANE keys?
Should the Helm chart template automatically copy DATAPLANE credentials from airbyte-auth-secrets to airbyte-v2-airbyte-secrets after bootloader runs?
### 3. Is there a configuration we're missing?
Are we missing a Helm value or configuration that would:
- Make workload-launcher read from the correct secret?
- Or populate the DATAPLANE keys in airbyte-v2-airbyte-secrets?
## Proposed Solutions
### Option 1: Fix Deployment to Use Correct Secret (Preferred)
Update workload-launcher deployment to read from airbyte-auth-secrets (matching the ConfigMap):
yaml
- name: DATAPLANE_CLIENT_ID
valueFrom:
secretKeyRef:
key: DATAPLANE_CLIENT_ID
name: airbyte-auth-secrets _# ← Match ConfigMap_
### Option 2: Helm Chart to Populate Both Secrets
Have Helm chart template create/update airbyte-v2-airbyte-secrets with DATAPLANE keys after bootloader completes (via init container or post-install hook).
### Option 3: Consolidate into Single Secret
Merge all authentication secrets into a single source of truth to avoid this type of mismatch.
## Additional Context
This issue is separate from but related to the [Workload Identity issue](./AIRBYTE_WORKLOAD_IDENTITY_ISSUE.md) we previously reported. Both involve secret management challenges in the Helm Chart v2.
## Reproduction Steps
1. Deploy Airbyte using Helm Chart v2.0.0 with external PostgreSQL and GCS
2. Let bootloader run and create airbyte-auth-secrets
3. Observe workload-launcher in CrashLoopBackOff
4. Check logs: Could not resolve placeholder ${DATAPLANE_CLIENT_ID}
5. Verify airbyte-v2-airbyte-secrets exists but lacks DATAPLANE keys
6. Verify airbyte-auth-secrets contains DATAPLANE keys
## Related Issues
- Similar to connector authentication secret handling
- Related to service-to-service authentication between Airbyte components
- May be related to temporal authentication flow
## References
- Helm Chart: https://github.com/airbytehq/airbyte-platform/tree/main/charts/airbyte
- Deployment: airbyte-v2-workload-launcher
- Secrets: airbyte-auth-secrets, airbyte-v2-airbyte-secrets
- ConfigMap: airbyte-v2-airbyte-env
---
Workaround Status: ✅ Functional with ArgoCD PostSync hook
Severity: High (blocks workload execution)
Suggested Fix: Update deployment to reference correct secret namekapa.ai
10/19/2025, 6:46 PMdataplane-client-id and dataplane-client-secret were missing from the airbyte-auth-secrets, causing workload-launcher failures. ## Recent Fixes According to the knowledge sources, there have been improvements: 1. Version 1.8.0 Fix: A [bootloader change](https://github.com/airbytehq/airbyte/issues/64159) was implemented that "will look for valid credentials in the secret first, and if valid credentials exist, it will skip the rest of the dataplane initialization." 2. ConfigMap Duplicate Keys: The [Duplicate ConfigMap Keys issue](https://github.com/airbytehq/airbyte/issues/66546) in v2.0.12 shows that there are ongoing problems with how dataplane credentials are templated across different chart components, with duplicate keys being generated by both airbyte.auth.bootstrap.configVars and airbyte.workloadLauncher.dataPlane.configVars. ## Recommended Solutions Based on the knowledge sources, your Option 1 (fixing the deployment to use the correct secret) aligns with how the issue has been addressed in the community. However, the knowledge sources suggest that: 1. The bootloader should be creating these credentials in airbyte-auth-secrets automatically 2. The workload-launcher should be reading from airbyte-auth-secrets (as indicated by the ConfigMap) ## What You Should Try 1. Verify your Helm chart version: Ensure you're using the latest v2 chart that includes the fixes mentioned above 2. Check bootloader logs: Verify that the bootloader successfully created the dataplane credentials 3. Consider upgrading: If you're on v2.0.0, consider upgrading to v2.0.12 or later, though be aware of the [duplicate ConfigMap keys issue](https://github.com/airbytehq/airbyte/issues/66546) Your ArgoCD PostSync hook workaround is reasonable given the current state, but this should ideally be fixed in the Helm chart itself. The issue appears to be an ongoing challenge with the Helm chart's secret management architecture that the Airbyte team is actively working to resolve.