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
c79b8afe
Commit
c79b8afe
authored
Nov 14, 2016
by
Random-Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify user fields in CRI
parent
9be1191a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
11 deletions
+18
-11
api.pb.go
pkg/kubelet/api/v1alpha1/runtime/api.pb.go
+0
-0
api.proto
pkg/kubelet/api/v1alpha1/runtime/api.proto
+18
-11
No files found.
pkg/kubelet/api/v1alpha1/runtime/api.pb.go
View file @
c79b8afe
This diff is collapsed.
Click to expand it.
pkg/kubelet/api/v1alpha1/runtime/api.proto
View file @
c79b8afe
...
...
@@ -160,9 +160,8 @@ message LinuxSandboxSecurityContext {
optional
NamespaceOption
namespace_options
=
1
;
// Optional SELinux context to be applied.
optional
SELinuxOption
selinux_options
=
2
;
// User to run the entrypoint of the sandbox process. Can be either UID or
// user name.
optional
string
run_as_user
=
3
;
// UID to run sandbox processes as, when applicable.
optional
int64
run_as_user
=
3
;
// If set, the root filesystem of the sandbox is read-only.
optional
bool
readonly_rootfs
=
4
;
// List of groups applied to the first process run in the sandbox, in
...
...
@@ -441,15 +440,18 @@ message LinuxContainerSecurityContext {
optional
NamespaceOption
namespace_options
=
3
;
// SELinux context to be optionally applied.
optional
SELinuxOption
selinux_options
=
4
;
// The user to run the the container process as. Can be either UID or user
// name.
// Defaults to user specified in image metadata if unspecified.
optional
string
run_as_user
=
5
;
// UID to run the container process as. Only one of run_as_user and
// run_as_username can be specified at a time.
optional
int64
run_as_user
=
5
;
// User name to run the container process as. If specified, the user MUST
// exist in the container image (i.e. in the /etc/passwd inside the image),
// and be resolved there by the runtime; otherwise, the runtime MUST error.
optional
string
run_as_username
=
6
;
// If set, the root filesystem of the container is read-only.
optional
bool
readonly_rootfs
=
6
;
optional
bool
readonly_rootfs
=
7
;
// List of groups applied to the first process run in the container, in
// addition to the container's primary GID.
repeated
int64
supplemental_groups
=
7
;
repeated
int64
supplemental_groups
=
8
;
}
// LinuxContainerConfig contains platform-specific configuration for
...
...
@@ -761,8 +763,13 @@ message Image {
repeated
string
repo_digests
=
3
;
// Size of the image in bytes.
optional
uint64
size
=
4
;
// User that will run the command(s).
optional
string
user
=
5
;
// UID that will run the command(s). This is used as a default if no user is
// specified when creating the container. UID and the following user name
// are mutually exclusive.
optional
int64
uid
=
5
;
// User name that will run the command(s). This is used if UID is not set
// and no user is specified when creating container.
optional
string
username
=
6
;
}
message
ListImagesResponse
{
...
...
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