Adding a new WindowsSecurityOptions struct#77147
Adding a new WindowsSecurityOptions struct#77147k8s-ci-robot merged 2 commits intokubernetes:masterfrom
WindowsSecurityOptions struct#77147Conversation
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>
|
/sig api |
|
/assign @liggitt |
|
/label api-review |
|
/test pull-kubernetes-bazel-test |
|
there are custom conversion functions for the PodSecurityContext/SecurityContext structs that aren't actually required, but since we have them adding a new field (like this PR does) requires updating them. I'm dropping the unnecessary custom conversion functions in #77346, which should resolve the unit test failures for this PR |
|
/retest |
|
/priority important-soon |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: liggitt, wk8 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 |
What type of PR is this?
/kind api-change
What this PR does / why we need it:
This patch is dding a new
WindowsSecurityOptionsstruct, as outlined in the KEP athttps://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
RunAsUserNameoptions; both of which have already been pre-implemented respectively at#75459
and #73609; and both of which
will need to be re-based to make use of the new struct.
Does this PR introduce a user-facing change?: