From f616a840a1a42c9aedb6692d6c44c3aaf5c45c81 Mon Sep 17 00:00:00 2001 From: serverless-qe Date: Thu, 9 Nov 2023 09:40:18 -0500 Subject: [PATCH] chore: patch func-deploy task to use midstream specific 1.31.0 kn client image --- .../task/func-deploy/0.1/func-deploy.yaml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml b/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml index e53ddadb06..94729a829e 100644 --- a/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml +++ b/pkg/pipelines/resources/tekton/task/func-deploy/0.1/func-deploy.yaml @@ -24,6 +24,17 @@ spec: description: The workspace containing the function project steps: - name: func-deploy - image: "ghcr.io/knative/func/func:latest" - script: | - func deploy --verbose --build=false --push=false --path=$(params.path) --remote=false --image="$(params.image)" + image: "registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:ea825cdec133f50b3e6cf174a5dde154d94ec5999439ac210e9082345258711f" + env: + - name: FUNC_IMAGE + value: "$(params.image)" + command: + - /ko-app/kn + args: + - func + - deploy + - --verbose + - --build=false + - --push=false + - --path=$(params.path) + - --remote=false