-
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
Feature flags to trim tekton results EOF newlines #3146
Comments
Thanks for the issue report. This has also recently come up in the context of stdout / stderr capture (comment thread here). I agree I think this would be useful. Here's the way it might work:
I hesitate to add yet more flags to the entrypoint binary so I think right now my preference would be that the Tekton Controller is responsible for performing the trimming after the result is sent back to it but that's an implementation detail. I'll write a TEP for it. |
I'm interested in working on it and will work with @sbwsg together :) |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
In summary the feedback on this feature's TEP boiled down to the fact that working around this problem is quite easy for users. Removing trailing spaces can be done in the Task directly or by adding a Task to their pipeline to perform string trimming. Therefore it doesn't seem like this is a feature the Pipelines project should pursue. That doesn't preclude this being something the Pipelines project takes on in future when a clear need presents itself that users are unable to work around, but right now we don't see evidence of that kind of problem. /close |
@sbwsg: 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. |
Feature request
Related #2936
Some of our users have pre-defined container that doesn't trim the outputs. It is quite troublesome to ask everyone to fix and rebuild their container especially when we are building a pipeline that's depended on each other's work. Is it possible to add a feature flag for Tekton to handle it? Thank you in advance.
Here is an example to reproduce this:
Tracking issue on our repo: kubeflow/kfp-tekton#273
/cc @pritidesai @animeshsingh
Use case
The text was updated successfully, but these errors were encountered: