Closed rutvik23 closed 5 years ago
@rutvik23 There was an update to the openshift-client
task that can be seen here. Unfortunately, how to properly version tasks hasn't been fully worked out yet. The task update requires the OpenShift Pipelines 0.6 operator, which has not been released yet.
To address this issue in the meantime, you can create the task how it was previously:
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: openshift-client
spec:
inputs:
params:
- name: ARGS
description: The OpenShift CLI arguments to run
default: help
steps:
- name: oc
image: quay.io/openshiftlabs/openshift-cli-tekton-workshop:2.0
command: ["/usr/local/bin/oc"]
args:
- "${inputs.params.ARGS}"
I also pulled a previous version of the image used for the task and pushed it to this Quay repo: image: quay.io/openshiftlabs/openshift-cli-tekton-workshop:2.0
. I am not sure if there is a tag under the OpenShift Pipelines Quay that works with the task. But you will need to switch out the image as well for the task.
I opened an issue around versioning the task here.
This has been fixed with https://github.com/tektoncd/catalog/pull/81
/close
@piyush-garg: You can't close an active issue/PR unless you authored it or you are a collaborator.
/close
@piyush-garg: Closing this issue.
While creating an openshift-client task, it failed with the message:
However, I was able to create the s2i-java-8-task in the same way.
Version: OpenShift v4.1.14