Conversation
|
Hi @jsturtevant. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jsturtevant If they are not already assigned, you can assign the PR to them by writing 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 |
|
There is more discussion happening for this feature at kubernetes/enhancements#799. The consensus from the sig-windows meeting this morning was to push this feature out to 1.15 and go through the KEP process. Putting this issue on hold until that is submitted and approved. /hold The commits here are a working prototype and I was able to verify using these yaml files. A sample yaml file as it is currently prototyped would have a security context that looks like: You can validate by exec into the container and running: |
|
/sig windows |
|
@jsturtevant: PR needs rebase. DetailsInstructions 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. |
|
@PatrickLang are this and #75459 being combined? wanted to make sure I was looking at the right PRs and that they were ready for review |
|
we're combining these at least into 1 KEP to cover the full WindowsSecurityContext API addition. I'm not 100% yet whether it will be 2 PRs or 1. |
|
Combined KEP for GMSA + RunAsUsername fields: kubernetes/enhancements#972 |
As outlined in the KEP at https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20190418-windows-security-context.md and improvements on it at kubernetes/enhancements#975 For now this struct is left empty, as discussed in the KEP (see above) and as previously discussed with Jordan Liggitt. It will allow adding GMSA and options as well as `RunAsUserName` options; both of which have already been pre-implemented respectively at kubernetes#75459 and kubernetes#73609; and both of which will need to be re-based to make use of the new struct. Signed-off-by: Jean Rouge <rougej+github@gmail.com>
As outlined in the KEP at https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20190418-windows-security-context.md and improvements on it at kubernetes/enhancements#975 For now this struct is left empty, as discussed in the KEP (see above) and as previously discussed with Jordan Liggitt. It will allow adding GMSA and options as well as `RunAsUserName` options; both of which have already been pre-implemented respectively at kubernetes/kubernetes#75459 and kubernetes/kubernetes#73609; and both of which will need to be re-based to make use of the new struct. Signed-off-by: Jean Rouge <rougej+github@gmail.com> Kubernetes-commit: d7aa31858e1734861131d2e8d67f94c766f9b577
|
wanted to check in on this... do we want #75459 to land before starting review on this, or is this ready to do in parallel? |
|
@liggitt @PatrickLang @jsturtevant I think we can review this in parallel and rebase with #75459 if needed. It will be great if @jsturtevant can rebase this on #77147 first since that has been merged. |
agreed. can you do that first? |
|
/ok-to-test |
|
@jsturtevant: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. I understand the commands that are listed here. |
|
A couple of things that need to be added from a API review perspective:
|
|
Update on this PR: it will be postponed to v1.16 based on an update from Patrick. |
|
This was discussed in an API review with @liggitt , and we have the recommended final name in https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20190418-windows-security-context.md Here's an example cc @BCLAU |
What type of PR is this?
/kind api-change
What this PR does / why we need it:
This adds windows configuration and wires up username in the podspec to the runtime interface.
#64009 added run_as_username to the container runtime interface, but did not hook it up in the Kubernetes v1.Container.SecurityContext.runAsUser field.
Which issue(s) this PR fixes:
Fixes #
#73387
Special notes for your reviewer:
Does this PR introduce a user-facing change?: