Skip to content

Commit

Permalink
Modifies openshift-client-python task according to the new reorg prop…
Browse files Browse the repository at this point in the history
…osal

**NOTE: This only modifies the content of the yaml, changing
        the location of the file will be done in a different
        commit to make review easier

Changes include:
  - adds version label
  - adds a minimum pipeline versions supported by the task
  - adds tags for task
  - adds display name for task
  - modified description to add a summary

Issue: tektoncd#386

Signed-off-by: Shiv Verma <[email protected]>
  • Loading branch information
pratap0007 committed Jun 30, 2020
1 parent 3054c58 commit cb0ebbe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions openshift-client-python/openshift-client-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@ apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: openshift-client-python
labels:
app.kubernetes.io/version: "0.1"
annotations:
tekton.dev/pipelines.minVersion: "0.12.1"
tags: cli
dislayName: "openshift client python"
spec:
description: >-
This task can be used to interact with the openshift cluster via
oc commands in a python script.
OpenShift is a Kubernetes distribution from Red Hat which provides oc,
the OpenShift CLI that complements kubectl for simplifying deployment
and configuration applications on OpenShift.
workspaces:
- name: kubeconfig-mount
mountPath: /tekton/home/.kube
Expand Down

0 comments on commit cb0ebbe

Please sign in to comment.