Skip to content

Conversation

@panktishah26
Copy link
Contributor

@panktishah26 panktishah26 commented Feb 21, 2023

Description

Add support for pulling docker images and specifically the tink-worker image via a proxy by configuring appropriate proxy variables via Boots.

Why is this needed

Currently a user cannot use a proxy to pull tink-worker and container images for workflows. This PR enables proxy support for this. A user will have to pass HTTP_PROXY, HTTPS_PROXY and NO_PROXY to Boots as cli args or environment variables. These values in Boots, extra kernel args, get populated in Hook's /proc/cmdline file. hook-bootkit and hook-docker will pick up those variables and set them as an environment variables in order to pull tink-worker and workflow images from a proxy server.

Fixes: #

How Has This Been Tested?

I have tested this changes by creating a cluster on baremetal machines using the proxy settings.

How are existing users impacted? What migration steps/scripts do we need?

No changes are required for existing user.

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

…e proxy variables

Signed-off-by: panktishah26 <shah.pankti2609@gmail.com>
@jacobweinstock jacobweinstock added the ready-to-merge Signal to Mergify to merge the PR. label Feb 21, 2023
@mergify mergify bot merged commit 9d54933 into tinkerbell:main Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Signal to Mergify to merge the PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants