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
a7c9638e
Commit
a7c9638e
authored
May 12, 2017
by
Pengfei Ni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CRI: move sysctls annotations to typed fields
parent
ad6a9bb7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
api.pb.go
pkg/kubelet/apis/cri/v1alpha1/api.pb.go
+0
-0
api.proto
pkg/kubelet/apis/cri/v1alpha1/api.proto
+2
-10
No files found.
pkg/kubelet/apis/cri/v1alpha1/api.pb.go
View file @
a7c9638e
This diff is collapsed.
Click to expand it.
pkg/kubelet/apis/cri/v1alpha1/api.proto
View file @
a7c9638e
...
@@ -205,6 +205,8 @@ message LinuxPodSandboxConfig {
...
@@ -205,6 +205,8 @@ message LinuxPodSandboxConfig {
string
cgroup_parent
=
1
;
string
cgroup_parent
=
1
;
// LinuxSandboxSecurityContext holds sandbox security attributes.
// LinuxSandboxSecurityContext holds sandbox security attributes.
LinuxSandboxSecurityContext
security_context
=
2
;
LinuxSandboxSecurityContext
security_context
=
2
;
// Sysctls holds linux sysctls config for the sandbox.
map
<
string
,
string
>
sysctls
=
3
;
}
}
// PodSandboxMetadata holds all necessary information for building the sandbox name.
// PodSandboxMetadata holds all necessary information for building the sandbox name.
...
@@ -290,16 +292,6 @@ message PodSandboxConfig {
...
@@ -290,16 +292,6 @@ message PodSandboxConfig {
// local seccomp profile root. Note that profile root is set in
// local seccomp profile root. Note that profile root is set in
// kubelet, and it is not passed in CRI yet, see https://issues.k8s.io/36997.
// kubelet, and it is not passed in CRI yet, see https://issues.k8s.io/36997.
//
//
// 2. Sysctls
//
// key: security.alpha.kubernetes.io/sysctls
// description: list of safe sysctls which are set for the sandbox.
// value: comma separated list of sysctl_name=value key-value pairs.
//
// key: security.alpha.kubernetes.io/unsafe-sysctls
// description: list of unsafe sysctls which are set for the sandbox.
// value: comma separated list of sysctl_name=value key-value pairs.
//
map
<
string
,
string
>
annotations
=
7
;
map
<
string
,
string
>
annotations
=
7
;
// Optional configurations specific to Linux hosts.
// Optional configurations specific to Linux hosts.
LinuxPodSandboxConfig
linux
=
8
;
LinuxPodSandboxConfig
linux
=
8
;
...
...
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