I deployed airbyte in a test environment using the...
# ask-ai
i
I deployed airbyte in a test environment using the following values.yaml
Copy code
global:
  database:
    type: "external"
    database: "airbyte"
    host: "10.54.242.3"
    port: 5432
    secretName: "airbyte-db-creds"
    userSecretKey: "database-user"
    passwordSecretKey: "database-password"
  storage:
    type: "gcs"
    secretName: "airbyte-config-secrets"
    bucket:
      log: "airbyte-guaradata-logs-communal-hen"
    gcs:
      projectId: "guaradata"
      credentialsJsonPath: "/secrets/airbyte-config-secrets/gcp.json"
  workloads:
    secretName: "airbyte-config-secrets"
    
  # Ativar o Secret Manager
  secretsManager:
    enabled: false

# Desativar serviços internos
postgresql: { enabled: false }
minio: { enabled: false }

# A Service Account continua a ser necessária para o GCS
serviceAccount:
  create: true
  name: airbyte-admin
However, when configuring a connection within airbyte, kubernetes creates a pod named "ics-data-api-check" and this may display the following error:
Copy code
2025-09-05 04:07:04,614 [main]	[34mINFO[0;39m	i.a.c.ConnectorWatcher(saveConnectorOutput):168 - Writing output of 3cc2eafd-84aa-4dca-93af-322d9dfeec1a_1057a6db-e32f-42f8-85f8-90d2981e2d3c_0_check to the doc store
2025-09-05 04:07:07,475 [main]	[31mWARN[0;39m	i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 1 of 5. Last response: null
2025-09-05 04:07:09,158 [main]	[31mWARN[0;39m	i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 2 of 5. Last response: null
2025-09-05 04:07:11,669 [main]	[31mWARN[0;39m	i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 3 of 5. Last response: null
2025-09-05 04:07:13,379 [main]	[31mWARN[0;39m	i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 4 of 5. Last response: null
2025-09-05 04:07:15,643 [main]	[31mWARN[0;39m	i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$5):79 - Retry attempt 5 of 5. Last response: null
2025-09-05 04:07:15,697 [main]	[1;31mERROR[0;39m	i.a.a.c.c.ClientConfigurationSupport(generateDefaultRetryPolicy$lambda$7):95 - Retry attempts exceeded.
java.io.IOException: HTTP error: 500 Internal Server Error
	at io.airbyte.api.client.interceptor.ThrowOn5xxInterceptor.intercept(ThrowOn5xxInterceptor.kt:16)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
	at dev.failsafe.okhttp.FailsafeCall.lambda$execute$0(FailsafeCall.java:117)
	at dev.failsafe.Functions.lambda$get$0(Functions.java:46)
	at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74)
	at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187)
	at dev.failsafe.CallImpl.execute(CallImpl.java:33)
	at dev.failsafe.okhttp.FailsafeCall.execute(FailsafeCall.java:121)
	at io.airbyte.api.client.generated.WorkloadOutputApi.writeWorkloadOutputWithHttpInfo(WorkloadOutputApi.kt:376)
	at io.airbyte.api.client.generated.WorkloadOutputApi.writeWorkloadOutput(WorkloadOutputApi.kt:62)
	at io.airbyte.workers.workload.WorkloadOutputWriter.writeOutputThroughServer(WorkloadOutputWriter.kt:82)
	at io.airbyte.workers.workload.WorkloadOutputWriter.write(WorkloadOutputWriter.kt:65)
	at io.airbyte.connectorSidecar.ConnectorWatcher.saveConnectorOutput(ConnectorWatcher.kt:169)
	at io.airbyte.connectorSidecar.ConnectorWatcher.run(ConnectorWatcher.kt:78)
	at io.airbyte.connectorSidecar.ApplicationKt.main(Application.kt:22)
	at io.airbyte.connectorSidecar.ApplicationKt.main(Application.kt)
It seems to me like it's a problem with the GCS secret, but I'm not sure. Has anyone else experienced this?
k
Short answer: your values don’t line up with the documented/working Helm keys for GCS secrets, which commonly causes check pods to fail when they try to write workload output/logs. Two issues stand out: - Use storage.storageSecretName, not storage.secretName. Several users and maintainers confirmed the chart expects global.storage.storageSecretName, and using secretName breaks mounts/env for worker/launcher/workload-api paths (so the sidecar can’t write to the “doc store,” triggering 5xx retries) ([workload-api-server chart inconsistency thread](https://github.com/airbytehq/airbyte/issues/44525), [follow‑up comments requesting doc fix](https://github.com/airbytehq/airbyte/issues/44525), and [maintainer example using storageSecretName](https://github.com/airbytehq/airbyte/discussions/47256)). - The docs show the GCS credential key and mount path conventions. The secret commonly named airbyte-config-secrets must contain a key gcp.json, and the chart mounts it to /secrets/gcs-log-creds/gcp.json by default in many versions. Your credentialsJsonPath points to /secrets/airbyte-config-secrets/gcp.json, which likely doesn’t match the chart’s mount path. Align it to the documented path or to the chart version you use ([Creating a Kubernetes Secret – GCP key gcp.json](https://docs.airbyte.com/platform/1.7/enterprise-setup/implementation-guide#creating-a-kubernetes-secret), and GCS storage values showing credentialsPath/credentialsJsonPath under /secrets/gcs-log-creds/gcp.json) ([State and Logging Storage 1.7](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/storage#values), [Next/Current docs](https://docs.airbyte.com/platform/deploying-airbyte/integrations/storage#values)). What to change (minimal): - Replace global.storage.secretName with global.storage.storageSecretName. - Ensure your secret airbyte-config-secrets includes key gcp.json. - Set the path to match the chart: either credentialsPath or credentialsJsonPath under global.storage.gcs to /secrets/gcs-log-creds/gcp.json (depending on your chart/docs version). Example from docs: - global.storage.gcs.credentialsPath: /secrets/gcs-log-creds/gcp.json (1.6/1.7) or - global.storage.gcs.credentialsJsonPath: /secrets/gcs-log-creds/gcp.json (Next/current) ([1.6](https://docs.airbyte.com/platform/1.6/deploying-airbyte/integrations/storage#values), [1.7](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/storage#values), [Next/current](https://docs.airbyte.com/platform/deploying-airbyte/integrations/storage#values)). If you don’t provide storageSecretName and instead use gcs.credentialsJson (base64), be aware of past chart behavior where the chart created a {release}-gcs-log-creds secret, but worker/launcher defaulted to airbyte-config-secrets, causing startup failures; setting storageSecretName avoids that mismatch ([issue 48502](https://github.com/airbytehq/airbyte/issues/48502)). Finally, verify your Kubernetes secret content and name match expectations from the docs (airbyte-config-secrets with gcp.json) ([Creating a Kubernetes Secret](https://docs.airbyte.com/platform/1.7/enterprise-setup/implementation-guide#creating-a-kubernetes-secret)). Once those are aligned, the sidecar should be able to write the check output without 5xx retries. If errors persist, check the airbyte-workload-api-server and airbyte-server logs around writeWorkloadOutput; previous reports showed 5xx during check even when the connector succeeded due to storage/secret misconfigurations ([related 502/500 reports](https://github.com/airbytehq/airbyte/issues/44763), [48809](https://github.com/airbytehq/airbyte/issues/48809)).