Add documentation to describe how to backfill pre-VDF images into post-VDF subdir path #1282
Labels
area/artifacts
Issues or PRs related to the hosting of release artifacts for subprojects
area/release-eng
Issues or PRs related to the Release Engineering subproject
kind/documentation
Categorizes issue or PR as related to documentation.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
sig/release
Categorizes an issue or PR as relevant to SIG Release.
Problem: After the vanity domain flip happened, there are now N subprojects with their own subdirs underneath
k8s.gcr.io/<SUBDIR>
. This is fine. But now we would like to backfill pre-VDF images that currently live ink8s.gcr.io/<OLD_IMAGE>
intok8s.gcr.io/<SUBDIR>/<OLD_IMAGE>
. This way, any new post-VDF references that use the SUBDIR prefix can also refer to old images that were built before the VDF happened, using the same SUBDIR prefix.In other words, all images in
k8s.gcr.io
that don't live under a staging subproject's SUBDIR should be given a SUBDIR and copied there.What we want to do is just list the old images in
images.yaml
to make sure they also exist under the subproject's SUBDIR. However, this won't work on its own because the staging repo won't have these images. So there are at least 2 steps involved:k8s.gcr.io
root intogcr.io/k8s-staging-SUBPROJECT
.images.yaml
forgcr.io/k8s-staging-SUBPROJECT
, to promote intok8s.gcr.io/SUBPROJECT-SUBDIR/<old_image>
.This involves some trivial shell logic, probably. But we could just start with some docs.
The text was updated successfully, but these errors were encountered: