Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // It is recommended to choose UID and GID that don't collide with existing system users and groups. // Non-system UID and GID range is normally from 1000 to 60000 (Debian derived systems define this // in /etc/login.defs). On a normal Linux host, it is unlikely to have more than 10k non-system users. // 10001 is chosen based on this assumption. RunAsUserID int64 = 10001 RunAsGroupID int64 = 10001 )
Functions ¶
func NewBaseContext ¶
func NewBaseContext(uid, gid int64) *corev1.SecurityContext
NewBaseContext returns the non root non privileged security context that most of the containers running should be using.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.