Skip to content

Commit d4a61f6

Browse files
stlazliggitt
authored andcommitted
Bootstrap the "privileged" SCC with all sysctls allowed
1 parent 2a7e444 commit d4a61f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cmd/server/bootstrappolicy/securitycontextconstraints.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ func GetBootstrapSecurityContextConstraints(sccNameToAdditionalGroups map[string
9494
SupplementalGroups: securityapi.SupplementalGroupsStrategyOptions{
9595
Type: securityapi.SupplementalGroupsStrategyRunAsAny,
9696
},
97-
SeccompProfiles: []string{"*"},
97+
SeccompProfiles: []string{"*"},
98+
AllowedUnsafeSysctls: []string{"*"},
9899
},
99100
// SecurityContextConstraintNonRoot does not allow host access, allocates SELinux labels
100101
// and allows the user to request a specific UID or provide the default in the dockerfile.

0 commit comments

Comments
 (0)