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 policy statement to s3VPCE to allow pulling from docker hub #3

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

chrisdotn
Copy link
Contributor

What does this PR do?

This PR opens the s3VPCE for docker pull commands, which fails otherwise.

docker-compose pulls the client images from docker hub. The s3VPC needs to allow those actions. Otherwise the pulls fail with HTTP 403 and the images don't get pulled. Adding the policy statement to the VPCE fixes this and allows pulling from docker hub.

The solution is adapted from another issue: Cannot pull images from dockerhub (403 Access Denied)

Motivation

The 'erigion-lighthouse' configuration did not work without it.

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Mandatory for new node blueprints. Yes, I have added a example to support my blueprint PR
  • Mandatory for new node blueprints. Yes, I have updated the website/docs or website/blog section for this feature
  • Yes, I ran pre-commit run -a with this PR. Link for installing pre-commit locally

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

docker-compose pulls the client images from docker hub. The s3VPC needs
to allow those actions. Otherwise the pulls fail with HTTP 403 and the
images don't get pulled. Adding the policy statement to the VPCE fixes
this and allows pulling from docker hub.
@chrisdotn
Copy link
Contributor Author

Not for review: the relevant lines are 81–88, the other lines are formatting changes.

@frbrkoala frbrkoala merged commit eff918a into main Oct 12, 2023
1 check passed
@frbrkoala frbrkoala deleted the fixDockerPull branch October 26, 2023 00:21
frbrkoala pushed a commit that referenced this pull request Feb 29, 2024
* ha nodes and update testing

* Add sample config and uncomment common stacks test.

* include autofixes from pre-commit procedure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants