-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Capture User Information with PipelineRun/TaskRun Creation #2045
Comments
/kind feature |
@danielhelfand when you say "user" what would that mean in this case? e.g. would it be the user signed in on the machine that is running the CLI commands? |
@bobcatfish We had a pretty good explanation in the CLI issue in this comment. The idea here would be about whoever is authenticated to the cluster and issuing a start of a TaskRun/PipelineRun. In the case of the CLI, it would be whoever is running it locally. I think, at the very least, the goal is a way for this information to be included if someone wanted to monitor who started certain runs. Whether or not Tekton should actually handle all this for whoever is running Tekton is a fair question to ask, but perhaps there should be a way to capture this data coming from various sources. |
This is also linked to #994 |
@danielhelfand are #2489 and #2444 closing this issue ? |
I think what's missing is how to include user information associated with a TaskRun or PipelineRun. Not sure what the best approach for that would be as far as if an additional property should be specified or maybe labels would be a better approach, and it would fall on client tools to label runs with appropriate user info? |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-lifecycle rotten |
@vdemeester: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This issue was originally opened in the CLI repo for being able to see information about which user started a TaskRun/PipelineRun as part of running a
tkn pipelinerun describe
ortkn taskrun describe
.I am wondering if it makes sense to have a way to capture this information as part of TaskRuns/PipelineRuns by adding this information to the PipelineRunSpec/TaskRunSpec.
As far as how this user information would be captured, the CLI/Dashboard could probably do this fairly easily by capturing the user information and adding it to the PipelineRun/TaskRun, but there would be use cases where it would be difficult to enforce this (e.g., creating a PipelineRun/TaskRun using
kubectl
or events with triggering).The text was updated successfully, but these errors were encountered: