Skip to content

Commit

Permalink
Add additionalPrinterColumns to pipelinerun CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
xu zhao authored and tekton-robot committed Mar 29, 2019
1 parent 364a5a3 commit 2743b6e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config/300-pipelinerun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ spec:
- knative
- 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
# Opt into the status subresource so metadata.generation
# starts to increment
subresources:
Expand Down

0 comments on commit 2743b6e

Please sign in to comment.