Christopher Greene
10/21/2024, 2:21 PMuser
10/21/2024, 2:21 PMaws
CLI. You will have to authenticate your local/CI environment (where you build your image) and your EC2 instance where your Airbyte instance is running. Here is the command to do so: aws ecr get-login-password --region region | docker login --username AWS --password-stdin <http://aws_account_id.dkr.ecr.region.amazonaws.com|aws_account_id.dkr.ecr.region.amazonaws.com>
([source](https://docs.airbyte.com/operator-guides/using-custom-connectors#for-docker-compose-airbyte-deployments)) 3. For Kubernetes Airbyte deployments: If you provisioned your Kubernetes cluster using AWS EKS, it is very likely that you already allowed your cluster to pull images from the respective container registry service of your cloud provider. If you want Airbyte to pull images from another private Docker registry, you will have to create a Secret
in Kubernetes that will host your authentication credentials and set the JOB_KUBE_MAIN_CONTAINER_IMAGE_PULL_SECRET
environment variable on the airbyte-worker
pod. The value must be the name of your previously created Kubernetes Secret ([source](https://docs.airbyte.com/operator-guides/using-custom-connectors#for-kubernetes-airbyte-deployments)). 4. Migrate to base image: If you want to make a python connector use the base image, you need to declare it in its metadata.yaml
file under the data.connectorBuildOptions.baseImage
key. Here is an example: connectorBuildOptions: baseImage: <http://docker.io/airbyte/python-connector-base:1.1.0@sha256:bd98f6505c6764b1b5f99d3aedc23dfc9e9af631a62533f60eb32b1d3dbab20c|docker.io/airbyte/python-connector-base:1.1.0@sha256:bd98f6505c6764b1b5f99d3aedc23dfc9e9af631a62533f60eb32b1d3dbab20c>
([source](https://docs.airbyte.com/connector-development/cdk-python/migration-to-base-image)) Please note that there is an open issue on GitHub where users have requested a way to override the default docker.io URL for Airbyte source/destination containers ([source](https://github.com/airbytehq/airbyte/issues/21123)). You might want to follow this issue for updates.Christopher Greene
10/21/2024, 2:30 PMuser
10/21/2024, 2:30 PMChristopher Greene
10/21/2024, 2:31 PMuser
10/21/2024, 2:31 PMuser
10/21/2024, 2:32 PMgit clone <https://github.com/{YOUR_USERNAME}/airbyte.git> cd airbyte
3. Create a new branch for your feature. You can do this by running the following command in your terminal: git checkout -b {YOUR_USERNAME}/{FEATURE/BUG}
Replace {YOUR_USERNAME}
with your GitHub username and {FEATURE/BUG}
with a brief description of the feature or bug fix you're working on. 4. Make the necessary changes to the code. This would involve updating the necessary code to reference a config in the Helm chart. 5. Commit your changes and push your branch to your forked repository. You can do this by running the following commands in your terminal: git add . git commit -m "Your commit message" git push origin {YOUR_USERNAME}/{FEATURE/BUG}
Replace {YOUR_USERNAME}/{FEATURE/BUG}
with the name of the branch you created earlier. 6. Open a Pull Request (PR) in the Airbyte repository. You can do this by visiting the [Airbyte repository](https://github.com/airbytehq/airbyte), navigating to the 'Pull requests' tab, and clicking on the 'New pull request' button. Then, select your forked repository and the branch you created as the 'compare' branch. Before submitting the PR, make sure to follow the [Pull Request Handbook](https://docs.airbyte.com/contributing-to-airbyte/resources/pull-requests-handbook) and the [contribution guidelines](https://docs.airbyte.com/contributing-to-airbyte/). Remember, submitting a PR does not guarantee its merge. The Airbyte support team will conduct an initial review, and if the PR aligns with Airbyte's roadmap, it will be prioritized based on team capacities and priorities.Christopher Greene
10/21/2024, 2:32 PMuser
10/21/2024, 2:32 PMuser
10/21/2024, 2:33 PMcharts
directory and include files like values.yaml
, Chart.yaml
, and various template files in the templates
directory. It's recommended to engage with the Airbyte community or check the Airbyte documentation for more specific guidance on this.