You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add proxy support for hook-bootkit and hook-docker (#162)
## 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](https://github.com/tinkerbell/boots/blob/c92674c5f39f7005602bc6882afd035dc0f13d0c/cmd/boots/main.go#L371), 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 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
0 commit comments