-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
added serviceAccountName to field selectors #66115
added serviceAccountName to field selectors #66115
Conversation
/sig architecture |
/ok-to-test |
/test pull-kubernetes-e2e-gce |
cc @liggitt |
This looks good, but I am not an expert in this area. Perhaps @sttts knows more. |
/assign @sttts |
/cc @kubernetes/api-reviewers |
This change seems reasonable to me. |
Is there anything else I can do to move this along? |
@jasonrichardsmith This needs API review. @liggitt any opinion? |
I don't object to the new selector, though the reasoning behind adding particular field selectors is pretty ad-hoc. It's a little weird that you can select pods by serviceAccountName, but not the workload objects that spawned those pods. |
It's so you can audit roles to what is actually bound to those roles using
the go client sdk. I can say these pods have access to these roles. I
could add it deployments but I didn't feel they were bound to a service
account the pod is.
…On Thu, Aug 9, 2018, 5:40 PM Jordan Liggitt ***@***.***> wrote:
I don't object to the new selector, though the reasoning behind adding
particular field selectors is pretty ad-hoc. It's a little weird that you
can select pods by serviceAccountName, but not the workload objects that
spawned those pods.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#66115 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABMBcsh216seLUrRebm9oCp_bvcojjPUks5uPFgKgaJpZM4VMfZn>
.
|
I'm ok with adding this. Any dissenting opinions from @kubernetes/api-reviewers or @kubernetes/sig-scalability-api-reviews? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jasonrichardsmith, liggitt 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 |
/hold cancel |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #66114
Special notes for your reviewer: