Jake Cowton
07/10/2025, 2:29 PMabctl.
I've set this in my values.yml
image:
registry: ACCT_ID.dkr.ecr.us-east-2.amazonaws.com/dockerhub/
and I'm able to run aws --region us-east-2 ecr get-login-password | docker login --username AWS --password-stdin ACCT_ID.dkr.ecr.us-east-2.amazonaws.com successfully, then pull images using docker pull ACCT_ID.dkr.ecr.us-east-2.amazonaws.com/dockerhub/airbyte/bootloader:1.2.0 .
However, when I go to run abctl local install --verbose --values ./values.yaml --secret ./secrets.yaml --no-browser --chart-version 1.2.0 I get an error no basic auth credentials
Howe can I make sure abctl can pull from ECR?kapa.ai
07/10/2025, 2:30 PMabctl can pull images from your AWS ECR pull-through cache, you need to make sure that the Kubernetes cluster (or the environment where Airbyte is being deployed) is properly authenticated to ECR, not just your local Docker client. Here are the key steps based on the knowledge sources: 1. Create a Kubernetes Secret for ECR Authentication You need to create a Kubernetes secret containing your Docker config with ECR credentials. This is required so that Airbyte pods can pull images from your private registry. sh kubectl create secret generic regcred \ --from-file=.dockerconfigjson=<path/to/.docker/config.json> \ --type=kubernetes.io/dockerconfigjson Replace <path/to/.docker/config.json> with the path to your Docker config file that contains the ECR login credentials. You can generate this file by running the aws ecr get-login-password command and logging in as you did before. [See more details here](https://docs.airbyte.com/platform/1.6/deploying-airbyte/integrations/custom-image-registries#step-1-customize-airbyte-to-use-your-image-registry). 2. Reference the Secret in your values.yaml Add the secret to your values.yaml so Airbyte knows to use it when pulling images: yaml global: image: registry: ACCT_ID.dkr.ecr.us-east-2.amazonaws.com/dockerhub imagePullSecrets: - name: regcred This tells Airbyte to use the regcred secret for image pulls. [Reference: Custom image registry setup](https://docs.airbyte.com/platform/1.6/deploying-airbyte/integrations/custom-image-registries#step-1-customize-airbyte-to-use-your-image-registry) 3. abctl and Helm Chart Support The abctl tool and the Helm chart support the imagePullSecrets field, but you must ensure it is set correctly in your values.yaml. If you miss this step, you will get the "no basic auth credentials" error because the pods cannot authenticate to ECR. [See also: abctl and private registry support](https://github.com/airbytehq/airbyte/issues/46309) Summary: - Logging in with Docker CLI is not enough; Kubernetes must have the secret. - Create a Kubernetes secret with your ECR credentials. - Reference that secret in your values.yaml under global.imagePullSecrets. - Then run your abctl local install command. If you follow these steps and still encounter issues, double-check that the secret is in the correct namespace and that your values.yaml is being picked up by the install command. If you need more details on authenticating Kubernetes to ECR, see the [official Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) as referenced in the Airbyte docs.Jake Cowton
07/10/2025, 3:18 PMDEBUG Encountered an issue deploying Airbyte:
Pod: airbyte-abctl-airbyte-bootloader.1850eca5a2a9a365
Reason: FailedToRetrieveImagePullSecret
Message: Unable to retrieve some image pull secrets (regcred); attempting to pull the image may not succeed.
Count: 1kapa.ai
07/10/2025, 3:19 PMkapa.ai
07/10/2025, 3:19 PMFailedToRetrieveImagePullSecret indicates that Airbyte (via abctl) is unable to access the Kubernetes secret (regcred) you created. Based on the knowledge sources, here are the most likely causes and steps to check: 1. Namespace Mismatch The secret must be created in the same namespace where Airbyte is being deployed. If you did not specify a namespace when creating the secret, it will be created in the default namespace. If Airbyte is being installed in a different namespace, it will not be able to find the secret. To create the secret in a specific namespace (e.g., airbyte), use: sh kubectl create secret generic regcred \ --from-file=.dockerconfigjson=<path/to/.docker/config.json> \ --type=kubernetes.io/dockerconfigjson \ --namespace airbyte 2. Reference the Secret in the Correct Namespace Ensure your values.yaml references the secret name correctly, and that the install command is targeting the same namespace: yaml global: image: registry: ACCT_ID.dkr.ecr.us-east-2.amazonaws.com/dockerhub imagePullSecrets: - name: regcred 3. Check Secret Existence Verify the secret exists in the correct namespace: sh kubectl get secret regcred --namespace <your-namespace> 4. abctl and Helm Chart Support The knowledge sources confirm that abctl and the Helm chart support the imagePullSecrets field, but do not provide troubleshooting steps for this specific error. If the above steps do not resolve the issue, the knowledge sources do not provide further guidance for this error. If you have confirmed the secret exists in the correct namespace and is referenced properly in your values.yaml, but the error persists, the knowledge sources do not contain enough information to provide a definitive solution for this specific FailedToRetrieveImagePullSecret error. You may need to consult Airbyte's GitHub issues or discussions for more targeted troubleshooting steps for your version and setup. References: - [Custom image registry setup](https://docs.airbyte.com/platform/1.6/deploying-airbyte/integrations/custom-image-registries#step-1-customize-airbyte-to-use-your-image-registry) - [abctl and private registry support](https://github.com/airbytehq/airbyte/issues/46309)