Skip to content

Commit

Permalink
Enhance the output of "kubectl get taskruns"
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pli authored and tekton-robot committed Apr 8, 2019
1 parent 395bc32 commit 828bcc9
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions config/300-taskrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,18 @@ spec:
- tekton-pipelines
scope: Namespaced
additionalPrinterColumns:
- name: Type
type: string
description: The cron spec defining the interval a CronJob is run
JSONPath: .status.conditions[0].type
- name: Status
type: string
description: The number of jobs launched by the CronJob
JSONPath: .status.conditions[0].status
- name: StartTime
type: date
JSONPath: .status.startTime
- name: CompletionTime
type: date
JSONPath: .status.conditions[0].lastTransitionTime
- name: Succeeded
type: string
JSONPath: ".status.conditions[?(@.type==\"Succeeded\")].status"
- name: Reason
type: string
JSONPath: ".status.conditions[?(@.type==\"Succeeded\")].reason"
- name: StartTime
type: date
JSONPath: .status.startTime
- name: CompletionTime
type: date
JSONPath: .status.completionTime
# Opt into the status subresource so metadata.generation
# starts to increment
subresources:
Expand Down

0 comments on commit 828bcc9

Please sign in to comment.