Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
eeec15a7
Commit
eeec15a7
authored
May 18, 2018
by
Pengfei Ni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add security context for Windows containers
parent
50178d3e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
api.pb.go
pkg/kubelet/apis/cri/runtime/v1alpha2/api.pb.go
+0
-0
api.proto
pkg/kubelet/apis/cri/runtime/v1alpha2/api.proto
+10
-0
No files found.
pkg/kubelet/apis/cri/runtime/v1alpha2/api.pb.go
View file @
eeec15a7
This diff is collapsed.
Click to expand it.
pkg/kubelet/apis/cri/runtime/v1alpha2/api.proto
View file @
eeec15a7
...
...
@@ -597,11 +597,21 @@ message LinuxContainerConfig {
LinuxContainerSecurityContext
security_context
=
2
;
}
// WindowsContainerSecurityContext holds windows security configuration that will be applied to a container.
message
WindowsContainerSecurityContext
{
// User name to run the container process as. If specified, the user MUST
// exist in the container image and be resolved there by the runtime;
// otherwise, the runtime MUST return error.
string
run_as_username
=
1
;
}
// WindowsContainerConfig contains platform-specific configuration for
// Windows-based containers.
message
WindowsContainerConfig
{
// Resources specification for the container.
WindowsContainerResources
resources
=
1
;
// WindowsContainerSecurityContext configuration for the container.
WindowsContainerSecurityContext
security_context
=
2
;
}
// WindowsContainerResources specifies Windows specific configuration for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment