# auto generated by script/update-tasks.sh
# DO NOT EDIT: use the script instead
# source: https://raw.githubusercontent.com/openshift/tektoncd-catalog/release-v0.22/task/kn/0.1/kn.yaml
#
---
apiVersion: tekton.dev/v1beta1
kind: ClusterTask
metadata:
  name: kn-v0-22-0
  labels:
    app.kubernetes.io/version: "0.1"
  annotations:
    tekton.dev/pipelines.minVersion: "0.12.1"
    tekton.dev/tags: cli
spec:
  description: >-
    This Task performs operations on Knative resources
    (services, revisions, routes) using kn CLI

  params:
  - name: kn-image
    description: kn CLI container image to run this task
    default: registry.redhat.io/openshift-serverless-1/client-kn-rhel8@sha256:efb51d4a337566ca8532073cd598cc2cfbbec260f037ce4de19d4c67ee411358
  - name: ARGS
    type: array
    description: kn CLI arguments to run
    default:
    - "help"
  steps:
  - name: kn
    image: "$(params.kn-image)"
    command: ["/ko-app/kn"]
    args: ["$(params.ARGS)"]
