From 1c7eca8bd607b1cb4aaf9821fbea61573cb68832 Mon Sep 17 00:00:00 2001 From: Knative Prow Robot Date: Mon, 11 Mar 2024 07:02:17 +0000 Subject: [PATCH] [release-1.13] Fix hard-coded version (#5903) * fix hard-coded version of serving-core.yaml's url to env artifact * change --8<-- to {% include %} for calling define_env --------- Co-authored-by: Kaiz --- docs/install/operator/knative-with-operators.md | 2 +- .../yaml-install/eventing/install-eventing-with-yaml.md | 2 +- .../install/yaml-install/serving/install-serving-with-yaml.md | 2 +- docs/snippets/security-prereqs-images.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/install/operator/knative-with-operators.md b/docs/install/operator/knative-with-operators.md index 9075d4a93b..f16242a7f1 100644 --- a/docs/install/operator/knative-with-operators.md +++ b/docs/install/operator/knative-with-operators.md @@ -10,7 +10,7 @@ The following table describes the supported versions of Serving and Eventing for | v1.13 | v1.13.0
v1.12.0, v1.12.1, v1.12.2 and v1.12.3
v1.11.0, v1.1.1, v1.11.2, v1.11.3, v1.11.6, v1.11.5 and v1.11.6
v1.10.0, v1.10.1 and v1.10.2 | v1.13.0
v1.12.0, v1.12.1, v1.12.2 and v1.12.3
v1.11.0, v1.11.1, v1.11.2, v1.11.3, v1.11.4, v1.11.5 and v1.11.6
v1.10.0, v1.10.1, v1.10.2, v1.10.3, v1.10.4, v1.10.5 and v1.10.6 | --8<-- "prerequisites.md" ---8<-- "security-prereqs-images.md" +{% include "security-prereqs-images.md" %} ## Install the Knative Operator diff --git a/docs/install/yaml-install/eventing/install-eventing-with-yaml.md b/docs/install/yaml-install/eventing/install-eventing-with-yaml.md index 0f0fc1717a..acdfdf9806 100644 --- a/docs/install/yaml-install/eventing/install-eventing-with-yaml.md +++ b/docs/install/yaml-install/eventing/install-eventing-with-yaml.md @@ -3,7 +3,7 @@ This topic describes how to install Knative Eventing by applying YAML files using the `kubectl` CLI. --8<-- "prerequisites.md" ---8<-- "security-prereqs-images.md" +{% include "security-prereqs-images.md" %} ## Install Knative Eventing diff --git a/docs/install/yaml-install/serving/install-serving-with-yaml.md b/docs/install/yaml-install/serving/install-serving-with-yaml.md index 2aac45d76a..1b072bf290 100644 --- a/docs/install/yaml-install/serving/install-serving-with-yaml.md +++ b/docs/install/yaml-install/serving/install-serving-with-yaml.md @@ -3,7 +3,7 @@ This topic describes how to install Knative Serving by applying YAML files using the `kubectl` CLI. --8<-- "prerequisites.md" ---8<-- "security-prereqs-images.md" +{% include "security-prereqs-images.md" %} ## Install the Knative Serving component diff --git a/docs/snippets/security-prereqs-images.md b/docs/snippets/security-prereqs-images.md index 93f47594f2..75aacaf778 100644 --- a/docs/snippets/security-prereqs-images.md +++ b/docs/snippets/security-prereqs-images.md @@ -6,8 +6,8 @@ Knative releases from 1.9 onwards are signed with [cosign](https://docs.sigstore 1. Extract the images from a manifeset and verify the signatures. -``` -curl -sSL https://github.com/knative/serving/releases/download/knative-v1.10.1/serving-core.yaml \ +```bash +curl -sSL {{ artifact(repo="serving",file="serving-core.yaml") }} \ | grep 'gcr.io/' | awk '{print $2}' | sort | uniq \ | xargs -n 1 \ cosign verify -o text \