-
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
PipelineRun should directly support per TaskRun runtime settings #2362
Comments
/kind feature |
I would be happy to work on this! |
I start on a PR in the mean time, hope that is fine :) |
Now that #2389 is merged, can we close this issue? Or is there more work to do here? |
I think so yes ! |
@vdemeester: 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. |
PipelineRun's currently let us set a
serviceAccount
andpodTemplate
that is copied down to all child TaskRuns. We addedserviceAccountNames
as a per task mapping, but I can see now we are likely to need the same thing forpodTemplates
to handle variations on things likeimagePullSecret
,runtimeClass
,nodeSelector
etc.What I'd suggest is that we have a
tasks
property in PipelineRun that to start contains 'serviceAccountNameand
podTemplate`.e.g.
All TaskRuns use the top-level serviceAccountName and podTemplate unless over-ridden in the per task mappings. For
serviceAccountNames
we could either eventually deprecate it or support it forever.The text was updated successfully, but these errors were encountered: