[installer] updating the refCache image in image-builder-mk3 #11727
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the workspace image name in the
refCache
ofimage-builder-mk3-config
configmap when a custom workspace base image is provided in the installer config file. This means the correct base images are not cached, slightly slowing the image build.Related Issue(s)
Fixes #11684
How to test
Create a Gitpod self hosted instance by opening a Gitpod workspace from main, making sure you have access to
core-dev
cluster and running: (you can read more about this preview setup here)When the job is finished, you will get the URL and
KUBECONFIG
details under theget-results
phase tab of the werft job.Connect to KOTS UI by running
kubectl kots admin-console -n gitpod
, go to theconfig
tab, tick theEnable advanced options
and upload config patch with the following content:Redeploy as prompted. Once the setup is ready, check the
refCache
field in the configmapimage-builder-mk3-config
under gitpod namespace. You will see that it still showsworkspace-full
image.Now update to the changes corresponding to this branch by doing the following(I have updated the changes to the
dev-nan
channel):dev-nan
-> Download all licensesrefCache
fieldRelease Notes
Documentation
Werft options: