Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the output of "kubectl get taskruns" #718

Merged
merged 1 commit into from
Apr 8, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions config/300-taskrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,18 @@ spec:
- tekton-pipelines
scope: Namespaced
additionalPrinterColumns:
vdemeester marked this conversation as resolved.
Show resolved Hide resolved
- name: Type
vdemeester marked this conversation as resolved.
Show resolved Hide resolved
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