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

Built-in image copy mechanism (skopeo replacement) #443

Open
estahn opened this issue Jan 23, 2023 · 0 comments
Open

Built-in image copy mechanism (skopeo replacement) #443

estahn opened this issue Jan 23, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@estahn
Copy link
Owner

estahn commented Jan 23, 2023

k8s-image-swapper is currently using skopeo, a CLI, to copy images into the registry. This is being executed as an external command and can lead to several issues (OOM, security exposure via skopeo, ...).

skopeo is utilising github.com/containers/image/v5/copy, with some added mechanics like retry, which can be utilised directly in k8s-image-swapper.

@estahn estahn added the enhancement New feature or request label Jan 23, 2023
@estahn estahn added this to the 1.6.0 milestone Apr 1, 2023
rattboi pushed a commit to rattboi/k8s-image-swapper that referenced this issue May 29, 2024
## [1.3.2](estahn/k8s-image-swapper@v1.3.1...v1.3.2) (2022-11-01)

### ⬆️ Dependencies

* **deps:** Bump actions/cache from 3.0.10 to 3.0.11 ([estahn#365](estahn#365)) ([4e88994](estahn@4e88994)), closes [actions/cache#946](actions/cache#946) [actions/cache#950](actions/cache#950) [actions/cache#956](actions/cache#956) [actions/cache#950](actions/cache#950) [#956](https://github.com/estahn/k8s-image-swapper/issues/956) [#950](https://github.com/estahn/k8s-image-swapper/issues/950) [#946](https://github.com/estahn/k8s-image-swapper/issues/946)
* **deps:** bump actions/cache from 3.0.8 to 3.0.10 ([estahn#358](estahn#358)) ([921d9e2](estahn@921d9e2)), closes [estahn#809](estahn#809) [#833](https://github.com/estahn/k8s-image-swapper/issues/833) [estahn#810](estahn#810) [#931](https://github.com/estahn/k8s-image-swapper/issues/931) [#942](https://github.com/estahn/k8s-image-swapper/issues/942) [#930](https://github.com/estahn/k8s-image-swapper/issues/930) [#920](https://github.com/estahn/k8s-image-swapper/issues/920) [#936](https://github.com/estahn/k8s-image-swapper/issues/936) [#925](https://github.com/estahn/k8s-image-swapper/issues/925)
* **deps:** Bump actions/setup-python from 4.2.0 to 4.3.0 ([estahn#362](estahn#362)) ([05a7ab3](estahn@05a7ab3)), closes [estahn#517](estahn#517) [estahn#499](estahn#499) [estahn#443](estahn#443) [estahn#477](estahn#477) [estahn#479](estahn#479) [estahn#491](estahn#491) [estahn#492](estahn#492) [estahn#517](estahn#517) [estahn#503](estahn#503) [estahn#499](estahn#499) [estahn#495](estahn#495) [estahn#443](estahn#443) [estahn#492](estahn#492) [estahn#491](estahn#491)
* **deps:** Bump docker/login-action from 2.0.0 to 2.1.0 ([estahn#364](estahn#364)) ([ca6a535](estahn@ca6a535)), closes [estahn#275](estahn#275) [estahn#252](estahn#252) [estahn#292](estahn#292) [estahn#298](estahn#298) [estahn#299](estahn#299) [estahn#299](estahn#299) [estahn#298](estahn#298) [estahn#292](estahn#292) [estahn#275](estahn#275)
* **deps:** Bump github.com/alitto/pond from 1.8.1 to 1.8.2 ([estahn#371](estahn#371)) ([417edd5](estahn@417edd5)), closes [alitto/pond#37](alitto/pond#37) [estahn#37](estahn#37)
* **deps:** bump github.com/aws/aws-sdk-go from 1.44.100 to 1.44.109 ([estahn#359](estahn#359)) ([b9acd7d](estahn@b9acd7d)), closes [#4574](https://github.com/estahn/k8s-image-swapper/issues/4574) [#4573](https://github.com/estahn/k8s-image-swapper/issues/4573) [#4571](https://github.com/estahn/k8s-image-swapper/issues/4571) [#4568](https://github.com/estahn/k8s-image-swapper/issues/4568) [#4567](https://github.com/estahn/k8s-image-swapper/issues/4567) [#4566](https://github.com/estahn/k8s-image-swapper/issues/4566) [#4565](https://github.com/estahn/k8s-image-swapper/issues/4565) [#4562](https://github.com/estahn/k8s-image-swapper/issues/4562) [#4561](https://github.com/estahn/k8s-image-swapper/issues/4561)
* **deps:** Bump github.com/aws/aws-sdk-go from 1.44.109 to 1.44.114 ([estahn#363](estahn#363)) ([832a21d](estahn@832a21d)), closes [#4580](https://github.com/estahn/k8s-image-swapper/issues/4580) [#4579](https://github.com/estahn/k8s-image-swapper/issues/4579) [#4578](https://github.com/estahn/k8s-image-swapper/issues/4578) [#4576](https://github.com/estahn/k8s-image-swapper/issues/4576) [#4575](https://github.com/estahn/k8s-image-swapper/issues/4575)
* **deps:** Bump github.com/aws/aws-sdk-go from 1.44.114 to 1.44.121 ([estahn#377](estahn#377)) ([26f4103](estahn@26f4103)), closes [#4596](https://github.com/estahn/k8s-image-swapper/issues/4596) [#4595](https://github.com/estahn/k8s-image-swapper/issues/4595) [#4593](https://github.com/estahn/k8s-image-swapper/issues/4593) [#4519](https://github.com/estahn/k8s-image-swapper/issues/4519) [#4590](https://github.com/estahn/k8s-image-swapper/issues/4590) [#4589](https://github.com/estahn/k8s-image-swapper/issues/4589) [#4587](https://github.com/estahn/k8s-image-swapper/issues/4587) [#4586](https://github.com/estahn/k8s-image-swapper/issues/4586)
* **deps:** Bump github.com/aws/aws-sdk-go from 1.44.121 to 1.44.126 ([estahn#383](estahn#383)) ([b7e43d9](estahn@b7e43d9)), closes [#4603](https://github.com/estahn/k8s-image-swapper/issues/4603) [#4602](https://github.com/estahn/k8s-image-swapper/issues/4602) [#4601](https://github.com/estahn/k8s-image-swapper/issues/4601) [#4600](https://github.com/estahn/k8s-image-swapper/issues/4600) [#4598](https://github.com/estahn/k8s-image-swapper/issues/4598)
* **deps:** bump github.com/containers/image/v5 from 5.22.0 to 5.23.0 ([estahn#360](estahn#360)) ([250d9e4](estahn@250d9e4)), closes [#1665](https://github.com/estahn/k8s-image-swapper/issues/1665) [#1666](https://github.com/estahn/k8s-image-swapper/issues/1666) [#1664](https://github.com/estahn/k8s-image-swapper/issues/1664) [#1662](https://github.com/estahn/k8s-image-swapper/issues/1662)
* **deps:** Bump github.com/dgraph-io/ristretto from 0.1.0 to 0.1.1 ([estahn#368](estahn#368)) ([0e9c9df](estahn@0e9c9df)), closes [estahn#285](estahn#285) [dgraph-io/ristretto#311](dgraph-io/ristretto#311) [estahn#304](estahn#304) [dgraph-io/ristretto#304](dgraph-io/ristretto#304) [estahn#287](estahn#287) [dgraph-io/ristretto#307](dgraph-io/ristretto#307) [estahn#285](estahn#285) [dgraph-io/ristretto#311](dgraph-io/ristretto#311) [estahn#304](estahn#304) [dgraph-io/ristretto#304](dgraph-io/ristretto#304) [estahn#287](estahn#287) [dgraph-io/ristretto#307](dgraph-io/ristretto#307) [estahn#312](estahn#312) [estahn#285](estahn#285) [estahn#310](estahn#310) [estahn#306](estahn#306) [estahn#309](estahn#309) [estahn#308](estahn#308) [estahn#287](estahn#287) [estahn#307](estahn#307) [estahn#304](estahn#304)
* **deps:** Bump github.com/go-co-op/gocron from 1.17.0 to 1.17.1 ([estahn#380](estahn#380)) ([8c4cef8](estahn@8c4cef8)), closes [go-co-op/gocron#382](go-co-op/gocron#382) [go-co-op/gocron#386](go-co-op/gocron#386) [go-co-op/gocron#386](go-co-op/gocron#386) [estahn#386](estahn#386) [estahn#382](estahn#382)
* **deps:** Bump github.com/gruntwork-io/terratest from 0.40.22 to 0.40.23 ([estahn#367](estahn#367)) ([a07149b](estahn@a07149b)), closes [gruntwork-io/terratest#1186](gruntwork-io/terratest#1186) [gruntwork-io/terratest#1189](gruntwork-io/terratest#1189) [#1189](https://github.com/estahn/k8s-image-swapper/issues/1189) [#1186](https://github.com/estahn/k8s-image-swapper/issues/1186)
* **deps:** Bump github.com/gruntwork-io/terratest from 0.40.23 to 0.40.24 ([estahn#378](estahn#378)) ([e57939d](estahn@e57939d)), closes [gruntwork-io/terratest#1191](gruntwork-io/terratest#1191) [#1191](https://github.com/estahn/k8s-image-swapper/issues/1191)
* **deps:** Bump github.com/slok/kubewebhook/v2 from 2.3.0 to 2.5.0 ([estahn#372](estahn#372)) ([249a996](estahn@249a996)), closes [estahn#218](estahn#218) [estahn#217](estahn#217) [estahn#187](estahn#187)
* **deps:** Bump github.com/spf13/cobra from 1.5.0 to 1.6.0 ([estahn#373](estahn#373)) ([39cfd45](estahn@39cfd45)), closes [#1003](https://github.com/estahn/k8s-image-swapper/issues/1003) [#1802](https://github.com/estahn/k8s-image-swapper/issues/1802) [#1760](https://github.com/estahn/k8s-image-swapper/issues/1760) [#1707](https://github.com/estahn/k8s-image-swapper/issues/1707) [#1813](https://github.com/estahn/k8s-image-swapper/issues/1813) [#1788](https://github.com/estahn/k8s-image-swapper/issues/1788) [#1621](https://github.com/estahn/k8s-image-swapper/issues/1621) [#1467](https://github.com/estahn/k8s-image-swapper/issues/1467) [#1643](https://github.com/estahn/k8s-image-swapper/issues/1643) [#1643](https://github.com/estahn/k8s-image-swapper/issues/1643) [#1762](https://github.com/estahn/k8s-image-swapper/issues/1762) [#1771](https://github.com/estahn/k8s-image-swapper/issues/1771) [#1776](https://github.com/estahn/k8s-image-swapper/issues/1776) [#1766](https://github.com/estahn/k8s-image-swapper/issues/1766) [#1782](https://github.com/estahn/k8s-image-swapper/issues/1782) [#1803](https://github.com/estahn/k8s-image-swapper/issues/1803) [#1783](https://github.com/estahn/k8s-image-swapper/issues/1783) [#1387](https://github.com/estahn/k8s-image-swapper/issues/1387) [#1792](https://github.com/estahn/k8s-image-swapper/issues/1792) [#1744](https://github.com/estahn/k8s-image-swapper/issues/1744) [#1748](https://github.com/estahn/k8s-image-swapper/issues/1748) [#1726](https://github.com/estahn/k8s-image-swapper/issues/1726) [#1656](https://github.com/estahn/k8s-image-swapper/issues/1656) [#1779](https://github.com/estahn/k8s-image-swapper/issues/1779) [#1741](https://github.com/estahn/k8s-image-swapper/issues/1741) [#1742](https://github.com/estahn/k8s-image-swapper/issues/1742) [#1745](https://github.com/estahn/k8s-image-swapper/issues/1745) [#1759](https://github.com/estahn/k8s-image-swapper/issues/1759) [#1772](https://github.com/estahn/k8s-image-swapper/issues/1772) [#1819](https://github.com/estahn/k8s-image-swapper/issues/1819) [#1800](https://github.com/estahn/k8s-image-swapper/issues/1800) [#1809](https://github.com/estahn/k8s-image-swapper/issues/1809) [#1804](https://github.com/estahn/k8s-image-swapper/issues/1804) [#1467](https://github.com/estahn/k8s-image-swapper/issues/1467) [#1003](https://github.com/estahn/k8s-image-swapper/issues/1003) [#1813](https://github.com/estahn/k8s-image-swapper/issues/1813) [#1621](https://github.com/estahn/k8s-image-swapper/issues/1621) [#1792](https://github.com/estahn/k8s-image-swapper/issues/1792) [#1788](https://github.com/estahn/k8s-image-swapper/issues/1788) [#1815](https://github.com/estahn/k8s-image-swapper/issues/1815) [#1819](https://github.com/estahn/k8s-image-swapper/issues/1819) [#1707](https://github.com/estahn/k8s-image-swapper/issues/1707) [#1760](https://github.com/estahn/k8s-image-swapper/issues/1760)
* **deps:** Bump github.com/spf13/cobra from 1.6.0 to 1.6.1 ([estahn#384](estahn#384)) ([ffe3ef6](estahn@ffe3ef6)), closes [#1839](https://github.com/estahn/k8s-image-swapper/issues/1839) [#1841](https://github.com/estahn/k8s-image-swapper/issues/1841)
* **deps:** Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 ([estahn#379](estahn#379)) ([a0e1429](estahn@a0e1429)), closes [#1283](https://github.com/estahn/k8s-image-swapper/issues/1283)
* **deps:** Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 ([estahn#375](estahn#375)) ([abcf765](estahn@abcf765)), closes [estahn#586](estahn#586) [estahn#584](estahn#584) [estahn#582](estahn#582) [estahn#580](estahn#580) [estahn#578](estahn#578) [estahn#576](estahn#576) [estahn#577](estahn#577) [estahn#575](estahn#575)
* **deps:** Bump k8s.io/api from 0.25.1 to 0.25.3 ([estahn#366](estahn#366)) ([c233527](estahn@c233527)), closes [#112808](https://github.com/estahn/k8s-image-swapper/issues/112808) [cheftako/automated-cherry-pick-of-#112689](https://github.com/cheftako/automated-cherry-pick-of-/issues/112689)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant