AppArmorProfile

data class AppArmorProfile(val localhostProfile: String? = null, val type: String)

AppArmorProfile defines a pod or container's AppArmor settings.

Constructors

Link copied to clipboard
constructor(localhostProfile: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is "Localhost".

Link copied to clipboard

type indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime's default profile. Unconfined - no AppArmor enforcement.