From ef092f38a2723290b097ad2dfd855532786e20e8 Mon Sep 17 00:00:00 2001 From: xu zhao Date: Fri, 29 Mar 2019 15:05:13 +0800 Subject: [PATCH] Add additionalPrinterColumns to pipelinerun CRD --- config/300-pipelinerun.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/config/300-pipelinerun.yaml b/config/300-pipelinerun.yaml index b919a49cb1d..c3671038bf5 100644 --- a/config/300-pipelinerun.yaml +++ b/config/300-pipelinerun.yaml @@ -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: