Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional support for including ecr-credential-provider #1570

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

AverageMarcus
Copy link
Member

Change description

Adds a new ansible role that can be optional enabled via the ecr_credential_provider boolean var that will install and configure the use of ecr-credential-provider to allow pulling images from ECR registries.

Related issues

Additional context

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 27, 2024
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 27, 2024
@AverageMarcus AverageMarcus force-pushed the ecr_cred_provider branch 2 times, most recently from 9ddbc76 to 9b1e777 Compare September 27, 2024 16:03
Copy link
Contributor

@drew-viles drew-viles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/ok-to-test

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 27, 2024
Copy link
Contributor

@mboersma mboersma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just had a couple doc comments.

docs/book/src/capi/ecr-credential-provider.md Outdated Show resolved Hide resolved
docs/book/src/capi/ecr-credential-provider.md Outdated Show resolved Hide resolved
@@ -287,7 +289,8 @@ COMMON_POWERVS_VAR_FILES := packer/config/kubernetes.json \
packer/config/goss-args.json \
packer/config/common.json \
packer/config/ppc64le/common.json \
packer/config/additional_components.json
packer/config/additional_components.json \
packer/config/ecr_credential_provider.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like extra tabs crept in here.

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 27, 2024
@AverageMarcus
Copy link
Member Author

Thanks @mboersma I think all those are addressed now and I've squashed commits.

packer/config/common.json \
packer/config/ppc64le/common.json \
packer/config/additional_components.json
packer/config/ppc64le/containerd.json \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was me making the indentation consistent with the lines already above. They now all use tabs instead of a mix of tabs and spaces.

Copy link
Contributor

@mboersma mboersma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 27, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mboersma

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 27, 2024
@k8s-ci-robot k8s-ci-robot merged commit 5d44f4b into kubernetes-sigs:main Sep 27, 2024
12 of 13 checks passed
@AverageMarcus AverageMarcus deleted the ecr_cred_provider branch September 27, 2024 18:11
ecr_credential_provider_version: v1.31.0
ecr_credential_provider_os: linux
ecr_credential_provider_arch: amd64
ecr_credential_provider_base_url: https://storage.googleapis.com/k8s-artifacts-prod/binaries/cloud-provider-aws
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be using the https://artifacts.k8s.io/ endpoint instead of the Google specific one https://storage.googleapis.com/k8s-artifacts-prod/?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include ecr-credential-provider binary in CAPI images
5 participants