Skip to content

Implement reverse image proxy#17

Merged
hardikdr merged 2 commits intomainfrom
reverse_image_proxy
Mar 27, 2024
Merged

Implement reverse image proxy#17
hardikdr merged 2 commits intomainfrom
reverse_image_proxy

Conversation

@hardikdr
Copy link
Copy Markdown
Member

What this PR does / why we need it:

This PR introduces a reverse proxy to handle GHCR registry resolutions, primarily aimed at fetching OCI image layers directly from the IPXE environment.

For the start, this feature is exclusively designed to support only public OCI images hosted on GHCR.

Motivation:

Due to limitations in setting headers within the IPXE environment, accessing GHCR requires short-lived bearer tokens, which this proxy manages.

Example:

curl "http://localhost:8083/image?imageName=ghcr.io/ironcore-dev/ironcore-image/gardenlinux&version=rootfs-dev-20240129&layerName=initramfs" --output initramfs

@hardikdr hardikdr merged commit d604c36 into main Mar 27, 2024
@hardikdr hardikdr deleted the reverse_image_proxy branch March 27, 2024 14:53
@afritzler afritzler added the enhancement New feature or request label Apr 15, 2024
@hardikdr hardikdr added this to Roadmap Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants