Closed kimwnasptd closed 2 months ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6140.
This message was autogenerated
In the end the issue is because the version that gets requested net-istio, which will be the same as Knative Serving, does not exist and thus the script fails to download it. https://github.com/canonical/knative-operators/blob/484077af51ac5d08bf08e024f12d1c85828a91ff/tools/get-images.sh#L35
Note that it's also a bug that this failed, yet the script succeeded and why we should set set -e
to our bash scripts
https://github.com/canonical/bundle-kubeflow/issues/1030
While not directly related to this issue, in the future we'll need to update the tests to not download upstream yamls and find images but instead parse the images used by the charms https://github.com/canonical/knative-operators/issues/220
Bug Description
The script for fetching the knative images is failing because of a missing
net-istio.yaml
, according to the printed logs.We need to ensure the script is able to gather all the images from Knative, as it's needed for scanning https://github.com/canonical/bundle-kubeflow/pull/1029 and airgapped efforts.
For more context on how the image gathering script is working take a look in https://github.com/canonical/knative-operators/issues/142#issue-1875147037
To Reproduce
./tools/get-images.sh
Environment
main
andtrack/1.12
branchesRelevant Log Output
Additional Context
The script should also have a
set -xe
to ensure it stops on the first failure https://github.com/canonical/bundle-kubeflow/issues/1030