Skip to content

Conversation

@AustinAbro321
Copy link
Member

@AustinAbro321 AustinAbro321 commented Oct 1, 2025

Disclaimer: I leaned on claude code heavily while writing this implementation. I used the OCI distribution spec to guide it. I have reviewed and feel I understand all the code in this PR.

fixes #41

This change is made in tandem with zarf-dev/zarf#4227, as such they should be reviewed together.

Because the injector can only be 1MiB we do not have space to both unpack images from configmaps and push images to the registry.

Beacause this injector will not work with current Zarf, we had to edit the e2e test to pull from zarf-dev/zarf#4227. Once this PR is merged, a release of the injector will occur, then we can update zarf-dev/zarf#4227 so that it can be merged. Then we can reset back to using setup-zarf

Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
@AustinAbro321 AustinAbro321 marked this pull request as ready for review October 2, 2025 19:45
@AustinAbro321 AustinAbro321 requested review from a team as code owners October 2, 2025 19:45
@AustinAbro321 AustinAbro321 changed the title feat: push to registry instead of using configmaps feat: allow pushes to registry, remove ability to unpack configmaps Oct 2, 2025
@AustinAbro321 AustinAbro321 marked this pull request as draft October 3, 2025 16:24
@AustinAbro321
Copy link
Member Author

AustinAbro321 commented Oct 3, 2025

Moving into draft as this PR should be held off on merging as implementing this would conflict with the implementation of zarf-dev/zarf#3956 (for ZEP 0033-registry-proxy). The DaemonSet injector relies on pulling the images from the configmap in the cluster. While theoretically it would be possible to push the image to each pod during startup, new pods from new nodes would not get the image as is.

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.

Allow image push with the injector

2 participants