Skip to content
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

pass down the podTemplate and serviceAccount from run to loopSpec #909

Merged
merged 1 commit into from
Apr 7, 2022

Conversation

wzhanw
Copy link
Contributor

@wzhanw wzhanw commented Apr 7, 2022

Which issue is resolved by this Pull Request:
Resolves #
For our use case, we don't set podTemplate and serviceAccount in the loopSpec, we only set them for the parent pipelinerun. The run created by Tekton controller will inherit the above two fields from the pipelinerun.
But the loop controller doesn't pass the above two fields to pipelineLoopSpec.

Description of your changes:
get podTemplate and serviceAccount from run and set them to pipelineLoopSpec if they are not configured.

Environment tested:
All unit tests passed.

@wzhanw
Copy link
Contributor Author

wzhanw commented Apr 7, 2022

@Tomcli Could you please review this PR? I think our use case is valid.

@Tomcli
Copy link
Member

Tomcli commented Apr 7, 2022

Thanks @wzhanw for the PR. Let me run our internal CI pipelines to make sure it didn't break our current behaviors. The feature looks good to me

@Tomcli
Copy link
Member

Tomcli commented Apr 7, 2022

/lgtm
/approve

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Tomcli, wzhanw

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit f083d6f into kubeflow:master Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants