From 16a33eea1fe72165dc5c30baafea48aaf9983944 Mon Sep 17 00:00:00 2001 From: serverless-qe Date: Fri, 2 Feb 2024 05:13:19 -0500 Subject: [PATCH] chore: patch func-deploy task to use midstream specific 1.31.1 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..d9a14a027e 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:3181ad775ead55f317f96466c2719b2b73c5b35d31933733da21273955d160c4" + env: + - name: FUNC_IMAGE + value: "$(params.image)" + command: + - /ko-app/kn + args: + - func + - deploy + - --verbose + - --build=false + - --push=false + - --path=$(params.path) + - --remote=false