Adds ReadOnlyRootFilesystem support for containers
This commit is contained in:
@@ -809,6 +809,12 @@ func deepCopy_v1_SecurityContext(in v1.SecurityContext, out *v1.SecurityContext,
|
||||
} else {
|
||||
out.RunAsNonRoot = nil
|
||||
}
|
||||
if in.ReadOnlyRootFilesystem != nil {
|
||||
out.ReadOnlyRootFilesystem = new(bool)
|
||||
*out.ReadOnlyRootFilesystem = *in.ReadOnlyRootFilesystem
|
||||
} else {
|
||||
out.ReadOnlyRootFilesystem = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user