-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts: Fix net-istio version for 1.9 scanning (#221)
* scripts: Fix net-istio version for 1.9 scanning Signed-off-by: Kimonas Sotirchos <[email protected]> * Add CONTRIBUTING.md * Hardcode the net istio version * Update CONTRIBUTING.md Co-authored-by: Daniela Plascencia <[email protected]> * review: Add extra message for where to look for net-istio * fix typo --------- Signed-off-by: Kimonas Sotirchos <[email protected]> Co-authored-by: Daniela Plascencia <[email protected]>
- Loading branch information
Showing
2 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Update image gathering scripts | ||
|
||
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 https://github.com/canonical/knative-operators/issues/142 | ||
The script has a limitation on how it's deducing images from upstream manifests, which is tracked in | ||
https://github.com/canonical/knative-operators/issues/220 | ||
|
||
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:** | ||
1. Confirm the Knative Serving version | ||
2. 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](https://github.com/kubeflow/manifests/blob/v1.9-branch/common/knative/README.md?plain=1#L8) (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`](https://github.com/knative-extensions/net-istio/tags) and pick the closest one to your Knative Serving release | ||
3. Update the `tools/get-images.sh` script to use the selected version of `net-istio` | ||
* If the `net-istio` tag is not 1-1 with the Serving version then hardcode the version of `net-istio` in the script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters