mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-17 08:20:33 +00:00
Automatic merge from submit-queue (batch tested with PRs 64009, 64780, 64354, 64727, 63650). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Kubelet: Add security context for Windows containers **What this PR does / why we need it**: This PR adds windows containers to Kubelet CRI and also implements security context setting for docker containers. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: RunAsUser from Kubernetes API only accept int64 today, which is not supported on Windows. It should be changed to intstr for working with both Windows and Linux containers in a separate PR. **Release note**: ```release-note Kubelet: Add security context for Windows containers ``` /cc @PatrickLang @taylorb-microsoft @michmike @JiangtianLi @yujuhong @dchen1107