tektoncd/cli

Show Param Values Added by Pipelines Controller for PipelineRun/TaskRun Describe

开放

#1,072 创建于 2020年7月15日

 (15 条评论) (1 个反应) (1 位负责人)Go (269 个派生)auto 404
help wantedkind/feature

仓库指标

星标
 (461 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Feature request

The ability to see param names/values added by the pipelines controller as opposed to by the user when using tkn pipelinerun desc or tkn taskrun desc. The pipelines controller will add param values in the case of default values for params that are part of a Task or Pipeline.

If no value is declared for a param for a PipelineRun/TaskRun and the associated Task or Pipeline has default values for params, the default values are used and added to the PipelineRun/TaskRun status.

Currently, describe commands for PipelineRun/TaskRun only show param values that are part of the spec of a PipelineRun/TaskRun, but they should also show default values added by the controller.

See more in #1036 for discussion of this.

Use case

Seeing all param values that are part of a PipelineRun/TaskRun to aid with development/debugging PipelineRuns/TaskRuns.

UI Example

Name:        sleep1s-run-9sjsq
Namespace:   default
Task Ref:    sleep1s
Timeout:     1h0m0s
Labels:
 app.kubernetes.io/managed-by=tekton-pipelines
 tekton.dev/task=sleep1s

🌡️  Status

STARTED         DURATION     STATUS
2 minutes ago   13 seconds   Succeeded

📨 Input Resources

 No input resources

📡 Output Resources

 No output resources

⚓ Params
 NAME             VALUE
 ∙ defaultParam   defaultValue


🦶 Steps

 NAME      STATUS
 ∙ sleep   Completed
 ∙ echo2   Completed
 ∙ echo3   Completed
 ∙ echo4   Completed
 ∙ echo5   Completed

🚗 Sidecars

No sidecars

贡献者指南