# auto generated by script/update-tasks.sh
# DO NOT EDIT: use the script instead
# source: https://raw.githubusercontent.com/openshift/tektoncd-catalog/release-v0.11/openshift-client/openshift-client-task.yaml
#
---
---
apiVersion: tekton.dev/v1beta1
kind: ClusterTask
metadata:
  name: openshift-client
spec:
  params:
  - name: SCRIPT
    description: The OpenShift CLI arguments to run
    type: string
    default: "oc $@"
  - name: ARGS
    description: The OpenShift CLI arguments to run
    type: array
    default:
    - "help"
  resources:
    inputs:
      - name: source
        type: git
        optional: true
  steps:
    - name: oc
      image: image-registry.openshift-image-registry.svc:5000/openshift/cli:latest
      script: "$(params.SCRIPT)"
      args:
        - "$(params.ARGS)"
