To update the images of the knative operators, you should:
- Update the operator and webhook image in the metadata.yaml of
knative-operator
charm with the new version. - Update the otel collector image in the config.yaml of
knative-operator
charm with the new version. - Update the upstream image gathering script
tools/get-upstream-images.sh
for the new version, explained in detail below. - Run the updated upstream image gathering script
tools/get-upstream-images.sh
to get the new images for serving and eventing. - Update the
default-custom-images.json
files inknative-serving
andknative-eventing
charm directories undersrc/
with the new images.
For every release, we'll need to update the image gather scripts for fetching the images used by Knative Charms.
To get an overview of how the script works please read #142
The script also needs to gather images for net-istio
, that has it's own release cadance (although almost 1-1 with Knative Serving, but sometimes tags for Serving might not exist for net-istio
).
Process:
- Confirm the Knative Serving version
- Deduce the
net-istio
that should be used
- If you update based on a Kubeflow release, then you can deduce this from upstream Kubeflow manifests (make sure to checkout to correct release branch). Note that in the Kubeflow's README this will be referred as
Knative ingress controller for Istio
- If you update to an arbitrary Knative Serving version, then check the branches of
net-istio
and pick the closest one to your Knative Serving release
- Update the
tools/get-upstream-images.sh
script to use the selected version ofnet-istio
- If the
net-istio
tag is not 1-1 with the Serving version then hardcode the version ofnet-istio
in the script