feat: Add the manager field to the podTemplateOverride object#3020
Conversation
ef4a233 to
51f3ab8
Compare
a9df140 to
a1f169f
Compare
Pull Request Test Coverage Report for Build 22080067239Details
💛 - Coveralls |
|
cc @tenzen-y @andreyvelich @astefanutti @mimowo I also tested this manually in kind by deploying a |
|
The failing test seems to be a flake ( |
|
/retest |
I thought I couldn't do this here since the repo uses GH actions... 🤦🏻 |
|
/retest |
|
@kaisoz: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
/retest |
|
@kaisoz: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
|
@kaisoz: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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. |
@astefanutti prow doesn't trust me 😆 . I did run the clone line in machine and it works, I expect it to work now in CI.. |
|
/ok-to-test /restest |
|
/retest |
great @astefanutti ! Thanks! Then I think I'll wait for #3023 to be merged and then rebase 😊 |
4b7953b to
2e6b6dd
Compare
|
/retest |
|
@astefanutti all green now! PTAL whenever you have time. Thanks! 🙂 |
There was a problem hiding this comment.
@kaisoz that looks good to me overall, thanks!
I understand the webhook would automatically set the manager field to "mimic" SSA behavior, but just to be sure we don't introduce too much complexity nor "re-invent" the wheel, would having Kueue set the manager field directly in the PodTemplateOverride be working just as good?
|
@andreyvelich: GitHub didn't allow me to assign the following users: mimowo. Note that only kubeflow members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. DetailsIn 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. |
|
@kaisoz You might need to rebase this PR to fix E2Es. |
15ae571 to
da91bb1
Compare
done! |
|
/lgtm |
da91bb1 to
b04584e
Compare
andreyvelich
left a comment
There was a problem hiding this comment.
Thanks @kaisoz!
/lgtm
/assign @astefanutti @tenzen-y
b04584e to
5e20596
Compare
Signed-off-by: Tomas Tormo <tomas.tormo@gmail.com>
5e20596 to
21e3aa7
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andreyvelich The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…ow#3020) Signed-off-by: Tomas Tormo <tomas.tormo@gmail.com>
…ow#3020) Signed-off-by: Tomas Tormo <tomas.tormo@gmail.com>
…ow#3020) Signed-off-by: Tomas Tormo <tomas.tormo@gmail.com>
…ow#3020) Signed-off-by: Tomas Tormo <tomas.tormo@gmail.com>
What this PR does / why we need it:
This PR adds a
managerfield to thepodTemplateOverridesobject, indicating who created (owns) the object. This is useful for external controllers such as Kueue to identify which entries they added. Thismanagerfield is optional and is defaulted by a mutating webhook, which sets the request username forpodTemplateOverridesthat don’t have a manager.Which issue(s) this PR fixes (optional, in
Fixes #<issue number>, #<issue number>, ...format, will close the issue(s) when PR gets merged):Fixes #2856
Checklist: