mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Adds ReadOnlyRootFilesystem support for containers
This commit is contained in:
@@ -2597,6 +2597,13 @@ func DeepCopy_api_SecurityContext(in SecurityContext, out *SecurityContext, c *c
|
||||
} else {
|
||||
out.RunAsNonRoot = nil
|
||||
}
|
||||
if in.ReadOnlyRootFilesystem != nil {
|
||||
in, out := in.ReadOnlyRootFilesystem, &out.ReadOnlyRootFilesystem
|
||||
*out = new(bool)
|
||||
**out = *in
|
||||
} else {
|
||||
out.ReadOnlyRootFilesystem = nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user