Open pritidesai opened 1 year ago
/kind question
I don't think they should be added. Usually, those annotations are added "after" the execution, and thus, the taskrun itself is not reconciled, and we do not need to update the labels/annotation on them.
In general, there is no rules for having all annotations attached to the TaskRun
to be available on the Pod
itself.
right, they are added after the pod execution is complete.
What is the best way to identify a taskRun was signed by chains in dashboard?
Dashboard lists the taskRuns and each taskRun tab has Parameters, Status, and Pod.
The annotations on a taskRun are not listed on the taskRun.Status section in the dashboard. The Pod section all the details of a pod but the chains annotations are missing since it was added to the taskRun after it was complete.
@pritidesai I would assume this should be a feature request for the dashboard then 😛 (to display taskrun annotations — same for pipelinerun at least)
Had some discussion with @pritidesai and this would be a feature request for the dashboard as @vdemeester mentioned.
We need to add an indication (tekton chains logo) when a task is signed by tekton chains and produces two additional results: image_url
and image_digest
.
Do we have to open the issue (or feature request) on the other repository?
Do we have to open the issue (or feature request) on the other repository?
Yes, tektoncd/dashboard
👼🏼
When a
taskRun
is created as part of apipelineRun
,chains
adds some annotations to thetaskRun
.https://github.com/tektoncd/chains/blob/70c8c7de563ba3d6c1e65a1e4e21c83335fa432a/pkg/chains/annotations.go#L68
Should these annotations be added to the pod as well?
The annotations are missing from the
pod
with latest Tekton Pipelines and chains release.