# auto generated by script/update-tasks.sh
# DO NOT EDIT: use the script instead
# source: https://raw.githubusercontent.com/openshift/tektoncd-catalog/release-v0.24/task/kn/0.1/kn.yaml
#
---
apiVersion: tekton.dev/v1beta1
kind: ClusterTask
metadata:
  name: kn-1-5-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:286f6b4c008307df1bc369891ef9e806050d3a5f5e77ee0c9313ffdb350abbcb
  - 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)"]
