File tree 2 files changed +8
-2
lines changed
pkg/security/apis/security
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ type SecurityContextConstraints struct {
21
21
22
22
// Priority influences the sort order of SCCs when evaluating which SCCs to try first for
23
23
// a given pod request based on access in the Users and Groups fields. The higher the int, the
24
- // higher priority. If scores for multiple SCCs are equal they will be sorted by name.
24
+ // higher priority. An unset value is considered a 0 priority. If scores
25
+ // for multiple SCCs are equal they will be sorted from most restrictive to
26
+ // least restrictive. If both priorities and restrictions are equal the
27
+ // SCCs will be sorted by name.
25
28
Priority * int32
26
29
27
30
// AllowPrivilegedContainer determines if a container can request to be run as privileged.
Original file line number Diff line number Diff line change @@ -23,7 +23,10 @@ type SecurityContextConstraints struct {
23
23
24
24
// Priority influences the sort order of SCCs when evaluating which SCCs to try first for
25
25
// a given pod request based on access in the Users and Groups fields. The higher the int, the
26
- // higher priority. If scores for multiple SCCs are equal they will be sorted by name.
26
+ // higher priority. An unset value is considered a 0 priority. If scores
27
+ // for multiple SCCs are equal they will be sorted from most restrictive to
28
+ // least restrictive. If both priorities and restrictions are equal the
29
+ // SCCs will be sorted by name.
27
30
Priority * int32 `json:"priority" protobuf:"varint,2,opt,name=priority"`
28
31
29
32
// AllowPrivilegedContainer determines if a container can request to be run as privileged.
You can’t perform that action at this time.
0 commit comments