epiphany
epiphany copied to clipboard
Use `tarball` format insted of `legacy` for downloading Docker images
Is your feature request related to a problem? Please describe.
Currently we use command like below to download images:
crane --insecure --platform=linux/amd64 --format=legacy pull epiphanyplatform/keycloak:14.0.0 keycloak-legacy.tar
Comparing to the default (tarball
) format it has two drawbacks:
- download takes much longer (e.g. 24s vs 7s)
- tar file is much bigger (e.g.
691M keycloak-legacy.tar 372M keycloak-tarball.tar
)
Describe the solution you'd like
Switch from legacy format to tarball by default for all images.
If some images require legacy format, then add optional format
property to images.yml files (the same approach as we have for allow_mismatch
property) or convert the images to newer format and push to epiphanyplatform
registry.
Also try to avoid using --insecure
option.
Additional context n/a
DoD checklist
- Changelog
- [ ] updated
- [ ] not needed
- COMPONENTS.md
- [ ] updated
- [ ] not needed
- Schema
- [ ] updated
- [ ] not needed
- Backport tasks
- [ ] created
- [ ] not needed
- Documentation
- [ ] added
- [ ] updated
- [ ] not needed
- [ ] Feature has automated tests
- [ ] Automated tests passed (QA pipelines)
- [ ] apply
- [ ] upgrade
- [ ] backup/restore
- [ ] Idempotency tested
- [ ] All conversations in PR resolved
- [ ] Solution meets requirements and is done according to design doc
- [ ] Usage compliant with license