Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data SecurityContext = SecurityContext {
- _capabilities :: !(Maybe Capabilities)
- _privileged :: !(Maybe Bool)
- _seLinuxOptions :: !(Maybe SELinuxOptions)
- _runAsUser :: !(Maybe Integer)
- _runAsNonRoot :: !(Maybe Bool)
- capabilities :: Lens' SecurityContext (Maybe Capabilities)
- privileged :: Lens' SecurityContext (Maybe Bool)
- seLinuxOptions :: Lens' SecurityContext (Maybe SELinuxOptions)
- runAsUser :: Lens' SecurityContext (Maybe Integer)
- runAsNonRoot :: Lens' SecurityContext (Maybe Bool)
- mkSecurityContext :: SecurityContext
Documentation
data SecurityContext #
SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.
SecurityContext | |
|
privileged :: Lens' SecurityContext (Maybe Bool) #
mkSecurityContext :: SecurityContext #
Use this method to build a SecurityContext